Skip to content

Peer storage enhancements #8422

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

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

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 added 2 commits July 22, 2025 14:42
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.
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
@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
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.

1 participant