Unnamed enum

Signature hash types/flags

Synopsis

Declared in <script/interpreter.h>

enum Unnamed enum;

Members

NameDescription
SIGHASH_ALL Sign all inputs and all outputs.
SIGHASH_NONE Sign all inputs but none of the outputs.
SIGHASH_SINGLE Sign all inputs and only the output at the same index.
SIGHASH_ANYONECANPAY Modifier bit: sign only the current input, allowing others to be added.
SIGHASH_DEFAULT Taproot only; implied when sighash byte is missing, and equivalent to SIGHASH_ALL
SIGHASH_OUTPUT_MASK Mask selecting the output-mode bits (ALL/NONE/SINGLE) of a Taproot sighash type.
SIGHASH_INPUT_MASK Mask selecting the ANYONECANPAY input-mode bit of a Taproot sighash type.