core-lightning/gossipd/test
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
..
.gitignore gossipd/test/run-bench-find_route: don't abort if we try to route to ourselves 2017-12-20 13:57:28 +01:00
Makefile gossipd: test vectors for https://github.com/lightningnetwork/lightning-rfc/pull/557 2019-08-10 02:48:34 +00:00
run-bench-find_route.c gossipd: ignore redundant channel_update and node_announcement. 2019-09-20 06:55:00 +00:00
run-crc32_of_update.c gossipd: ignore redundant channel_update and node_announcement. 2019-09-20 06:55:00 +00:00
run-extended-info.c gossipd: move gossip message generation into its own file. 2019-09-20 06:55:00 +00:00
run-find_route-specific.c gossipd: ignore redundant channel_update and node_announcement. 2019-09-20 06:55:00 +00:00
run-find_route.c gossipd: ignore redundant channel_update and node_announcement. 2019-09-20 06:55:00 +00:00
run-overlong.c gossipd: ignore redundant channel_update and node_announcement. 2019-09-20 06:55:00 +00:00