pub fn height_by_hash<C>( chain: Option<C>, db: &ZebraDb, hash: Hash, ) -> Option<Height>where C: AsRef<Chain>,
Return the height for the block at hash, if hash is in chain or db.
hash
chain
db