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

common: fix endless loop in gossmap iteration. #7492

Merged

Conversation

rustyrussell
Copy link
Contributor

If we need to iterate forward to find a timestamp (only happens if we have gossip older than 2 hours), we didn't exit the loop, as it didn't actually move the offset.

Fixes: #7462

If we need to iterate forward to find a timestamp (only happens if we have gossip older than
2 hours), we didn't exit the loop, as it didn't actually move the offset.

Fixes: ElementsProject#7462
Signed-off-by: Rusty Russell <[email protected]>
@rustyrussell rustyrussell added this to the v24.08 milestone Jul 24, 2024
Copy link
Collaborator

@endothermicdev endothermicdev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ACK a224baf

@grubles
Copy link
Contributor

grubles commented Jul 24, 2024

Tested ACK a224baf

Copy link
Contributor

@michael1011 michael1011 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested ACK a224baf

Revived my throwaway node from #7462 (comment). It's working just fine now with more than 700 peers

image

Thank you 🙏

@ShahanaFarooqui ShahanaFarooqui merged commit 15fb37f into ElementsProject:master Jul 25, 2024
36 checks passed
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.

connectd hanging while being unable to connect to peers
5 participants