Peer storage enhancements#8422
Merged
sangbida merged 2 commits intoMay 7, 2026
Merged
Conversation
Collaborator
|
fixes #8382 |
Collaborator
|
@adi2011 can you rebase to prepare this for 25.12 please? |
Collaborator
Author
|
Hi @madelinevibes, sorry for the delay, I was AFK. I’ll try to complete this PR by the end of the week. |
3cdca8a to
32d4ada
Compare
da93170 to
ad9078e
Compare
Contributor
|
Because this needs review and it's been delayed, I'm going to move this back to the next milestone. Once rc1 is out I will try to find time for a thorough review! |
7c15c58 to
8d8ab1b
Compare
Collaborator
|
@adi2011 can you resolve the conflicts and clear CI by the end of this week so we can add this to 26.06? Release candidate planned for Monday 11 May. If you can't we'll move it to 25.09 |
8d8ab1b to
d4cf859
Compare
Adding more information to geremergencyrecoverdata, to let users know if they are using legacy file format and the list of all the backed up channel ids. Key Changes: - Added: 1. can_create_penalty: To let user know if they need to update the file. 2. backed_up_channel_ids: List of all the backed up channels Changelog-Changed: Made getemergencyrecoverdata more verbose.
Node should not store SCB that is older than what we already have. Changelog-Fixed: Protocol: we now only store the most recent peer backup when recovering from peers.
Contributor
|
Rebased, cleaned up a little. |
d4cf859 to
830581c
Compare
rustyrussell
approved these changes
May 5, 2026
Collaborator
Author
|
Thank you @rustyrussell! 🧡 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
UX improvements and some other changes to make peer storage more efficient.
Addresses: #8382