Script execution context that selects the signature-hashing scheme.
Declared in <script/interpreter.h>
enum class SigVersion : int;
| 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 |