pub fn block_info<C>(
chain: Option<C>,
db: &ZebraDb,
hash_or_height: HashOrHeight,
) -> Option<BlockInfo>
Expand description
Returns the BlockInfo
with block::Hash
or
Height
, if it exists in the non-finalized chain
or finalized db
.