Skip to content

Commit 2d5793c

Browse files
committed
Bugfix: chainparams: Add missing (disabled) Taproot deployment for Signet
1 parent 711ddce commit 2d5793c

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/chainparams.cpp

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -331,6 +331,11 @@ class SigNetParams : public CChainParams {
331331
consensus.vDeployments[Consensus::DEPLOYMENT_TESTDUMMY].nStartTime = 1199145601; // January 1, 2008
332332
consensus.vDeployments[Consensus::DEPLOYMENT_TESTDUMMY].nTimeout = 1230767999; // December 31, 2008
333333

334+
// Activation of Taproot (BIPs 340-342)
335+
consensus.vDeployments[Consensus::DEPLOYMENT_TAPROOT].bit = 2;
336+
consensus.vDeployments[Consensus::DEPLOYMENT_TAPROOT].nStartTime = Consensus::BIP9Deployment::ALWAYS_ACTIVE;
337+
consensus.vDeployments[Consensus::DEPLOYMENT_TAPROOT].nTimeout = Consensus::BIP9Deployment::NO_TIMEOUT;
338+
334339
// message start is defined as the first 4 bytes of the sha256d of the block script
335340
CHashWriter h(SER_DISK, 0);
336341
h << consensus.signet_challenge;

0 commit comments

Comments
 (0)