From 2e1cd9c29876d253ebabc0d94ab062094e0939a3 Mon Sep 17 00:00:00 2001 From: Konstantin Akimov Date: Fri, 9 Aug 2024 13:49:52 +0700 Subject: [PATCH] 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 701f8e225b..e041149cd1 100644 --- a/src/chainparams.cpp +++ b/src/chainparams.cpp @@ -524,24 +524,24 @@ public: 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