nanocurrency / roadmap

Issues covering broader features and network upgrades for inclusion in the Nano public roadmap
https://github.com/orgs/nanocurrency/projects/5
BSD 3-Clause "New" or "Revised" License
25 stars 3 forks source link

Ledger Pruning #7

Open zhyatt opened 4 years ago

zhyatt commented 4 years ago

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

Related Links