Compact Block Relay (BIP-152) launched an environment friendly solution to relay blocks when there’s good mempool sync between nodes, finest illustrated by this determine from the BIP:
The determine implies block could be relayed earlier than the receiving node finishes processing it.
I wish to know what’s the scenario in observe in Bitcoin Core?
I think about this may be secure:
- Obtain block in full (important path)
- Confirm PoW and Merkle root first (important path)
- Relay the block (not on important path, different thread can do)
- Validate totally and join block (important path)
- Begin mining new tip (important path)
So, what’s the delay between obtain and ship?