Module lightning_block_sync::init
source · Expand description
Utilities to assist in the initial sync required to initialize or reload Rust-Lightning objects from disk.
Functions
Performs a one-time sync of chain listeners using a single trusted block source, bringing each
listener’s view of the chain from its paired block hash to
block_source
’s best chain tip.Returns a validated block header of the source’s best chain tip.