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