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