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:
Job Evers‐Meltzer 2016-07-11 12:27:58 -05:00 committed by GitHub
commit b4437941a3

View file

@ -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