Function zebra_state::service::read::find::depth

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

Return the depth of block hash from the chain tip. Searches chain for hash, then searches db.