Trait fuel_core_p2p::ports::BlockHeightImporter
source · pub trait BlockHeightImporter: Send + Sync {
// Required method
fn next_block_height(&self) -> BoxStream<BlockHeight>;
}
Required Methods§
sourcefn next_block_height(&self) -> BoxStream<BlockHeight>
fn next_block_height(&self) -> BoxStream<BlockHeight>
Creates a stream of next block heights