You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if (epoch_length == std::numeric_limits<uint32_t>::max()) {
985
+
// That's the default value, for non-dynafed chains and some tests. Pick a more sensible default here.
986
+
epoch_length = 20160;
987
+
}
988
+
983
989
if (args.IsArgSet("-trim_headers")) {
984
990
LogPrintf("Configured for header-trimming mode. This will reduce memory usage substantially, but we will be unable to serve as a full P2P peer, and certain header fields may be missing from JSON RPC output.\n");
985
991
fTrimHeaders = true;
986
992
// This calculation is driven by GetValidFedpegScripts in pegins.cpp, which walks the chain
987
993
// back to current epoch start, and then an additional total_valid_epochs on top of that.
988
994
// We add one epoch here for the current partial epoch, and then another one for good luck.
0 commit comments