Module sighash
Expand description
Structs§
- The
Annex
struct is a slice wrapper enforcing first byte is0x50
. - Information related to the script path spending.
- Efficiently calculates signature hash message for legacy, segwit and taproot inputs.
- Error returned for failure during parsing one of the sighash types.
Enums§
- Hashtype of an input’s signature, encoded in the last byte of the signature.
- Possible errors in computing the signature message.
- Contains outputs of previous transactions. In the case
SchnorrSighashType
variant isSIGHASH_ANYONECANPAY
,Prevouts::One
may be used. - Hashtype of an input’s signature, encoded in the last byte of the signature. Fixed values so they can be cast as integer types for encoding.