Skip to content

Commit

Permalink
Adjust Testent params, set spork block height
Browse files Browse the repository at this point in the history
  • Loading branch information
CryptoCentric committed Apr 30, 2021
1 parent aadf11f commit df4fa06
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
12 changes: 6 additions & 6 deletions src/chainparams.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
8 changes: 4 additions & 4 deletions src/spork.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -22,14 +22,14 @@ std::map<int, int64_t> 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
};

Expand Down

0 comments on commit df4fa06

Please sign in to comment.