Block Creation
As soon as the Execution Client receives a new execution block, it starts working on a candidate for the next block, whether it is ever used or not. The potential next execution block is always available for fetch by the beacon client using local RPC connection.
When beacon client receives notice from farmer that we have found the proof of space and we are able to create new block, the following procedure takes place:
- Beacon client grabs the transactions and block hash from the execution client and adds them to the beacon block as an execution payload (local RPC)
- Beacon client broadcasts the beacon block over the block gossip protocol (beacon clients p2p network)
- Other beacon clients receive the block via the block gossip protocol and validate it