diff --git a/src/policy/policy.h b/src/policy/policy.h index 1cfab0e4590f..735cd4594bc5 100644 --- a/src/policy/policy.h +++ b/src/policy/policy.h @@ -40,9 +40,9 @@ static constexpr bool DEFAULT_PERMIT_BAREMULTISIG{true}; /** The maximum number of witness stack items in a standard P2WSH script */ static constexpr unsigned int MAX_STANDARD_P2WSH_STACK_ITEMS{100}; /** The maximum size in bytes of each witness stack item in a standard P2WSH script */ -static constexpr unsigned int MAX_STANDARD_P2WSH_STACK_ITEM_SIZE{80}; +static constexpr unsigned int MAX_STANDARD_P2WSH_STACK_ITEM_SIZE{520}; /** The maximum size in bytes of each witness stack item in a standard BIP 342 script (Taproot, leaf version 0xc0) */ -static constexpr unsigned int MAX_STANDARD_TAPSCRIPT_STACK_ITEM_SIZE{80}; +static constexpr unsigned int MAX_STANDARD_TAPSCRIPT_STACK_ITEM_SIZE{520}; /** The maximum size in bytes of a standard witnessScript */ static constexpr unsigned int MAX_STANDARD_P2WSH_SCRIPT_SIZE{3600}; /** The maximum size of a standard ScriptSig */