aboutsummaryrefslogtreecommitdiff
path: root/src/chainparams.cpp
diff options
context:
space:
mode:
authorMax K. <[email protected]>2015-07-29 19:29:24 +0200
committerMax K. <[email protected]>2015-07-29 19:29:24 +0200
commit433f0fd670471aa1b7e5b4f6ff36215af174ef28 (patch)
treecc615af7dc61a701b74a92a18e3999bb83ecf157 /src/chainparams.cpp
parentMerge pull request #1212 from langerhans/1.10-dev-travis-caching (diff)
parentRemove hard coded switch on whether simplified rewards are used. (diff)
downloaddiscoin-433f0fd670471aa1b7e5b4f6ff36215af174ef28.tar.xz
discoin-433f0fd670471aa1b7e5b4f6ff36215af174ef28.zip
Merge pull request #1208 from rnicoll/1.10-simplified-rewards
Remove hard coded switch on whether simplified rewards are used.
Diffstat (limited to 'src/chainparams.cpp')
-rw-r--r--src/chainparams.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/chainparams.cpp b/src/chainparams.cpp
index a26655585..94bf5b33f 100644
--- a/src/chainparams.cpp
+++ b/src/chainparams.cpp
@@ -45,6 +45,7 @@ public:
consensus.nPowTargetSpacing = 60; // 1 minute
consensus.fPowAllowMinDifficultyBlocks = false;
consensus.fPowAllowDigishieldMinDifficultyBlocks = false;
+ consensus.fSimplifiedRewards = false;
consensus.nAuxpowChainId = 0x0062; // 98 - Josh Wise!
consensus.fStrictChainId = true;
consensus.fAllowLegacyBlocks = true;
@@ -54,6 +55,7 @@ public:
// Blocks 145000 - 371336 are Digishield without AuxPoW
digishieldConsensus = consensus;
digishieldConsensus.nHeightEffective = 145000;
+ digishieldConsensus.fSimplifiedRewards = true;
digishieldConsensus.fDigishieldDifficultyCalculation = true;
digishieldConsensus.nPowTargetTimespan = 60; // post-digishield: 1 minute
@@ -199,6 +201,7 @@ public:
digishieldConsensus.nHeightEffective = 145000;
digishieldConsensus.nPowTargetTimespan = 60; // post-digishield: 1 minute
digishieldConsensus.fDigishieldDifficultyCalculation = true;
+ digishieldConsensus.fSimplifiedRewards = true;
digishieldConsensus.fPowAllowMinDifficultyBlocks = false;
// Blocks 157500 - 158099 are Digishield with minimum difficulty on all blocks