[#SigVersion] = SigVersion :mrdocs: Script execution context that selects the signature‐hashing scheme. == Synopsis Declared in `<script/interpreter.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- enum class SigVersion : int; ---- == Members [cols="1,4"] |=== | Name| Description | `BASE` | Bare scripts and BIP16 P2SH‐wrapped redeemscripts | `WITNESS_V0` | Witness v0 (P2WPKH and P2WSH); see BIP 141 | `TAPROOT` | Witness v1 with 32‐byte program, not BIP16 P2SH‐wrapped, key path spending; see BIP 341 | `TAPSCRIPT` | Witness v1 with 32‐byte program, not BIP16 P2SH‐wrapped, script path spending, leaf version 0xc0; see BIP 342 |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#