rgb-cln/channeld
Rusty Russell f5a218f9d1 gossipd: send per-peer daemons offsets into gossip store.
Instead of reading the store ourselves, we can just send them an
offset.  This saves gossipd a lot of work, putting it where it belongs
(in the daemon responsible for the specific peer).

MCP bench results:
   store_load_msec:28509-31001(29206.6+/-9.4e+02)
   vsz_kb:580004-580016(580006+/-4.8)
   store_rewrite_sec:11.640000-12.730000(11.908+/-0.41)
   listnodes_sec:1.790000-1.880000(1.83+/-0.032)
   listchannels_sec:21.180000-21.950000(21.476+/-0.27)
   routing_sec:2.210000-11.160000(7.126+/-3.1)
   peer_write_all_sec:36.270000-41.200000(38.168+/-1.9)

Signficant savings in streaming gossip:
   -peer_write_all_sec:48.160000-51.480000(49.608+/-1.1)
   +peer_write_all_sec:35.780000-37.980000(36.43+/-0.81)

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2019-05-13 05:16:18 +00:00
..
test remove libbase58, use base58 from libwally (#2594) 2019-04-30 23:07:31 +02:00
Makefile gossipd: send per-peer daemons offsets into gossip store. 2019-05-13 05:16:18 +00:00
channel_wire.csv channeld: enforce option_upfront_shutdown_script. 2019-05-02 01:18:33 +00:00
channeld.c gossipd: send per-peer daemons offsets into gossip store. 2019-05-13 05:16:18 +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