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

Add config to keep some extra days of data #592

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

Conversation

coderofstuff
Copy link
Collaborator

@coderofstuff coderofstuff commented Nov 11, 2024

Notes

  • New configuration usage --keep-extra-days-data=N - set this to some number to keep that much extra data before the pruning point.
  • Implementation detail - this goes through the selected parent chain to find the first block that is past the N days threshold. There is no extra logic that ensures the anticone of the last SPC block found is also retained as such those will still be pruned.

@coderofstuff coderofstuff force-pushed the keep-extra-days branch 3 times, most recently from 7ba8aeb to 4151ff5 Compare November 14, 2024 06:28
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