Module breez_sdk_core::lightning::routing::utxo
Expand description
This module contains traits for LDK to access UTXOs to check gossip data is correct.
When lightning nodes gossip channel information, they resist DoS attacks by checking that each channel matches a UTXO on-chain, requiring at least some marginal on-chain transacting in order to announce a channel. This module handles that checking.
Structs§
- Represents a future resolution of a
UtxoLookup::get_utxo
query resolving async.
Enums§
- An error when accessing the chain via
UtxoLookup
. - The result of a
UtxoLookup::get_utxo
call. A call may resolve either synchronously, returning theSync
variant, or asynchronously, returning anUtxoFuture
in theAsync
variant.
Traits§
- The
UtxoLookup
trait defines behavior for accessing on-chain UTXOs.