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_utxoquery resolving async.
Enums§
- Utxo
Lookup Error - An error when accessing the chain via
UtxoLookup. - Utxo
Result - The result of a
UtxoLookup::get_utxocall. A call may resolve either synchronously, returning theSyncvariant, or asynchronously, returning anUtxoFuturein theAsyncvariant.
Traits§
- Utxo
Lookup - The
UtxoLookuptrait defines behavior for accessing on-chain UTXOs.