pub trait FindFirstBlockWithTimeAndHeight {
    // Required method
    fn find_first_block_with_time_and_height(
        &mut self,
        min_time: i64,
        min_height: i32,
        block: &FoundBlock
    ) -> bool;
}

Required Methods§

source

fn find_first_block_with_time_and_height( &mut self, min_time: i64, min_height: i32, block: &FoundBlock ) -> bool

| Find first block in the chain with | timestamp >= the given time and height >= | than the given height, return false if | there is no block with a high enough | timestamp and height. Optionally return | block information.

Implementors§