pub(crate) fn start_early_relay_check<ZS, ZSTip>(
read_state: &ZS,
latest_chain_tip: &ZSTip,
block: &Arc<Block>,
) -> Option<JoinHandle<bool>>Expand description
Starts checking block against the best tip, if its parent is the best tip, and returns the
task that checks it.
Only call this for a block from a connection that negotiated compact block relay, just before the block is verified. The check runs while the block is verified, so if the block fails later validation, the check doesn’t depend on whether another block became the best tip first.