core-lightning/gossipd
Rusty Russell dd83453b2f gossipd/gossip_store: fix compacting, don't use broadcast ordering.
We have a problem: if we get halfway through writing the compacted store
and run out of disk space, we've already changed half the indexes.

This changes it so we do nothing until writing is finished: then we
iterate through and update indexes.  It also weans us off broadcast
ordering, which we can now eliminated.

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
broadcast.c gossipd: add timestamp in gossip store header. 2019-06-04 01:29:39 +00:00
broadcast.h gossipd: add timestamp in gossip store header. 2019-06-04 01:29:39 +00:00
gossip_constants.h Use node_id everywhere for nodes. 2019-04-09 12:37:16 -07:00
gossip_peerd_wire.csv gossipd: don't send gossip stream, let per-peer daemons read it themselves. 2019-06-04 01:29:39 +00:00
gossip_store.c gossipd/gossip_store: fix compacting, don't use broadcast ordering. 2019-06-04 01:29:39 +00:00
gossip_store.csv gossipd: erase old entries from the store, don't just append. 2019-06-04 01:29:39 +00:00
gossip_store.h gossipd: add timestamp in gossip store header. 2019-06-04 01:29:39 +00:00
gossip_wire.csv gossipd: don't send gossip stream, let per-peer daemons read it themselves. 2019-06-04 01:29:39 +00:00
gossipd.c common/gossip_store: handle timestamp filtering. 2019-06-04 01:29:39 +00:00
Makefile gossipd: don't send gossip stream, let per-peer daemons read it themselves. 2019-06-04 01:29:39 +00:00
routing.c gossipd: add timestamp in gossip store header. 2019-06-04 01:29:39 +00:00
routing.h gossipd: erase old entries from the store, don't just append. 2019-06-04 01:29:39 +00:00