Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
Already on GitHub? Sign in to your account
During IBD, when doing pruning, prune 10% extra to avoid pruning again soon after #11658
+9
−0
Conversation
fanquake
added
the
Validation
label
Nov 11, 2017
| + // values, we should not prune too rapidly. | ||
| + // So when pruning in IBD, increase the buffer a bit to avoid a re-prune too soon. | ||
| + if (IsInitialBlockDownload()) { | ||
| + // Since this is only relevant during IBD, we use a fixed 10% |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
luke-jr commentedNov 11, 2017
Pruning forces a chainstate flush, which can defeat the dbcache and harm performance significantly.
Alternative to #11359