pub trait BlockProducerDatabase: Send + Sync {
    fn get_block(
        &self,
        fuel_height: BlockHeight
    ) -> Result<Option<Cow<'_, FuelBlockDb>>>; fn current_block_height(&self) -> Result<BlockHeight>; }

Required Methods§

Fetch previously committed block at given height.

Fetch the current block height.

Implementors§