pub fn tip_height<C>(chain: Option<C>, db: &ZebraDb) -> Option<Height>where C: AsRef<Chain>,
Returns the tip Height of chain. If there is no chain, returns the tip of db.
Height
chain
db