diff options
| author | Wladimir J. van der Laan <[email protected]> | 2014-06-25 09:14:14 +0200 |
|---|---|---|
| committer | Wladimir J. van der Laan <[email protected]> | 2014-06-25 09:14:36 +0200 |
| commit | 208bf5b9e0a86900bddf5722dc192c3262480e36 (patch) | |
| tree | b70a86a5daf38ff1846a58340aefb27779d693e0 /src/chainparams.cpp | |
| parent | Merge pull request #4390 (diff) | |
| parent | move pow constants to chainparams (diff) | |
| download | discoin-208bf5b9e0a86900bddf5722dc192c3262480e36.tar.xz discoin-208bf5b9e0a86900bddf5722dc192c3262480e36.zip | |
Merge pull request #3839
fd704c7 move pow constants to chainparams (jtimon)
df852d2 Refactor proof of work related functions out of main (jtimon)
Diffstat (limited to 'src/chainparams.cpp')
| -rw-r--r-- | src/chainparams.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/chainparams.cpp b/src/chainparams.cpp index afbae6fc5..eb56af750 100644 --- a/src/chainparams.cpp +++ b/src/chainparams.cpp @@ -117,6 +117,8 @@ public: nRejectBlockOutdatedMajority = 950; nToCheckBlockUpgradeMajority = 1000; nMinerThreads = 0; + nTargetTimespan = 14 * 24 * 60 * 60; // two weeks + nTargetSpacing = 10 * 60; // Build the genesis block. Note that the output of the genesis coinbase cannot // be spent as it did not originally exist in the database. @@ -204,6 +206,9 @@ public: nEnforceBlockUpgradeMajority = 51; nRejectBlockOutdatedMajority = 75; nToCheckBlockUpgradeMajority = 100; + nMinerThreads = 0; + nTargetTimespan = 14 * 24 * 60 * 60; // two weeks + nTargetSpacing = 10 * 60; strDataDir = "testnet3"; // Modify the testnet genesis block so the timestamp is valid for a later start. @@ -251,6 +256,8 @@ public: nRejectBlockOutdatedMajority = 950; nToCheckBlockUpgradeMajority = 1000; nMinerThreads = 1; + nTargetTimespan = 14 * 24 * 60 * 60; // two weeks + nTargetSpacing = 10 * 60; bnProofOfWorkLimit = ~uint256(0) >> 1; genesis.nTime = 1296688602; genesis.nBits = 0x207fffff; |