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