mirror of
https://github.com/ElementsProject/lightning.git
synced 2026-08-20 13:27:36 +02:00
Keeping the uintmap ordering all the broadcastable messages is expensive: 130MB for the million-channels project. But now we delete obsolete entries from the store, we can have the per-peer daemons simply read that sequentially and stream the gossip itself. This is the most primitive version, where all gossip is streamed; successive patches will bring back proper handling of timestamp filtering and initial_routing_sync. We add a gossip_state field to track what's happening with our gossip streaming: it's initialized in gossipd, and currently always set, but once we handle timestamps the per-peer daemon may do it when the first filter is sent. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> |
||
|---|---|---|
| .. | ||
| data | ||
| plugins | ||
| benchmark.py | ||
| btcproxy.py | ||
| conftest.py | ||
| fixtures.py | ||
| requirements.txt | ||
| test_closing.py | ||
| test_connection.py | ||
| test_db.py | ||
| test_gossip.py | ||
| test_invoices.py | ||
| test_misc.py | ||
| test_pay.py | ||
| test_plugin.py | ||
| utils.py | ||