Module lightning_block_sync::init[][src]

Functions

synchronize_listeners

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.

validate_best_block_header

Returns a validated block header of the source’s best chain tip.