Trait fuel_core_p2p::ports::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§