rgb-cln/devtools
Rusty Russell 7ede5aac31 gossip_store: change format so we store raw messages.
Save some overhead, plus gets us ready for giving subdaemons direct
store access.  This is the first time we *upgrade* the gossip_store,
rather than just discarding.

The downside is that we need to add an extra message after each
channel_announcement, containing the channel capacity.

After:
  store_load_msec:28337-30288(28975+/-7.4e+02)
  vsz_kb:582304-582316(582306+/-4.8)
  store_rewrite_sec:11.240000-11.800000(11.55+/-0.21)
  listnodes_sec:1.800000-1.880000(1.84+/-0.028)
  listchannels_sec:22.690000-26.260000(23.878+/-1.3)
  routing_sec:2.280000-9.570000(6.842+/-2.8)
  peer_write_all_sec:48.160000-51.480000(49.608+/-1.1)

Differences:
  -vsz_kb:582320
  +vsz_kb:582316
  -listnodes_sec:2.100000-2.170000(2.118+/-0.026)
  +listnodes_sec:1.800000-1.880000(1.84+/-0.028)
  -peer_write_all_sec:51.600000-52.550000(52.188+/-0.34)
  +peer_write_all_sec:48.160000-51.480000(49.608+/-1.1)

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2019-05-13 05:16:18 +00:00
..
.gitignore gossipwith: simple tool to snarf gossip from a node. 2018-09-21 17:56:15 +02:00
Makefile devtools/create-gossipstore: cleanups 2019-04-24 13:46:39 -05:00
bolt11-cli.c wallet: Pass chainparams to address serialization 2019-05-10 23:07:49 +00:00
create-gossipstore.c gossip_store: change format so we store raw messages. 2019-05-13 05:16:18 +00:00
decodemsg.c tlvs: add methods for decodemsg utility 2019-04-08 00:37:29 +00:00
dump-gossipstore.c gossip_store: change format so we store raw messages. 2019-05-13 05:16:18 +00:00
gossipwith.c libwally: update to 0.6.8. 2019-04-13 18:55:15 +02:00
onion.c Makefile: check for direct amount_sat/amount_msat access. 2019-02-21 08:01:37 +00:00
print_wire.c common/node_id: new type. 2019-04-09 12:37:16 -07:00
print_wire.h common/node_id: new type. 2019-04-09 12:37:16 -07:00