Async Block Relaying With Compact Block Relay (BIP-152)

Compact Block Relay (BIP-152) introduced an efficient way to relay blocks when there's good mempool sync between nodes, best illustrated by this figure from the BIP:

enter image description here

The figure implies block can be relayed before the receiving node finishes processing it.

I want to know what is the situation in practice in Bitcoin Core?

I imagine this would be safe:

  1. Receive block in full (critical path)
  2. Verify PoW and Merkle root first (critical path)
  3. Relay the block (not on critical path, other thread can do)
  4. Validate fully and connect block (critical path)
  5. Start mining new tip (critical path)

So, what is the delay between receive and send?



from Recent Questions - Bitcoin Stack Exchange https://ift.tt/8FM3Afy
via IFTTT

Popular posts from this blog

Bitcoin Mining Could Be Strengthening The Ruble, Russian Central Bank Says

Crypto Exec Warns Tokenization Is Moving Faster Than Expected

Bitwise Clients Pour $69M Into Solana as Bulls Fight to Reclaim $200 Resistance Zone