How a new Ethereum transaction enters: a fundamental understanding
As a beginner, the exploration of the interior functioning of Bitcoin can be fascinating, but also slightly overwhelming. One of the key concepts of meaning is the way the new transactions enter and propagate into the Ethereum network. In this article, we will break down the process step by step, using simple analogies to help you understand.
Bases: Nodes and Blockchain
To begin with, let’s review the basics quickly:
* Nodes : Each node in the Ethereum network is a computer that has replied blockchain data. These nodes act as intermediaries between users and blockchain.
* Blockchain : Blockchain is a decentralized, distributed register, which records all network transactions.
Transaction process: from shipper to receiver
Now let’s throw ourselves in the way a new transaction enters the Ethereum network:
- The user initiates a transaction : An individual (alice) wants to send an ether (ETH), cryptocurrency native of the Ethereum network, to another user (Bob).
- Creating transactions : The sender creates a new transaction object and attaches to an existing block on the blockchain.
- Creating the block : A node is required to create a new block containing the transaction object. This process involves combining more transactions in a single block.
- Adding block : The newly created block is added to the blockchain, which is updated by all nodes.
network propagation
After adding the block, it is broadcast in the Ethereum network:
- Broadcast
: Each knot receives the new block and stores it in its local storage. This process is called « Broadcasting ».
- Network distribution
: The broadcast block is then distributed in the network by different mechanisms:
* Peer-to-peer network (P2p) : The knots can connect directly between them, allowing a faster propagation.
* relay servers : Specialized nodes act as relay servers, which help distribute blocks and transactions between nodes.
- network caching : As new blocks are added, the existing ones become in cache. This ensures that users do not have to wait for each block to be completely propagated.
Receiving a transaction: from blockchain
After a transaction has been broadcast and distributed in the network:
- Node revenue transactions : A node receives and verifies a new transaction object.
- Verification of the transaction : The transaction is checked by blockchain, ensuring that it is legitimate and comply with the rules of the Ethereum network (for example, the intelligent execution of the contract).
- Blockchain update : If the verification process succeeds, the transaction is added to the blockchain.
Keys -Keys
In summary, a new transaction similar to Bitcoin entering the Ethereum network involves:
- Initiation of user and creating transactions
- Creating the block and adding
- Broadcasting and distribution in the network
- Network cache for faster propagation
Understanding how transactions are propagated through the Ethereum network can help you understand the basic mechanology of blockchain technology. As you continue to learn, keep in mind that the importance of nodes, blockchain and peer networks to do these efficient and safe processes.
Do you have specific questions about this process or would you like to develop about any point?