Module breez_sdk_core::lightning::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§

Enums§

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.