block_range

Function block_range 

Source
pub async fn block_range<R, D>(
    ds: &D,
    range: R,
) -> BoxStream<'static, BlockQueryData<MockTypes>>
where D: TestableDataSource, R: RangeBounds<usize> + Send + 'static,
Expand description

Get a stream of blocks, implicitly terminating at the current block height.