Files
lightning/wire
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
..
2021-01-10 13:44:04 +01:00
2021-01-13 14:45:36 +01:00
2020-12-09 16:40:13 +10:30
2020-12-09 16:40:13 +10:30
2020-02-27 14:16:16 +10:30
2017-06-27 10:25:53 +09:30
2020-12-09 16:40:13 +10:30