core-lightning/gossipd
Rusty Russell 9485919a81 queries: make sure scids are in order.
I thought LND had a bug, but turns out it doesn't like out-of-order
short_channel_ids: in fact, the spec says they have to be in order!

This means we use uintmap instead of a htable for unknown_scids and
stale_scids so they're nicely ordered.

But our nodes-missing-announcements probe is harder since they can
also contain duplicates: we switch that to iterate through channels
rather than nodes.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2019-10-10 21:48:52 -05:00
..
test queries: make sure scids are in order. 2019-10-10 21:48:52 -05:00
broadcast.h gossipd: remove broadcast map altogether. 2019-06-04 01:29:39 +00:00
gossip_generation.c seeker: start doing a channel probe if we see unknown node_announcement msgs. 2019-10-10 21:48:52 -05:00
gossip_generation.h gossipd: naming cleanups. 2019-09-20 06:55:00 +00:00
gossip_peerd_wire.csv wire-gen: move in-house wire delcarations to new format 2019-07-24 06:31:46 +00:00
gossip_store.c seeker: start doing a channel probe if we see unknown node_announcement msgs. 2019-10-10 21:48:52 -05:00
gossip_store.csv wire-gen: move in-house wire delcarations to new format 2019-07-24 06:31:46 +00:00
gossip_store.h gossipd: have gossip_store_load() return a timestamp. 2019-10-10 21:48:52 -05:00
gossip_wire.csv elements: Move from a global is_elements to a global chainparams 2019-10-03 04:32:57 +00:00
gossipd.c seeker: handle non-synced state internally. 2019-10-10 21:48:52 -05:00
gossipd.h gossipd: have seeker control which peers gossip, reduce to 3 and rotate. 2019-10-10 21:48:52 -05:00
Makefile gossipd: move gossip seeking routines into new file seeker.c 2019-10-10 21:48:52 -05:00
queries.c queries: make sure scids are in order. 2019-10-10 21:48:52 -05:00
queries.h gossipd: hand (any) timestamps through to callback for query_channel_range. 2019-10-10 21:48:52 -05:00
routing.c seeker: start doing a channel probe if we see unknown node_announcement msgs. 2019-10-10 21:48:52 -05:00
routing.h seeker: start doing a channel probe if we see unknown node_announcement msgs. 2019-10-10 21:48:52 -05:00
seeker.c queries: make sure scids are in order. 2019-10-10 21:48:52 -05:00
seeker.h gossipd: restore dev-suppress-gossip functionality. 2019-10-10 21:48:52 -05:00