Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Gossip sync_complete marker, and catch up the BOLT docs. #4389

Merged

Conversation

rustyrussell
Copy link
Contributor

As I promised at the last spec meeting...

@rustyrussell rustyrussell added docs protocol These issues are protocol level issues that should be discussed on the protocol spec repo labels Feb 18, 2021
@rustyrussell rustyrussell added this to the v0.9.4 milestone Feb 18, 2021
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: lightning/bolts#826

Signed-off-by: Rusty Russell <[email protected]>
Changelog-Changed: Protocol: we use `sync_complete` for gossip range query replies, with detection for older spec nodes.
@rustyrussell rustyrussell force-pushed the guilt/gossip-eof-marker branch 2 times, most recently from b778394 to b2ee44b Compare February 23, 2021 02:17
@cdecker
Copy link
Member

cdecker commented Feb 24, 2021

ACK b2ee44b

@rustyrussell rustyrussell merged commit 9224d9a into ElementsProject:master Feb 25, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs protocol These issues are protocol level issues that should be discussed on the protocol spec repo
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants