From df4fa064b2b572d681e390834d316458464b972e Mon Sep 17 00:00:00 2001 From: CryptoCentric Date: Fri, 30 Apr 2021 08:21:02 +0100 Subject: [PATCH] Adjust Testent params, set spork block height --- src/chainparams.cpp | 12 ++++++------ src/spork.cpp | 8 ++++---- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/src/chainparams.cpp b/src/chainparams.cpp index 2bbc4d2bdc9b5..d35a55097f924 100644 --- a/src/chainparams.cpp +++ b/src/chainparams.cpp @@ -363,17 +363,17 @@ class CTestNetParams : public CChainParams { consensus.BIP34Height = 0; consensus.BIP34Hash = uint256S("0x0000e585b5b736b3a33ae8999fa2d63e036fb42e56ea5b6e5eacf3b473dd4e6"); - consensus.BIP65Height = 800; // - consensus.BIP66Height = 950; // + consensus.BIP65Height = 700; // + consensus.BIP66Height = 750; // consensus.powLimit = uint256S("00000fffff000000000000000000000000000000000000000000000000000000"); - consensus.nPowTargetTimespan = 1 * 60 * 60; // Absolute: 1 day - consensus.nPowTargetSpacing = 1* 60; // Absolute: 1 minutes + consensus.nPowTargetTimespan = 7.5 * 30; // 5 blocks + consensus.nPowTargetSpacing = 1* 30; // Absolute: 30 seconds consensus.fPowAllowMinDifficultyBlocks = false; consensus.fPowNoRetargeting = false; consensus.nPowDGWHeight = 100; - consensus.nRuleChangeActivationThreshold = 1512; // 75% for testchains - consensus.nMinerConfirmationWindow = 2016; // nPowTargetTimespan / nPowTargetSpacing + consensus.nRuleChangeActivationThreshold = 75; // 75% for testchains + consensus.nMinerConfirmationWindow = 100; // nPowTargetTimespan / nPowTargetSpacing consensus.vDeployments[Consensus::DEPLOYMENT_TESTDUMMY].bit = 28; consensus.vDeployments[Consensus::DEPLOYMENT_TESTDUMMY].nStartTime = 1199145601; // January 1, 2008 consensus.vDeployments[Consensus::DEPLOYMENT_TESTDUMMY].nTimeout = 1230767999; // December 31, 2008 diff --git a/src/spork.cpp b/src/spork.cpp index 1a141a0a51d75..d86e415c593fc 100644 --- a/src/spork.cpp +++ b/src/spork.cpp @@ -22,14 +22,14 @@ std::map mapSporkDefaults = { {SPORK_2_INSTANTSEND_ENABLED, 0}, // ON {SPORK_3_INSTANTSEND_BLOCK_FILTERING, 0}, // ON {SPORK_5_INSTANTSEND_MAX_VALUE, 1000}, // 1000 ABS - {SPORK_6_NEW_SIGS, 4070908800ULL}, // OFF + {SPORK_6_NEW_SIGS, 1619964000}, // Sunday, 2 May 2021 14:00:00 GMT {SPORK_8_MASTERNODE_PAYMENT_ENFORCEMENT, 1518732000}, // Payments start on 2/15/2018 22:00 CET {SPORK_9_SUPERBLOCKS_ENABLED, 1527811200}, // Friday 1 June 2018 00:00:00 - {SPORK_10_MASTERNODE_PAY_UPDATED_NODES, 1619550000}, // Tuesday, 27 April 2021 20:00:00 GMT+01:00 + {SPORK_10_MASTERNODE_PAY_UPDATED_NODES, 1619877600}, // Saturday, 1 May 2021 14:00:00 GMT {SPORK_12_RECONSIDER_BLOCKS, 0}, // 0 BLOCKS {SPORK_14_REQUIRE_SENTINEL_FLAG, 1532476800}, // Wednesday, July 25, 2018 12:00:00 AM - {SPORK_15_DETERMINISTIC_MNS_ENABLED, 1619550000}, // Tuesday, 27 April 2021 20:00:00 GMT+01:00 - {SPORK_16_INSTANTSEND_AUTOLOCKS, 1619636400}, // Wednesday, 28 April 2021 20:00:00 GMT+01:00 + {SPORK_15_DETERMINISTIC_MNS_ENABLED, 1200}, // Block 1200 + {SPORK_16_INSTANTSEND_AUTOLOCKS, 1619892000}, // Saturday, 1 May 2021 18:00:00 GMT {SPORK_17_QUORUM_DKG_ENABLED, 4070908800ULL}, // OFF };