From 2e1cd9c29876d253ebabc0d94ab062094e0939a3 Mon Sep 17 00:00:00 2001 From: Konstantin Akimov Date: Fri, 9 Aug 2024 13:49:52 +0700 Subject: [PATCH 1/2] feat: quick assemble of devnets --- src/chainparams.cpp | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/src/chainparams.cpp b/src/chainparams.cpp index 701f8e225b43e..e041149cd1788 100644 --- a/src/chainparams.cpp +++ b/src/chainparams.cpp @@ -524,24 +524,24 @@ class CDevNetParams : public CChainParams { consensus.nGovernanceMinQuorum = 1; consensus.nGovernanceFilterElements = 500; consensus.nMasternodeMinimumConfirmations = 1; - consensus.BIP34Height = 1; // BIP34 activated immediately on devnet - consensus.BIP65Height = 1; // BIP65 activated immediately on devnet - consensus.BIP66Height = 1; // BIP66 activated immediately on devnet - consensus.BIP147Height = 1; // BIP147 activated immediately on devnet - consensus.CSVHeight = 1; // BIP68 activated immediately on devnet + consensus.BIP34Height = 1; // BIP34 activated immediately on devnet + consensus.BIP65Height = 1; // BIP65 activated immediately on devnet + consensus.BIP66Height = 1; // BIP66 activated immediately on devnet + consensus.BIP147Height = 1; // BIP147 activated immediately on devnet + consensus.CSVHeight = 1; // BIP68 activated immediately on devnet consensus.DIP0001Height = 2; // DIP0001 activated immediately on devnet consensus.DIP0003Height = 2; // DIP0003 activated immediately on devnet consensus.DIP0003EnforcementHeight = 2; // DIP0003 activated immediately on devnet consensus.DIP0003EnforcementHash = uint256(); consensus.DIP0008Height = 2; // DIP0008 activated immediately on devnet - consensus.BRRHeight = 300; - consensus.DIP0020Height = 300; - consensus.DIP0024Height = 300; - consensus.DIP0024QuorumsHeight = 300; - consensus.V19Height = 300; - consensus.V20Height = 300; - consensus.MN_RRHeight = 300; - consensus.MinBIP9WarningHeight = 300 + 2016; // mn_rr activation height + miner confirmation window + consensus.BRRHeight = 2; // BRR (realloc) activated immediately on devnet + consensus.DIP0020Height = 2; // DIP0020 activated immediately on devnet + consensus.DIP0024Height = 2; // DIP0024 activated immediately on devnet + consensus.DIP0024QuorumsHeight = 2; // DIP0024 activated immediately on devnet + consensus.V19Height = 2; // V19 activated immediately on devnet + consensus.V20Height = 2; // V20 activated immediately on devnet + consensus.MN_RRHeight = 2; // MN_RR activated immediately on devnet + consensus.MinBIP9WarningHeight = 2 + 2016; // v19 activation height + miner confirmation window consensus.powLimit = uint256S("7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff"); // ~uint256(0) >> 1 consensus.nPowTargetTimespan = 24 * 60 * 60; // Dash: 1 day consensus.nPowTargetSpacing = 2.5 * 60; // Dash: 2.5 minutes From c8f7c28ac813559b11b70e72797c46c3dcc6059e Mon Sep 17 00:00:00 2001 From: Konstantin Akimov Date: Thu, 3 Oct 2024 19:45:53 +0700 Subject: [PATCH 2/2] docs: release notes for devnets fast fork activations --- doc/release-notes-6187.md | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 doc/release-notes-6187.md diff --git a/doc/release-notes-6187.md b/doc/release-notes-6187.md new file mode 100644 index 0000000000000..848bfb6b2092c --- /dev/null +++ b/doc/release-notes-6187.md @@ -0,0 +1,3 @@ +## Devnet Breaking Changes + +`BRR` (`realloc`), `DIP0020`, `DIP0024`, `V19`, `V20` and `MN_R` hardforks are activated at block 2 instead of block 300 on devnets now. Please note that this is a breaking change so you will no longer be able to sync on devnets created with earlier Dash Core versions and vice versa.