Module lightning_block_sync::poll[][src]

Expand description

Adapters that make one or more BlockSources simpler to poll for new chain tip transitions.

Structs

The canonical Poll implementation used for a single BlockSource.

A block with validated data against its transaction list and corresponding block hash.

A block header with validated proof of work and corresponding block hash.

Enums

A chain tip relative to another chain tip in terms of block hash and chainwork.

Traits

The Poll trait defines behavior for polling block sources for a chain tip and retrieving related chain data. It serves as an adapter for BlockSource.

The Validate trait defines behavior for validating chain data.