zebra_state::service::read::find

Function finalized_state_contains_block_hash

source
pub fn finalized_state_contains_block_hash(
    db: &ZebraDb,
    hash: Hash,
) -> Option<KnownBlock>
Expand description

Returns the location of the block if present in the finalized state. Returns None if the block hash is not found in the finalized state.