fuel_core_p2p::ports

Trait BlockHeightImporter

Source
pub trait BlockHeightImporter: Send + Sync {
    // Required method
    fn next_block_height(&self) -> BoxStream<BlockHeight>;
}

Required Methods§

Source

fn next_block_height(&self) -> BoxStream<BlockHeight>

Creates a stream of next block heights

Implementors§