Module txhandler

Source
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.
TxHandlerBuilder
Builder for TxHandler, allowing stepwise construction of inputs and outputs.
Unsigned
Marker type for unsigned transactions.

Constants§

DEFAULT_SEQUENCE

Traits§

State

Functions§

remove_txhandler_from_map
Removes a TxHandler from a map by transaction type, returning an error if not found.

Type Aliases§

SighashCalculator