Skip to content

Commit 4fa6120

Browse files
committed
fix: updated height of BIP9warning
1 parent 3da5423 commit 4fa6120

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/chainparams.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@ class CMainParams : public CChainParams {
194194
consensus.V19Height = 1899072; // 0000000000000015e32e73052d663626327004c81c5c22cb8b42c361015c0eae
195195
consensus.V20Height = 1987776; // 000000000000001bf41cff06b76780050682ca29e61a91c391893d4745579777
196196
consensus.MN_RRHeight = 2119135; // 000000000000000c307b4ad7999e379ff10556c8f51437d55692c3ad25aad061
197-
consensus.MinBIP9WarningHeight = 1987776 + 2016; // V20 activation height + miner confirmation window
197+
consensus.MinBIP9WarningHeight = 2119135 + 2016; // mn_rr activation height + miner confirmation window
198198
consensus.powLimit = uint256S("00000fffffffffffffffffffffffffffffffffffffffffffffffffffffffffff"); // ~uint256(0) >> 20
199199
consensus.nPowTargetTimespan = 24 * 60 * 60; // Dash: 1 day
200200
consensus.nPowTargetSpacing = 2.5 * 60; // Dash: 2.5 minutes
@@ -380,7 +380,7 @@ class CTestNetParams : public CChainParams {
380380
consensus.V19Height = 850100; // 000004728b8ff2a16b9d4eebb0fd61eeffadc9c7fe4b0ec0b5a739869401ab5b
381381
consensus.V20Height = 905100; // 0000020c5e0f86f385cbf8e90210de9a9fd63633f01433bf47a6b3227a2851fd
382382
consensus.MN_RRHeight = 1066900; // 000000d05d445958a9a4ad6bdc0f4bfb25af124b2326060703373ff2d3b397e9
383-
consensus.MinBIP9WarningHeight = 905100 + 2016; // v19 activation height + miner confirmation window
383+
consensus.MinBIP9WarningHeight = 1066900 + 2016; // mn_rr activation height + miner confirmation window
384384
consensus.powLimit = uint256S("00000fffffffffffffffffffffffffffffffffffffffffffffffffffffffffff"); // ~uint256(0) >> 20
385385
consensus.nPowTargetTimespan = 24 * 60 * 60; // Dash: 1 day
386386
consensus.nPowTargetSpacing = 2.5 * 60; // Dash: 2.5 minutes
@@ -541,7 +541,7 @@ class CDevNetParams : public CChainParams {
541541
consensus.V19Height = 300;
542542
consensus.V20Height = 300;
543543
consensus.MN_RRHeight = 300;
544-
consensus.MinBIP9WarningHeight = 300 + 2016; // v20 activation height + miner confirmation window
544+
consensus.MinBIP9WarningHeight = 300 + 2016; // mn_rr activation height + miner confirmation window
545545
consensus.powLimit = uint256S("7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff"); // ~uint256(0) >> 1
546546
consensus.nPowTargetTimespan = 24 * 60 * 60; // Dash: 1 day
547547
consensus.nPowTargetSpacing = 2.5 * 60; // Dash: 2.5 minutes

0 commit comments

Comments
 (0)