Module sighash
Expand description
Structs§
- Annex
- The
Annex
struct is a slice wrapper enforcing first byte is0x50
. - Script
Path - Information related to the script path spending.
- Sighash
Cache - Efficiently calculates signature hash message for legacy, segwit and taproot inputs.
- Sighash
Type Parse Error - Error returned for failure during parsing one of the sighash types.
Enums§
- Ecdsa
Sighash Type - Hashtype of an input’s signature, encoded in the last byte of the signature.
- Error
- Possible errors in computing the signature message.
- Prevouts
- Contains outputs of previous transactions. In the case
SchnorrSighashType
variant isSIGHASH_ANYONECANPAY
,Prevouts::One
may be used. - Schnorr
Sighash Type - 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.