Function zebra_state::service::read::find::height_by_hash

source ยท
pub fn height_by_hash<C>(
    chain: Option<C>,
    db: &ZebraDb,
    hash: Hash,
) -> Option<Height>
where C: AsRef<Chain>,
Expand description

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