Expand description
BIP143 Implementation
Implementation of BIP143 Segwit-style signatures. Should be sufficient
to create signatures for Segwit transactions (which should be pushed into
the appropriate place in the Transaction::witness
array) or bcash
signatures, which are placed in the scriptSig.
Structs§
- The
Annex
struct is a slice wrapper enforcing first byte to be0x50
- 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 isANYONECANPAY
,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