Function zebra_rpc::methods::get_block_template_rpcs::get_block_template::check_synced_to_tip
source · pub fn check_synced_to_tip<Tip, SyncStatus>(
network: &Network,
latest_chain_tip: Tip,
sync_status: SyncStatus
) -> Result<()>
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.