Skip to main content

Module vtxo

Module vtxo 

Source
Expand description

Representations of VTXOs in an Ark.

Re-exports§

pub use self::policy::Policy;
pub use self::policy::VtxoPolicy;
pub use self::policy::VtxoPolicyKind;
pub use self::policy::ServerVtxoPolicy;
pub use self::policy::PubkeyVtxoPolicy;
pub use self::policy::CheckpointVtxoPolicy;
pub use self::policy::ExpiryVtxoPolicy;
pub use self::policy::HarkLeafVtxoPolicy;
pub use self::policy::ServerHtlcRecvVtxoPolicy;
pub use self::policy::ServerHtlcSendVtxoPolicy;
pub use self::policy::clause::VtxoClause;
pub use self::policy::clause::DelayedSignClause;
pub use self::policy::clause::DelayedTimelockSignClause;
pub use self::policy::clause::HashDelaySignClause;
pub use self::policy::clause::TapScriptClause;

Modules§

policy
VTXO policies
raw
Raw VTXO representation with public fields for data migrations.

Structs§

Bare
Representing “bare” VTXOs that are just output details without genesis
Full
Representing “full” VTXOs that contain the full genesis
Vtxo
Represents a VTXO in the Ark.
VtxoId
VtxoIdParseError
VtxoTxIter
Iterator returned by Vtxo::transactions.
VtxoTxIterItem
Type of the items yielded by VtxoTxIter, the iterator returned by Vtxo::transactions.

Enums§

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.

Type Aliases§

ServerVtxo
Type alias for a server-internal VTXO that may have policies without user pubkeys.