@@ -71,6 +71,7 @@ class CMainParams : public CChainParams {
71
71
consensus.BIP66Height = 363725 ; // 00000000000000000379eaa19dce8c9b722d46ae6a57c2f1a988119488b50931
72
72
consensus.CSVHeight = 419328 ; // 000000000000000004a1b34462cb8aeebd5799177f7a29cf28f2d1961716b5b5
73
73
consensus.SegwitHeight = 481824 ; // 0000000000000000001c8018d9cb3b742ef25114f27563e3fc4a1902167f9893
74
+ consensus.MinBIP9WarningHeight = consensus.SegwitHeight + consensus.nMinerConfirmationWindow ;
74
75
consensus.powLimit = uint256S (" 00000000ffffffffffffffffffffffffffffffffffffffffffffffffffffffff" );
75
76
consensus.nPowTargetTimespan = 14 * 24 * 60 * 60 ; // two weeks
76
77
consensus.nPowTargetSpacing = 10 * 60 ;
@@ -177,6 +178,7 @@ class CTestNetParams : public CChainParams {
177
178
consensus.BIP66Height = 330776 ; // 000000002104c8c45e99a8853285a3b592602a3ccde2b832481da85e9e4ba182
178
179
consensus.CSVHeight = 770112 ; // 00000000025e930139bac5c6c31a403776da130831ab85be56578f3fa75369bb
179
180
consensus.SegwitHeight = 834624 ; // 00000000002b980fcd729daaa248fd9316a5200e9b367f4ff2c42453e84201ca
181
+ consensus.MinBIP9WarningHeight = consensus.SegwitHeight + consensus.nMinerConfirmationWindow ;
180
182
consensus.powLimit = uint256S (" 00000000ffffffffffffffffffffffffffffffffffffffffffffffffffffffff" );
181
183
consensus.nPowTargetTimespan = 14 * 24 * 60 * 60 ; // two weeks
182
184
consensus.nPowTargetSpacing = 10 * 60 ;
@@ -261,6 +263,7 @@ class CRegTestParams : public CChainParams {
261
263
consensus.BIP66Height = 1251 ; // BIP66 activated on regtest (Used in functional tests)
262
264
consensus.CSVHeight = 432 ; // CSV activated on regtest (Used in rpc activation tests)
263
265
consensus.SegwitHeight = 0 ; // SEGWIT is always activated on regtest unless overridden
266
+ consensus.MinBIP9WarningHeight = 0 ;
264
267
consensus.powLimit = uint256S (" 7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff" );
265
268
consensus.nPowTargetTimespan = 14 * 24 * 60 * 60 ; // two weeks
266
269
consensus.nPowTargetSpacing = 10 * 60 ;
0 commit comments