Fix Testnet crash under windows
If the consensus rule is not deployed, VersionBitsConditionChecker::BeginTime attempt to access non existent memory.
This commit is contained in:
committed by
GitHub
parent
335b89ea6b
commit
6276aa3906
@@ -205,6 +205,11 @@ public:
|
||||
consensus.BIP34Hash = uint256();
|
||||
consensus.fPowAllowMinDifficultyBlocks = true;
|
||||
consensus.fPowNoRetargeting = false;
|
||||
consensus.nRuleChangeActivationThreshold = 1512; // 75% for testchains
|
||||
consensus.nMinerConfirmationWindow = 2016; // nPowTargetTimespan / nPowTargetSpacing
|
||||
consensus.vDeployments[Consensus::DEPLOYMENT_TESTDUMMY].bit = 28;
|
||||
consensus.vDeployments[Consensus::DEPLOYMENT_TESTDUMMY].nStartTime = 1199145601; // January 1, 2008
|
||||
consensus.vDeployments[Consensus::DEPLOYMENT_TESTDUMMY].nTimeout = 1230767999; // December 31, 2008
|
||||
|
||||
consensus.nProtocolV1RetargetingFixedTime = 1395631999;
|
||||
consensus.nProtocolV2Time = 1407053625;
|
||||
|
||||
Reference in New Issue
Block a user