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
UtxoSourceand a few LDK objects and implements the LDKUtxoLookuptrait. - Tokio
Spawner tokio - A trivial
FutureSpawnerwhich delegates totokio::spawn.
Traits§
- Utxo
Source - A trait which extends
BlockSourceand 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).