Remove Taproot activation height

Drop DEPLOYMENT_TAPROOT from consensus.vDeployments.

Bump MinBIP9WarningHeight.

Clarify what is considered a BuriedDeployment and
drop taproot from getdeploymentinfo RPC.

Add a test to getblocktemplate to ensure the taproot
rule is still set.

Co-Authored-By: MarcoFalke <*~=`'#}+{/-|&$^_@721217.xyz>
This commit is contained in:
Sjors Provoost
2026-03-10 16:17:40 +01:00
parent 48f26e2040
commit 74f71c5054
8 changed files with 23 additions and 63 deletions

View File

@@ -947,8 +947,14 @@ static RPCHelpMan getblocktemplate()
result.pushKV("capabilities", std::move(aCaps));
UniValue aRules(UniValue::VARR);
// See getblocktemplate changes in BIP 9:
// ! indicates a more subtle change to the block structure or generation transaction
// Otherwise clients may assume the rule will not impact usage of the template as-is.
aRules.push_back("csv");
if (!fPreSegWit) aRules.push_back("!segwit");
if (!fPreSegWit) {
aRules.push_back("!segwit");
aRules.push_back("taproot");
}
if (consensusParams.signet_blocks) {
// indicate to miner that they must understand signet rules
// when attempting to mine with this template