Expand description
§Transaction Handler Module
This module defines the TxHandler abstraction, which wraps a protocol transaction and its metadata.
Metadata includes taproot scripts and protocol specific data to enable signing of the transactions.
TxHandlerBuilder is used to create TxHandlers.
Structs§
- Signed
- Marker type for signed transactions.
- TxHandler
- Handler for protocol transactions, wrapping inputs, outputs, and cached transaction data.
- TxHandler
Builder - Builder for
TxHandler, allowing stepwise construction of inputs and outputs. - Unsigned
- Marker type for unsigned transactions.
Constants§
Traits§
Functions§
- remove_
txhandler_ from_ map - Removes a
TxHandlerfrom a map by transaction type, returning an error if not found.