Page MenuHomePhabricator

During IBD, when doing pruning, prune 10% extra to avoid pruning again soon after
ClosedPublic

Authored by fpelliccioni on Sep 3 2019, 18:19.

Details

Summary

Pruning forces a chainstate flush, which can defeat the dbcache and harm performance significantly.

Backport of Bitcoin Core PR11658
https://github.com/bitcoin/bitcoin/pull/11658

Test Plan
make check

Diff Detail

Repository
rABC Bitcoin ABC
Branch
feature-backport-9a1ad2c5c
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 7305
Build 12653: Bitcoin ABC Buildbot (legacy)
Build 12652: arc lint + arc unit