rgb-cln/gossipd/test
Rusty Russell 9224d9a500 gossipd: use modern 'sync_complete' field.
We assume if they set this to 0 (which nobody did previously), they're
using it as a modern flag and use it to indicate when they're
finished.  Otherwise, we count how many blocks they've sent and use
that to determine whether they've finished.

See: https://github.com/lightningnetwork/lightning-rfc/pull/826

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Changelog-Changed: Protocol: we use `sync_complete` for gossip range query replies, with detection for older spec nodes.
2021-02-25 13:23:16 +10:30
..
.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 tools/generate-wire.py: use helpers. 2020-12-04 20:16:54 -06:00
run-bench-find_route.c common: disallow NULL channel_id to peer_failed_err. 2021-02-04 12:02:52 +10:30
run-check_channel_announcement.c unittest: use common_setup / common_shutdown almost everywhere. 2020-12-02 12:55:09 +10:30
run-crc32_of_update.c common: disallow NULL channel_id to peer_failed_err. 2021-02-04 12:02:52 +10:30
run-extended-info.c common: disallow NULL channel_id to peer_failed_err. 2021-02-04 12:02:52 +10:30
run-find_route-specific.c common: disallow NULL channel_id to peer_failed_err. 2021-02-04 12:02:52 +10:30
run-find_route.c common: disallow NULL channel_id to peer_failed_err. 2021-02-04 12:02:52 +10:30
run-next_block_range.c gossipd: use modern 'sync_complete' field. 2021-02-25 13:23:16 +10:30
run-overlong.c common: disallow NULL channel_id to peer_failed_err. 2021-02-04 12:02:52 +10:30
run-txout_failure.c common: disallow NULL channel_id to peer_failed_err. 2021-02-04 12:02:52 +10:30