make regtest generate blocks faster so that tests run in a reasonable amount of time
This commit is contained in:
parent
d4f0689bd7
commit
40735d9e8f
1 changed files with 2 additions and 2 deletions
|
@ -291,8 +291,8 @@ public:
|
|||
consensus.BIP34Height = -1; // BIP34 has not necessarily activated on regtest
|
||||
consensus.BIP34Hash = uint256();
|
||||
consensus.powLimit = uint256S("7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff");
|
||||
consensus.nPowTargetTimespan = 150;//14 * 24 * 60 * 60; // two weeks
|
||||
consensus.nPowTargetSpacing = 150;
|
||||
consensus.nPowTargetTimespan = 1;//14 * 24 * 60 * 60; // two weeks
|
||||
consensus.nPowTargetSpacing = 1;
|
||||
consensus.fPowAllowMinDifficultyBlocks = false;
|
||||
consensus.fPowNoRetargeting = false;
|
||||
consensus.nRuleChangeActivationThreshold = 108; // 75% for testchains
|
||||
|
|
Loading…
Reference in a new issue