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

Required Methods§

| 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§