Module sapio_bitcoin::util::sighash
source · [−]Expand description
Re-exports
pub use blockdata::transaction::EcdsaSighashType;
pub use blockdata::transaction::SighashTypeParseError;
Structs
The Annex
struct is a slice wrapper enforcing first byte to be 0x50
.
Information related to the script path spending
Efficiently calculates signature hash message for legacy, segwit and taproot inputs.
Enums
Possible errors in computing the signature message
Contains outputs of previous transactions.
In the case SchnorrSighashType
variant is ANYONECANPAY
, Prevouts::One
may be provided
Hashtype of an input’s signature, encoded in the last byte of the signature Fixed values so they can be casted as integer types for encoding