Page MenuHomePhabricator

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

Authored by fpelliccioni on Tue, Sep 3, 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
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.