mirror of
https://github.com/ElementsProject/lightning.git
synced 2026-08-16 13:00:32 +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> |
||
|---|---|---|
| .. | ||
| test | ||
| connect_gossip_wire.csv | ||
| connect_wire.csv | ||
| connectd.c | ||
| connectd.h | ||
| handshake.c | ||
| handshake.h | ||
| Makefile | ||
| netaddress.c | ||
| netaddress.h | ||
| peer_exchange_initmsg.c | ||
| peer_exchange_initmsg.h | ||
| tor.c | ||
| tor.h | ||
| tor_autoservice.c | ||
| tor_autoservice.h | ||