Skip to content

Commit

Permalink
Add testnet taproot activation params
Browse files Browse the repository at this point in the history
  • Loading branch information
achow101 committed Mar 16, 2021
1 parent e2c7af3 commit 4323685
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/chainparams.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -207,9 +207,10 @@ class CTestNetParams : public CChainParams {

// Deployment of Taproot (BIPs 340-342)
consensus.vDeployments[Consensus::DEPLOYMENT_TAPROOT].bit = 2;
consensus.vDeployments[Consensus::DEPLOYMENT_TAPROOT].startheight = Consensus::VBitsDeployment::NEVER_ACTIVE;
consensus.vDeployments[Consensus::DEPLOYMENT_TAPROOT].timeoutheight = Consensus::VBitsDeployment::NEVER_ACTIVE;
consensus.vDeployments[Consensus::DEPLOYMENT_TAPROOT].threshold = 1512; // 75% of 2016
consensus.vDeployments[Consensus::DEPLOYMENT_TAPROOT].startheight = 1945440;
consensus.vDeployments[Consensus::DEPLOYMENT_TAPROOT].timeoutheight = 1951488;
consensus.vDeployments[Consensus::DEPLOYMENT_TAPROOT].threshold = 1512; // 75% for testchains
consensus.vDeployments[Consensus::DEPLOYMENT_TAPROOT].m_min_activation_height = 1957536;

consensus.nMinimumChainWork = uint256S("0x0000000000000000000000000000000000000000000001db6ec4ac88cf2272c6");
consensus.defaultAssumeValid = uint256S("0x000000000000006433d1efec504c53ca332b64963c425395515b01977bd7b3b0"); // 1864000
Expand Down

0 comments on commit 4323685

Please sign in to comment.