core-lightning/gossipd
Rusty Russell a92ead48bf gossipd: ignore redundant channel_update and node_announcement.
If you send a message which simply changes timestamp and signature, we
drop it.  You shouldn't be doing that, and the door to ignoring them
was opened by by option_gossip_query_ex, which would allow clients to
ignore updates with the same checksum.

This is more aggressive at reducing spam messages, but we allow refreshes
(to be conservative, we allow them even when 1/2 of the way through the
refresh period).

I dropped the now-unnecessary sleep from test_gossip_pruning, too.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2019-09-20 06:55:00 +00:00
..
test gossipd: ignore redundant channel_update and node_announcement. 2019-09-20 06:55:00 +00:00
broadcast.h gossipd: remove broadcast map altogether. 2019-06-04 01:29:39 +00:00
gossip_constants.h bolt: update to BOLT spec changes (extract format + type specifications) 2019-07-16 06:10:58 +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 gossipd: use gossip_time_now() everywhere. 2019-09-12 05:11:56 +00: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: note if loaded store seems reasonably up-to-date. 2019-06-12 00:37:46 +00:00
gossip_wire.csv gossipd: get gossip_min_interval from lightningd. 2019-09-20 06:55:00 +00:00
gossipd.c gossipd: refresh every 13 days, not every 7. 2019-09-20 06:55:00 +00:00
gossipd.h gossipd: move gossip message generation into its own file. 2019-09-20 06:55:00 +00:00
make_gossip.c gossipd: bias lower bit of timestamp to ensure alternation. 2019-09-20 06:55:00 +00:00
make_gossip.h gossipd: move gossip message generation into its own file. 2019-09-20 06:55:00 +00:00
Makefile gossipd: move gossip message generation into its own file. 2019-09-20 06:55:00 +00:00
routing.c gossipd: ignore redundant channel_update and node_announcement. 2019-09-20 06:55:00 +00:00
routing.h gossipd: clean up local channel updates. 2019-09-20 06:55:00 +00:00