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

Ledger Pruning #7

Open
zhyatt opened this issue Oct 14, 2020 · 0 comments
Open

Ledger Pruning #7

zhyatt opened this issue Oct 14, 2020 · 0 comments

Comments

@zhyatt
Copy link
Contributor

zhyatt commented Oct 14, 2020

Summary
Allow optional pruning of ledger blocks, excluding pending blocks, possibly down to a configurable amount of depth starting at and including the frontier block on each account, as well as after a configurable amount of time. Related CLI, RPC and other changes will be needed to support this.

What problem would be solved by this feature?
With the ever increasing ledger size and high throughput capabilities of the network, over time the amount of disk space required to store the full ledger will increase the cost of hardware required to do so. Pruning will help reduce the storage required by only keeping the most recent blocks, each of which contain the full state of the account.

Dependencies

  • Experimental Ledger Pruning - the initial implementation of ledger pruning for experimentation and further expansion (does not allow pruning on voting nodes)
  • State block version 2 activation - the final version of ledger pruning may require activation of state block version 2 in order to most efficiently filter block traffic for older blocks based on the newly added block height field in v2 blocks. This is still under evaluation.

Related Links

@zhyatt zhyatt transferred this issue from another repository Oct 16, 2020
@nanocurrency nanocurrency locked and limited conversation to collaborators Oct 16, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
Status: Research for Future
Development

No branches or pull requests

1 participant