We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bf5a50f commit eb8735bCopy full SHA for eb8735b
src/init.cpp
@@ -993,7 +993,7 @@ bool AppInitParameterInteraction(const ArgsManager& args)
993
// back to current epoch start, and then an additional total_valid_epochs on top of that.
994
// We add one epoch here for the current partial epoch, and then another one for good luck.
995
996
- nMustKeepFullHeaders = (chainparams.GetConsensus().total_valid_epochs + 2) * epoch_length;
+ nMustKeepFullHeaders = chainparams.GetConsensus().total_valid_epochs * epoch_length;
997
// This is the number of headers we can have in flight downloading at a time, beyond the
998
// set of blocks we've already validated. Capping this is necessary to keep memory usage
999
// bounded during IBD.
0 commit comments