Ethereum: How does a new block get distributed

Ethereum: How does a new block get distributed

How to distribute new blocks on Ethereum: An explanation step by step

When a new block is created on the Ethereum blockchain, it is not just a matter of being added to them List the extinguishing blocks. In fact, it requires a complex process that involves more steps and checks. Here is a detailed expulsion of how a new block is distributed on Ethereum:

Creating process

A new block is created when a miner solves a complex puzzle, insolvency as a “hash function”, surviving the processing power of their computer. This will be designated to be difficult to solve, ensuring that legitimate transactions can be a new block.

About Miner, he solved the puzzle and created a new block, they broadcast it will be a special message called “hash block”.

Checking process

To ensure the integrity on Blockchain, the Ethereum network records a validation process. This involves checking several key aspects on them new:

  • Validation of the transct : The new checking that all transactions in the block are the block is not previously included in another block on them.

  • Verification of block header : Block header, which includes information thus the block number, limit and notce (a unique identifier), must be correctly formatted and contest.

  • Checking the number of transactions : Each transaction in the block must have increased the country, ensuring that the transactions are not shown or modified.

  • If the limit validation

    : The total amontum of the unspoken foreheads will be suffered in the process all transactions.

IF IF Tecks passes, the Mineer blocks are accepted the Ethereum network and added to the blockchain as a “block” or “transct” separately.

Publication of the new block

Yes, you’re right; The newly believed block must advertise its extension at the nearby nodes. This is the knowledge as a “broadcasting”. Here’s how it works:

  • Broadca of block head : to the east of the new block is included in a special data structure called “block header”, which is the mentioned information.

  • Discovering the node : The nearby nodes in the Ethereum network, such as the ones dealing with the Ethereum (EVM) virtual machine, use the bilt-in database or other mechanisms to discover and store.

  • Verification of the node : When a node has received a new block header, it will be checked that will suit its local copy of the hashes, transaction computers, gas and detail.

If the verification crossings and a node swim an exact match for the new block, it cannot store a reference to block in their database. This allows the nodes to verify the authenticity in subsequent transactions that include this block as part of them.

How nodes check the new block

On the knot, a knot received a new block header and has offended the containers, it is ready to start validating the subscription blocks on the network. Here is a resort to a new block:

  • Validation of transactions : The node verifies that it is the new block is the opening, and the Etherum rules will be the transactions to Blockchain.

  • BLOCK HEADER COMPRIS : Local copy of the block node for the new block header has received other knots, to be in information matches.

  • If the limit validation : The larger amount outside the blocks from the previous date of these transactions.

  • Checking the Hash function: the node checks the new block of the block the expected value, entering that they are so solved correctly.

ethereum op_return data transaction

Leave a Comment

Tu dirección de correo electrónico no será publicada. Los campos obligatorios están marcados con *