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

feat: delete old ldk payments #1092

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

rolznz
Copy link
Contributor

@rolznz rolznz commented Feb 13, 2025

Fixes #1073

When we store a lot of payments in VSS it slows down startup a lot, because LDK must fetch all the data one key at a time to build the node. We do not need the old expired payments to be stored by LDK because we also store transactions stored in Alby Hub.

This does set the maximum of invoice expiry to 1 day to ensure we do not remove old payments that are not expired yet. I do not think any service needs longer invoice expiry than one day though?

@rolznz rolznz requested review from rdmitr and im-adithya February 13, 2025 10:08
@rolznz rolznz added this to the v1.14.1 milestone Feb 13, 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.

Hubs with VSS sometimes take a long time to start
1 participant