Function zebra_state::service::read::block::block_header
source ยท pub fn block_header<C>(
chain: Option<C>,
db: &ZebraDb,
hash_or_height: HashOrHeight,
) -> Option<Arc<Header>>
Expand description
Returns the block::Header
with block::Hash
or
Height
, if it exists in the non-finalized chain
or finalized db
.