Trait PredefinedBlocks

Source
pub trait PredefinedBlocks: Send + Sync {
    // Required method
    fn get_block(&self, height: &BlockHeight) -> Result<Option<Block>>;
}

Required Methods§

Source

fn get_block(&self, height: &BlockHeight) -> Result<Option<Block>>

Implementors§