Expand description
When fetching gossip from peers, lightning nodes need to validate that gossip against the
current UTXO set. This module defines an implementation of the LDK API required to do so
against a BlockSource
which implements a few additional methods for accessing the UTXO set.
Structs§
- Gossip
Verifier - A struct which wraps a
UtxoSource
and a few LDK objects and implements the LDKUtxoLookup
trait. - Tokio
Spawner tokio
- A trivial
FutureSpawner
which delegates totokio::spawn
.
Traits§
- Future
Spawner - A generic trait which is able to spawn futures in the background.
- Utxo
Source - A trait which extends
BlockSource
and can be queried to fetch the block at a given height as well as whether a given output is unspent (i.e. a member of the current UTXO set).