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

Pruning feature #6

Open
unwriter opened this issue Jul 17, 2019 · 0 comments
Open

Pruning feature #6

unwriter opened this issue Jul 17, 2019 · 0 comments

Comments

@unwriter
Copy link
Collaborator

It's ideal to keep the entire bitbus, but in some cases developers may not want to keep the bus state, or may only want to keep the most recent blocks.

Think about adding a feature that allows:

  1. Pruning older blocks as a setting, so it only keeps the N most recent blocks
  2. Make N configurable.

Will need to take into account the re-org API which will need to be implemented, because if the bus is completely gone it will be difficult to detect re-orgs locally.

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

No branches or pull requests

1 participant