Crate dlc_manager
source ·Expand description
Library providing data structures and functions supporting the execution
and management of DLC.
Modules
Module containing structures and methods for working with DLC channels.
This module contains static functions to update the state of a DLC channel.
Module containing structures and functions related to contracts.
This module contains static functions to update the state of a DLC.
#Error
#Manager a component to create and update DLCs.
#PayoutFunction
Structs
Provide current time through
SystemTime
.Represents a UTXO.
Traits
Blockchain trait provides access to the bitcoin blockchain.
Oracle trait provides access to oracle information.
Provides signing related functionalities.
Storage trait provides functionalities to store and retrieve DLCs.
Time trait to provide current unix time. Mainly defined to facilitate testing.
Wallet trait to provide functionalities related to generating, storing and
managing bitcoin addresses and UTXOs.
Type Definitions
Type alias for a channel id.
Type alias for a contract id.