Module chain
Expand description
Structs and traits which allow other parts of rust-lightning to interact with the blockchain.
Modules§
- Traits and utility impls which allow other parts of rust-lightning to interact with the blockchain.
- Logic to connect off-chain channel management with on-chain transaction monitoring.
- The logic to monitor for on-chain transactions and create the relevant claim responses lives here.
- Types describing on-chain transactions.
Structs§
- The best known block as identified by its hash and height.
- A unique identifier to track each pending output claim within a
ChannelMonitor
. - A transaction output watched by a
ChannelMonitor
for spends on-chain.
Enums§
- An enum representing the status of a channel monitor update persistence.
Traits§
- The
Confirm
trait is used to notify LDK when relevant transactions have been confirmed on chain or unconfirmed during a chain reorganization. - The
Filter
trait defines behavior for indicating chain activity of interest pertaining to channels. - The
Listen
trait is used to notify when blocks have been connected or disconnected from the chain. - The
Watch
trait defines behavior for watching on-chain activity pertaining to channels as blocks are connected and disconnected.