Module vtxo

Module vtxo 

Source
Expand description

Representations of VTXOs in an Ark.

Structs§

PubkeyVtxoPolicy
ServerHtlcRecvVtxoPolicy
ServerHtlcSendVtxoPolicy
Vtxo
Represents a VTXO in the Ark.
VtxoId
VtxoIdParseError
VtxoSpec
Information that specifies a VTXO, independent of its origin.
VtxoTxIter
Iterator returned by Vtxo::transactions.
VtxoTxIterItem
Type of the items yielded by VtxoTxIter, the iterator returned by Vtxo::transactions.

Enums§

ValidationResult
Result of VTXO validation
VtxoPolicy
The output policy of the VTXO.
VtxoPolicyKind
Type enum of VtxoPolicy.
VtxoValidationError

Constants§

EXIT_TX_WEIGHT
The total signed tx weight of a exit tx.

Traits§

VtxoRef
Implemented on anything that is kinda a Vtxo

Functions§

create_exit_tx
Create an exit tx.
exit_taproot
Returns taproot spend info for a regular vtxo exit output.