Expand description

Bitcoin transaction types and associated sighash arguments.

Enums

Wrapper enum for returning values that may be EITHER a Witness OR a Legacy tx and the type is not known in advance. While a few transaction methods have been implemented for convenience, This wrapper must be explicitly unwrapped before the tx object can be signed.

All possible Sighash modes

An Error type for transaction objects

Traits

Functions common to Bitcoin transactions. This provides a small abstraction layer over the Legacy/SegWit tx divide by implementing a small common interface between them.

Type Definitions

Type alias for result with TxError