aboutsummaryrefslogtreecommitdiff
path: root/src/policy/policy.h
diff options
context:
space:
mode:
authorMarcoFalke <falke.marco@gmail.com>2021-11-15 10:56:16 +0100
committerMarcoFalke <falke.marco@gmail.com>2021-11-16 08:20:33 +0100
commitfa3e0da06b491b8c0fa2dbae37682a9112c9deb8 (patch)
tree3b4433c45304ee8e430858cef37655a91b729c97 /src/policy/policy.h
parent15d109802ab93b0af9647858c9d8adcd8a2db84a (diff)
downloadbitcoin-fa3e0da06b491b8c0fa2dbae37682a9112c9deb8.tar.xz
policy: Treat taproot as always active
Diffstat (limited to 'src/policy/policy.h')
-rw-r--r--src/policy/policy.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/policy/policy.h b/src/policy/policy.h
index f2a3f35546..f6ac6500f6 100644
--- a/src/policy/policy.h
+++ b/src/policy/policy.h
@@ -105,10 +105,9 @@ bool IsStandardTx(const CTransaction& tx, bool permit_bare_multisig, const CFeeR
/**
* Check for standard transaction types
* @param[in] mapInputs Map of previous transactions that have outputs we're spending
-* @param[in] taproot_active Whether or taproot consensus rules are active (used to decide whether spends of them are permitted)
* @return True if all inputs (scriptSigs) use only standard transaction forms
*/
-bool AreInputsStandard(const CTransaction& tx, const CCoinsViewCache& mapInputs, bool taproot_active);
+bool AreInputsStandard(const CTransaction& tx, const CCoinsViewCache& mapInputs);
/**
* Check if the transaction is over standard P2WSH resources limit:
* 3600bytes witnessScript size, 80bytes per witness stack element, 100 witness stack elements