Script execution context that selects the signature‐hashing scheme.
Synopsis
Declared in <script/interpreter.h>
enum class SigVersion : int;
Members
Name |
Description |
|
Bare scripts and BIP16 P2SH‐wrapped redeemscripts |
|
Witness v0 (P2WPKH and P2WSH); see BIP 141 |
|
Witness v1 with 32‐byte program, not BIP16 P2SH‐wrapped, key path spending; see BIP 341 |
|
Witness v1 with 32‐byte program, not BIP16 P2SH‐wrapped, script path spending, leaf version 0xc0; see BIP 342 |
Created with MrDocs