zebra_state::service::read::find

Function hash_by_height

source
pub fn hash_by_height<C>(
    chain: Option<C>,
    db: &ZebraDb,
    height: Height,
) -> Option<Hash>
where C: AsRef<Chain>,
Expand description

Return the hash for the block at height, if height is in chain or db.