mirror of
https://github.com/status-im/nimbus-eth2.git
synced 2025-01-23 13:00:34 +00:00
51418a7894
* Incremental pruning When turning on pruning the first time the current pruning algorithm will prune the full database at startup. This delays restart unnecessarily, since all of the pruned space is not needed at once. This PR introduces incremental pruning such that we will never prune more than 32 blocks or the sync speed, whichever is higher. This mode is expected to become default in a follow-up release.