zebra_state::service::read::find

Function tip_height

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

Returns the tip Height of chain. If there is no chain, returns the tip of db.