Function zebra_state::service::read::find::tip_hash

source ·
pub fn tip_hash<C>(chain: Option<C>, db: &ZebraDb) -> Option<Hash>
where C: AsRef<Chain>,
Expand description

Returns the tip block::Hash of chain. If there is no chain, returns the tip of db.