pub trait HasBlocks {
    // Required method
    fn has_blocks(
        &mut self,
        block_hash: &u256,
        min_height: i32,
        max_height: Option<i32>
    ) -> bool;
}

Required Methods§

source

fn has_blocks( &mut self, block_hash: &u256, min_height: i32, max_height: Option<i32> ) -> bool

| Return true if data is available for all | blocks in the specified range of | blocks. This checks all blocks that are | ancestors of block_hash in the height | range from min_height to max_height, | inclusive.

Implementors§