aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorLuke Dashjr <luke-jr+git@utopios.org>2020-10-15 14:46:02 +0000
committerLuke Dashjr <luke-jr+git@utopios.org>2020-10-20 13:32:23 +0000
commit2d5793c0161902730cde384dbdf3e3ba3e55c9e0 (patch)
tree987c8c5312c1c7e155fc1dee8fa7119066eaa466 /src
parent711ddce94377aea38ce30fa93b3ee8ea1d96ba98 (diff)
Bugfix: chainparams: Add missing (disabled) Taproot deployment for Signet
Diffstat (limited to 'src')
-rw-r--r--src/chainparams.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/chainparams.cpp b/src/chainparams.cpp
index a34bf350fc..86f499afc1 100644
--- a/src/chainparams.cpp
+++ b/src/chainparams.cpp
@@ -331,6 +331,11 @@ public:
consensus.vDeployments[Consensus::DEPLOYMENT_TESTDUMMY].nStartTime = 1199145601; // January 1, 2008
consensus.vDeployments[Consensus::DEPLOYMENT_TESTDUMMY].nTimeout = 1230767999; // December 31, 2008
+ // Activation of Taproot (BIPs 340-342)
+ consensus.vDeployments[Consensus::DEPLOYMENT_TAPROOT].bit = 2;
+ consensus.vDeployments[Consensus::DEPLOYMENT_TAPROOT].nStartTime = Consensus::BIP9Deployment::ALWAYS_ACTIVE;
+ consensus.vDeployments[Consensus::DEPLOYMENT_TAPROOT].nTimeout = Consensus::BIP9Deployment::NO_TIMEOUT;
+
// message start is defined as the first 4 bytes of the sha256d of the block script
CHashWriter h(SER_DISK, 0);
h << consensus.signet_challenge;