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§

UtxoFuture
Represents a future resolution of a UtxoLookup::get_utxo query resolving async.

Enums§

UtxoLookupError
An error when accessing the chain via UtxoLookup.
UtxoResult
The result of a UtxoLookup::get_utxo call. A call may resolve either synchronously, returning the Sync variant, or asynchronously, returning an UtxoFuture in the Async variant.

Traits§

UtxoLookup
The UtxoLookup trait defines behavior for accessing on-chain UTXOs.