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 9, 2021
1 parent a6309d1 commit 022546f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/chainparams.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -209,10 +209,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].startheight = 1945440;
consensus.vDeployments[Consensus::DEPLOYMENT_TAPROOT].timeoutheight = 1951488;
consensus.vDeployments[Consensus::DEPLOYMENT_TAPROOT].m_threshold = 1512; // 75% for testchains
consensus.vDeployments[Consensus::DEPLOYMENT_TAPROOT].m_min_activation_height = 0; // No minimum activation height
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 022546f

Please sign in to comment.