Merge pull request #13 from jimmykiselak/master
make regtest generate blocks faster so that tests run in a reasonable amount of time
This commit is contained in:
commit
b4437941a3
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