pub fn check_synced_to_tip<Tip, SyncStatus>(
    network: &Network,
    latest_chain_tip: Tip,
    sync_status: SyncStatus
) -> Result<()>
where Tip: ChainTip + Clone + Send + Sync + 'static, SyncStatus: ChainSyncStatus + Clone + Send + Sync + 'static,
Expand description

Returns an error if Zebra is not synced to the consensus chain tip. This error might be incorrect if the local clock is skewed.