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