Skip to content

Conversation

@adi2011
Copy link
Collaborator

@adi2011 adi2011 commented Jul 22, 2025

UX improvements and some other changes to make peer storage more efficient.

Addresses: #8382

@adi2011 adi2011 requested a review from cdecker as a code owner July 22, 2025 09:18
@adi2011 adi2011 changed the title Peer storage enhancement Peer storage enhancements Jul 22, 2025
@madelinevibes
Copy link
Collaborator

fixes #8382

@madelinevibes
Copy link
Collaborator

@adi2011 can you rebase to prepare this for 25.12 please?

@adi2011
Copy link
Collaborator Author

adi2011 commented Oct 29, 2025

Hi @madelinevibes, sorry for the delay, I was AFK. I’ll try to complete this PR by the end of the week.

@madelinevibes madelinevibes added this to the v25.12 milestone Oct 30, 2025
@ShahanaFarooqui ShahanaFarooqui linked an issue Oct 31, 2025 that may be closed by this pull request
Node should not store SCB that is older than what we already have.

Key Changes:
 - store_latest_scb:
     Compares the data between the stored scb and latest recvd scb. Compares the data between the stored SCB and the latest received SCB. Since we only need the timestamps, there is no need to deserialize the entire blob.
@adi2011 adi2011 force-pushed the peer-storage-enhancement branch 4 times, most recently from 2fafadf to 3cdca8a Compare November 3, 2025 08:42
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.
@adi2011 adi2011 force-pushed the peer-storage-enhancement branch from 3cdca8a to 32d4ada Compare November 3, 2025 09:15
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.

Enhancements to peer backup restoration.

2 participants