rgb-cln/connectd
Rusty Russell 5591c0b5d8 gossipd: don't send gossip stream, let per-peer daemons read it themselves.
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>
2019-06-04 01:29:39 +00:00
..
test libwally: update to 0.6.8. 2019-04-13 18:55:15 +02:00
Makefile common/per_per_state: generalize lightningd/peer_comm Part 1 2019-06-04 01:29:39 +00:00
connect_gossip_wire.csv gossipd: don't send gossip stream, let per-peer daemons read it themselves. 2019-06-04 01:29:39 +00:00
connect_wire.csv gossipd: don't send gossip stream, let per-peer daemons read it themselves. 2019-06-04 01:29:39 +00:00
connectd.c gossipd: don't send gossip stream, let per-peer daemons read it themselves. 2019-06-04 01:29:39 +00:00
connectd.h connectd: generate message for lightningd inside peer_connected(). 2019-06-04 01:29:39 +00:00
handshake.c libwally: update to 0.6.8. 2019-04-13 18:55:15 +02:00
handshake.h channeld: use pointer for shared secret. 2019-01-08 19:20:28 +01:00
netaddress.c wireaddr: update bolt version, remove 'padding' from addresses. 2018-10-28 23:51:05 +00:00
netaddress.h gossipd: move files into connectd. 2018-07-25 02:13:52 +00:00
peer_exchange_initmsg.c connectd: generate message for lightningd inside peer_connected(). 2019-06-04 01:29:39 +00:00
peer_exchange_initmsg.h Use node_id everywhere for nodes. 2019-04-09 12:37:16 -07:00
tor.c connectd: handle IPv6 correctly. 2019-06-03 00:07:11 +00:00
tor.h connectd: rename 'struct reaching' to 'struct connecting'. 2018-09-28 04:14:28 +00:00
tor_autoservice.c ccan: update. 2018-10-19 00:53:00 +00:00
tor_autoservice.h gossipd: move files into connectd. 2018-07-25 02:13:52 +00:00