@@ -73,6 +73,8 @@ class CMainParams : public CChainParams {
73
73
consensus.nMajorityEnforceBlockUpgrade = 750 ;
74
74
consensus.nMajorityRejectBlockOutdated = 950 ;
75
75
consensus.nMajorityWindow = 1000 ;
76
+ consensus.BIP34Height = 227931 ;
77
+ consensus.BIP34Hash = uint256S (" 0x000000000000024b89b42a942fe0d9fea3bb44ab7bd1b19115dd6a759c0808b8" );
76
78
consensus.powLimit = uint256S (" 00000000ffffffffffffffffffffffffffffffffffffffffffffffffffffffff" );
77
79
consensus.nPowTargetTimespan = 14 * 24 * 60 * 60 ; // two weeks
78
80
consensus.nPowTargetSpacing = 10 * 60 ;
@@ -153,6 +155,8 @@ class CTestNetParams : public CChainParams {
153
155
consensus.nMajorityEnforceBlockUpgrade = 51 ;
154
156
consensus.nMajorityRejectBlockOutdated = 75 ;
155
157
consensus.nMajorityWindow = 100 ;
158
+ consensus.BIP34Height = 21111 ;
159
+ consensus.BIP34Hash = uint256S (" 0x0000000023b3a96d3484e5abb3755c413e7d41500f8e2a5c3f0dd01299cd8ef8" );
156
160
consensus.powLimit = uint256S (" 00000000ffffffffffffffffffffffffffffffffffffffffffffffffffffffff" );
157
161
consensus.nPowTargetTimespan = 14 * 24 * 60 * 60 ; // two weeks
158
162
consensus.nPowTargetSpacing = 10 * 60 ;
@@ -216,6 +220,8 @@ class CRegTestParams : public CChainParams {
216
220
consensus.nMajorityEnforceBlockUpgrade = 750 ;
217
221
consensus.nMajorityRejectBlockOutdated = 950 ;
218
222
consensus.nMajorityWindow = 1000 ;
223
+ consensus.BIP34Height = -1 ; // BIP34 has not necessarily activated on regtest
224
+ consensus.BIP34Hash = uint256 ();
219
225
consensus.powLimit = uint256S (" 7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff" );
220
226
consensus.nPowTargetTimespan = 14 * 24 * 60 * 60 ; // two weeks
221
227
consensus.nPowTargetSpacing = 10 * 60 ;
0 commit comments