At about 14:42 Beijing time on September 15, Ethereum officially completed the merger. Ethereum triggered the merger mechanism at block height 15537393 and produced the first PoS block with a height of 15537394. The Ethereum consensus officially switched from PoW to PoS mechanism. Ethereum has entered the post-merger era. How much do you know about Ethereum 2.0? This article uses 15 concepts to give you a deep understanding of it. 1. Beacon chainThe beacon chain introduces proof of stake to Ethereum 1.0 and runs in parallel with Ethereum 1.0. The beacon chain is also known as the coordination layer. The beacon chain has the following functions:
2. Slots32 Slots = 1 Epoch 1 slot lasts 12 seconds, during which a randomly selected validator proposes a block. There may or may not be a block in each slot. All validators are divided into committees, with one or more separate committees responsible for validating each slot. One validator in the committee will be selected as the aggregator, while the other 127 validators will perform validation. After each Epoch, the validators from each committee are mixed and merged into a new committee. Each committee has at least 128 validators. 3. Epoch1 Epoch = 32 Slot 1 epoch represents 32 slots and takes about 6.4 minutes. Epoch plays an important role when it comes to validator queues and finality. 4. Deposit ContractThe deposit contract is the gateway from the smart contract on Ethereum 1.0 to Ethereum 2.0. The smart contract accepts any transaction with a minimum of 1 ETH and valid input data. The Ethereum 2.0 beacon node listens to the deposit contract and uses the input data to trust each validator node. 5. Input DataThe input data, also called deposit data, is a user-generated sequence of 842 characters in length. It represents the validator public key and the withdrawal public key, signed by the validator private key. The input data needs to be added to the transaction and deposit contracts in order to be recognized by the beacon chain. 6. ValidatorValidators need to deposit 32 ETH in the validator deposit contract on the Ethereum 1.0 chain. Validator operators must run a validator node. The responsibilities of the validator are to propose blocks and sign proofs. Validators must guarantee at least half of the online time to receive positive returns. Eligible for activation & estimated activation Please refer to the explanation of relevant terms about waiting for activation of validators below. The security deposit has been identified by the "Meeting the activation conditions" timestamp of the ETH2 chain. If there is a queue of validators waiting for activation, the estimated activation timestamp needs to be calculated. 7. Unique IndexEach validator receives its own unique index. 8. Current Balance & Effective BalanceThe current balance represents the amount of ETH currently held by the validator. The effective balance represents the value calculated from the current balance and is used to determine the size of the reward or penalty received by the validator. The effective balance can never exceed 32 ETH. To increase the effective balance, the validator requires "effective balance + 1.25 ETH". In other words, if the effective balance is 20 ETH, the current balance needs to be 21.25 ETH to get an effective balance of 21 Ethereum. As shown in the above example, the effective balance will be adjusted when it falls below the threshold of 0.25. Here is an example of how the effective balance changes:
9. SlasherSlashers are their own entity, but require a beacon node to receive proofs. To detect malicious behavior by validators, the slasher iterates through all received proofs until a slashing attack is discovered. The discovered slashing is broadcast to the network and the next block proposer adds the proof to the block. The block proposer is rewarded for slashing the malicious validator. However, slashers will not be rewarded. Punishable offences Attestation Violation
Proposer Violation
10. AttestationA vote by an Attester who verifies the validity of a block. 11. Block ProposerThe validator selected by the beacon chain proposes the next block. Each slot can only have one valid block. 12. Block Status
1. The validator of slot 1 proposes block “a”. 2. The validator of slot 2 proposes block “b”. 3. Slot 4 was missed because the validator did not propose any blocks (e.g. offline). 4. A fork occurs in slot 5/6: Validator (5) proposes a block, but Validator (6) does not receive relevant information (for example, the block does not reach the validator fast enough). So Validator (6) proposes a block based on the latest information seen from Validator (3). 5. The fork selection rule plays a key role here - it determines which chain among the available chains is the canonical chain. 13. Validator Lifecycle(1) Deposited margin32 ETH has been deposited into the ETH1 deposit contract, and this state will remain for about 7 hours. This provides security in the event that the ETH1 chain is attacked. (2) Waiting for activation Waiting for activation on ETH2. Before validators can be added to the validator queue, they need to be voted in by other active validators. Voting happens every 4 hours.
(3) Active Validator The block currently being confirmed and proposed (=block proposer) The validator will remain active until:
(4) Slashing Validator The validator is a malicious validator and will be fined and kicked out of the system.
(5) Exiting Validator
14. FinalizationIn Ethereum 2.0, at least two-thirds of validators must be honest, so if there are two competing epochs and one-third of the validators decide to act maliciously, they will be punished. The honest ones will be rewarded. To determine if an epoch is finalized, validators must agree on the two latest epochs in a row (= "proven"), and then all previous epochs can be considered finalized. The Epoch that was finally confirmed and the Epoch that is being processed at 19:26 Beijing time on September 5 15. Finality issuesIf the voting rate of an epoch is less than 66.6% (= participation rate), the epoch cannot be established. As mentioned in the concept of "finality", three consecutive proven epochs are required to achieve finality. As long as the chain cannot reach this state, there is a finality problem. During the period of finality issues, the validator queue will be paused and new validators cannot join the network, however, inactive validators with a balance less than 16 ETH will be kicked out of the network. This makes the network more stable and has higher participation rates. |
<<: V God: Why did Ethereum choose PoS?
>>: Why is it important for the merger to shift ETH from inflation to deflation?
The marriage line often hints at the course of a ...
What do the four marriage lines indicate? What do...
The "Book of Changes", also known as th...
An excellent success line is preferably straight ...
Although many people will remove the moles on the...
Palmistry is a relatively important part of fortu...
Men all want to find a gentle and virtuous woman....
People with moles on the upper eyelids will have ...
Of course, people with small eyes and lots of whi...
Is it good for the end of the marriage line to be...
What are Yintang lines? What are Yintang lines? W...
Mars Finance reported that at the Blockchain Indu...
Love should be something that everyone aspires to...
Notorious black-hearted pharmaceutical tycoon Mar...
I think phoenix eyes are very familiar to many pe...