rgb-cln/wallet
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 gossipd: don't send gossip stream, let per-peer daemons read it themselves. 2019-06-04 01:29:39 +00:00
.gitignore wallet: Create and manage a sqlite3 database for the wallet 2017-06-06 09:16:10 +09:30
Makefile wallet: fix Makefile to include correct dependencies. 2018-09-14 22:11:48 +02:00
db.c DB: Store the remote channel announcement signatures into DB 2019-05-29 11:46:33 +02:00
db.h db: Add timestamp primitives so we can store them in the DB 2019-04-10 23:48:39 +00:00
invoices.c autoclean: make this a plugin. 2019-05-22 00:18:29 +02:00
invoices.h wallet: use amount_sat/amount_msat. 2019-02-21 08:01:37 +00:00
txfilter.c pubkey: rename PUBKEY_DER_LEN to PUBKEY_CMPR_LEN. 2019-04-09 12:37:16 -07:00
txfilter.h pubkey: rename PUBKEY_DER_LEN to PUBKEY_CMPR_LEN. 2019-04-09 12:37:16 -07:00
wallet.c DB: Store the remote channel announcement signatures into DB 2019-05-29 11:46:33 +02:00
wallet.h DB: Store the remote channel announcement signatures into DB 2019-05-29 11:46:33 +02:00
walletrpc.c jsonrpc: Add a category field to commands. 2019-06-03 00:02:25 +00:00
walletrpc.h Use expected LIGHTNING_DIR_FILE_H define 2018-03-25 23:54:21 +00:00