core-lightning/gossipd/test
Rusty Russell fd2d74aa9b gossipd: defer asking about txouts until we're synced or they're 6 deep.
The first one means we don't discard channels just because we're not
synced, and the second is implied by the spec: don't accept
channel_announcement if the channel isn't 6 deep.  Since LND defers in
such cases, we do too (unless it's newer than the current block, in
which case we simply discard).  Otherwise there's a risk that a slow
node might discard valid gossip.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2019-09-25 04:01:56 +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: defer asking about txouts until we're synced or they're 6 deep. 2019-09-25 04:01:56 +00:00
run-extended-info.c gossipd: defer asking about txouts until we're synced or they're 6 deep. 2019-09-25 04:01:56 +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