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