@@ -73,6 +73,7 @@ class CMainParams : public CChainParams {
7373public:
7474 CMainParams () {
7575 strNetworkID = " main" ;
76+ consensus.nLastPoWBlock = 75 ;
7677 consensus.nFirstBlocksEmpty = 20000 ;
7778 consensus.nSubsidyHalvingInterval = 43200 ; // Note: actual number of blocks per calendar year with DGW v3 is ~200700 (for example 449750 - 249050)
7879 consensus.nMasternodePaymentsStartBlock = 20100 ; // not true, but it's ok as long as it's less then nMasternodePaymentsIncreaseBlock
@@ -102,7 +103,6 @@ class CMainParams : public CChainParams {
102103 consensus.nStakeMaxAge = 60 * 60 * 24 ; // one day
103104 consensus.nCoinbaseMaturity = 20 ;
104105 consensus.nTPoSContractSignatureDeploymentTime = 1523127600 ;
105- consensus.nLastPoWBlock = 75 ;
106106 consensus.nPowKGWHeight = 15200 ;
107107 consensus.nPowDGWHeight = 24 ;
108108 consensus.fPowAllowMinDifficultyBlocks = false ;
@@ -204,6 +204,7 @@ class CTestNetParams : public CChainParams {
204204public:
205205 CTestNetParams () {
206206 strNetworkID = " test" ;
207+ consensus.nLastPoWBlock = 75 ;
207208 consensus.nSubsidyHalvingInterval = 10000 ;
208209 consensus.nFirstBlocksEmpty = 20 ;
209210 consensus.nMasternodePaymentsStartBlock = 4010 ; // not true, but it's ok as long as it's less then nMasternodePaymentsIncreaseBlock
@@ -233,7 +234,6 @@ class CTestNetParams : public CChainParams {
233234 consensus.fPowNoRetargeting = false ;
234235 consensus.nPowKGWHeight = 4001 ; // nPowKGWHeight >= nPowDGWHeight means "no KGW"
235236 consensus.nPowDGWHeight = 4001 ;
236- consensus.nLastPoWBlock = 75 ;
237237 consensus.nStakeMinAge = 60 * 60 ;
238238 consensus.nStakeMaxAge = 60 * 60 * 24 ; // one day
239239 consensus.nCoinbaseMaturity = 20 ;
0 commit comments