Module 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§
- Utxo
Future - Represents a future resolution of a
UtxoLookup::get_utxo
query resolving async.
Enums§
- Utxo
Lookup Error - An error when accessing the chain via
UtxoLookup
. - Utxo
Result - 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§
- Utxo
Lookup - The
UtxoLookup
trait defines behavior for accessing on-chain UTXOs.