Skip to content

Double nannounce patch #6549

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

Merged

Conversation

endothermicdev
Copy link
Collaborator

When loading from the gossip store under a particular scenario:
channel announcement
node announcement
node announcement (spam)
channel update
There should be two node announcements pending the first channel update. This case was not handled and the spam announcement was overwriting the broadcastable announcement causing gossipd to lose track of it. The answer is to properly load the spam announcement alongside the broadcastable one once the channel is created.

Fixes: #6531

@endothermicdev endothermicdev force-pushed the double-nannounce-patch branch from 3bf9ee5 to 322414d Compare August 11, 2023 19:46
@endothermicdev endothermicdev force-pushed the double-nannounce-patch branch from 322414d to e0564ff Compare August 11, 2023 21:25
@endothermicdev endothermicdev added this to the v23.08 milestone Aug 11, 2023
@rustyrussell rustyrussell merged commit d8d2032 into ElementsProject:master Aug 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Duplicate node announcements in gossip_store
2 participants