rgb-cln/channeld
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 remove libbase58, use base58 from libwally (#2594) 2019-04-30 23:07:31 +02:00
Makefile common/per_per_state: generalize lightningd/peer_comm Part 1 2019-06-04 01:29:39 +00:00
channel_wire.csv common/per_per_state: generalize lightningd/peer_comm Part 1 2019-06-04 01:29:39 +00:00
channeld.c gossipd: don't send gossip stream, let per-peer daemons read it themselves. 2019-06-04 01:29:39 +00:00
channeld_htlc.h channeld: use amount_msat for struct htlc amount. 2019-02-21 08:01:37 +00:00
commit_tx.c wally: Remove tx->input and tx->output, wally all the way! 2019-04-08 00:00:00 +00:00
commit_tx.h commit_tx & htlc_tx: use amount_sat/amount_msat. 2019-02-21 08:01:37 +00:00
full_channel.c fix:Add infor about how many blocks needed until funding is confirmed 2019-04-07 23:45:35 +00:00
full_channel.h fix:Add infor about how many blocks needed until funding is confirmed 2019-04-07 23:45:35 +00:00
full_channel_error.h channeld: map htlc add/remove errors to names. 2018-02-19 02:56:51 +00:00