Function zebra_state::service::read::find::tip

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

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