Crypto Flexs
  • DIRECTORY
  • CRYPTO
    • ETHEREUM
    • BITCOIN
    • ALTCOIN
  • BLOCKCHAIN
  • EXCHANGE
  • TRADING
  • SUBMIT
Crypto Flexs
  • DIRECTORY
  • CRYPTO
    • ETHEREUM
    • BITCOIN
    • ALTCOIN
  • BLOCKCHAIN
  • EXCHANGE
  • TRADING
  • SUBMIT
Crypto Flexs
Home»ETHEREUM NEWS»Verified, staked on eth2: #2 – Two ghosts in trench coats
ETHEREUM NEWS

Verified, staked on eth2: #2 – Two ghosts in trench coats

By Crypto FlexsFebruary 12, 20246 Mins Read
Facebook Twitter Pinterest LinkedIn Tumblr Email
Verified, staked on eth2: #2 – Two ghosts in trench coats
Share
Facebook Twitter LinkedIn Pinterest Email

Special thanks to Sacha Yves Saint-Leger and Danny Ryan for their reviews.

In this episode, we will discuss the consensus mechanism of eth2. Eth2 has a new approach to determining which block is the leader of the chain. is and no Part of a chain.

By using a hybrid between the two mechanisms, eth2 aims for consensus that is not only fast and secure when the network operates normally, but also remains secure when attacked.

trilemma

FLP not possible A key finding in the field of distributed computation is that in distributed systems it is impossible to: at the same time It is safe, lively, and completely asynchronous, as long as no unreasonable assumptions can be made about the system.

safety The idea is that decisions cannot be undone. vitality It captures the idea that something new can be determined. The protocol is asynchronous When there is no limit to how long it takes for a message to be delivered.

If nodes could communicate reliably and always follow the protocol honestly and never have conflicts, consensus would be easy, but that’s not the case in the world. If these assumptions do not hold, FLP impossibility is evidence that at least one of safety, liveness, or overall asynchrony must be compromised.

Their opinions on GHOST and forks

Eth2 is Greedy Heaviest Observed Subtree(GHOST) With the fork selection rule. GHOST selects the leader of the chain by choosing the fork with the most votes (this is done by taking into account all votes for each fork block and its child blocks).

put another way, whenever there is a fork, GHOST chooses whichever latest message supports more subtrees of that block (i.e., more recent messages support that block or one of its descendants). The algorithm does this until it reaches a block with no children.

Compared to the longest chain rule, GHOST has the advantage of reducing the effectiveness of attacks during periods of high network latency and minimizing the depth of chain reconfiguration. This is because an attacker can efficiently keep building blocks on his own chain to create the longest block, but GHOST will choose another fork because it has a higher total number of votes.

In particular, eth2 uses a variant of GHOST tailored for the PoS context called Latest Message Driven GHOST (LMD-GHOST). The basic idea of ​​LMD-GHOST is that when calculating the head of the chain, it only considers: recent This is not a vote made in the past, but a vote by each validator. This significantly reduces the computation required when running GHOST, since the number of forks that must be considered to execute fork selection cannot be greater than the number of validators.o(V)oh(v)o(V) Big O notation).

According to the rules of GHOST, validators/miners can always attempt to add new blocks to the blockchain (active) and can do so at any point in the chain history (asynchronous). Thanks to FLP, it’s live and completely asynchronous, so we know it can’t be foolproof.

GHOST prefers vitality over safety.

The lack of safety comes in the form of reconfigurations where the chain can suddenly switch between forks of arbitrary depth. Obviously, this is undesirable and eth1 handles this by forcing the user to make assumptions about how long it takes for a miner’s block to communicate with the rest of the network. XXX check. In contrast, Eth2 makes no such assumption.

Final Friendly Gadget

A blockchain without any concept of security is useless because no decisions can be made and users cannot agree on the state of the chain. enter Casper the Friendly Finality Gadget(Casper FFG). Casper FFG is a mechanism that favors safety over activity when making decisions. This means that if the network conditions are poor, the decision may be final but may not lead to anything.

FFG is an adaptation of the classic cryptocurrency economy. Practical Byzantine Fault Tolerance (PBFT) There is a step where nodes first indicate that they want to agree on something (justification) then agree that they have seen something they agree on (finish).

Eth2 does not attempt to justify and finalize every slot (the time a block is expected to be produced), but instead only attempts to justify and finalize every 32 slots. A total of 32 slots era. First, validators sign that they agree on all 32 blocks in an epoch. then if ≥2three\geq \frac23≥three2​ That way the block is justified. In subsequent epochs, the verifier gets another chance to vote to indicate that it has seen the previously justified epoch. ≥2three\geq \frac23≥three2​ This will end the era and make it part of the eth2 chain forever.

FFG uses a clever trick. The vote actually consists of two sub-votes. One is for the era being justified and the other is for the previous era being concluded. This saves a lot of extra communication between nodes and helps us achieve our goal of scaling to millions of validators.

Two ghosts wearing trench coats

Consensus within eth2 relies on LMD-GHOST, which adds new blocks and decides what the head of the chain is, and Casper FFG, which makes the final decision on which block. is and no Part of a chain. GHOST’s advantageous active properties allow new blocks to be added to the chain quickly and efficiently, while FFG follows suit to close the era, providing safety.


The two protocols are merged by executing GHOST on the last final block as determined by the FFG. Depending on its configuration, a finalized block is always part of the chain. This means that GHOST does not need to consider previous blocks.

In the general case, a block is created and ≥2three\geq \frac23≥three2​ Once the validators vote on it, this block is added to the front of the chain by GHOST, and shortly afterwards it is justified and finalized by FFG (taking the last few epochs into account).

If there is an attack on the network or multiple validators go offline, GHOST continues to add new blocks. However, since GHOST is enabled but not secure, you may change your mind about the chain head. This is because new blocks are constantly added to the chain. This means that the nodes are constantly learning new information. FFG, on the other hand, favors safety over effectiveness. That is, it stops finalizing blocks until the network is stable enough for validators to consistently vote again.

Share. Facebook Twitter Pinterest LinkedIn Tumblr Email

Related Posts

Korea’s Upbit reports $36 million loss due to Solana hot wallet breach

November 27, 2025

Grayscale calls Chainlink the ‘essential infrastructure’ for tokenized finance in new research.

November 23, 2025

Ethereum price crashes to $3,000 amid market shakeup, with analysts warning of volatility ahead.

November 19, 2025
Add A Comment

Comments are closed.

Recent Posts

Gala Games Launches ‘Dusk of the Broken’ Event with $GALA Rewards

November 29, 2025

Balancer StableSwap Analysis and Differential Fuzzing Guide

November 28, 2025

Avail Launches Nexus Mainnet, Unifies Liquidity Across Ethereum, Solana, EVMs

November 28, 2025

MEXC Launches Long-Term P2P Incentive Program To Accelerate Global Fiat Market Expansion

November 28, 2025

How are crypto casinos shaping global iGaming?

November 28, 2025

A Retired Italian Couple Earns $998 Per Day Passively Through 8hoursmining Cloud Cryptocurrency Mining.

November 27, 2025

Mantle And Bybit Unite To Bring USDT0, The Omnichain Deployment Of Tether’s USDT Stablecoin, To The Largest Exchange-Related Network

November 27, 2025

A Retired Italian Couple Earns $998 Per Day Passively Through 8hoursmining Cloud Cryptocurrency Mining.

November 27, 2025

Technance Introduces Institutional-Grade Infrastructure For Exchanges, Fintech Platforms, And Web3 Applications

November 27, 2025

Investors Eye 900× ROI Potential as Ozak AI Continues Record Presale Momentum

November 27, 2025

Korea’s Upbit reports $36 million loss due to Solana hot wallet breach

November 27, 2025

Crypto Flexs is a Professional Cryptocurrency News Platform. Here we will provide you only interesting content, which you will like very much. We’re dedicated to providing you the best of Cryptocurrency. We hope you enjoy our Cryptocurrency News as much as we enjoy offering them to you.

Contact Us : Partner(@)Cryptoflexs.com

Top Insights

Gala Games Launches ‘Dusk of the Broken’ Event with $GALA Rewards

November 29, 2025

Balancer StableSwap Analysis and Differential Fuzzing Guide

November 28, 2025

Avail Launches Nexus Mainnet, Unifies Liquidity Across Ethereum, Solana, EVMs

November 28, 2025
Most Popular

Hong Kong SFC takes action against fake cryptocurrency exchange websites

March 4, 2024

Terra Sets LUNC, USTC Recovery Schedule to Fully Repay Creditors

July 24, 2024

How Remittix can change the payment industry, encryption investors move to the wild for the latest viral altcoin.

January 29, 2025
  • Home
  • About Us
  • Contact Us
  • Disclaimer
  • Privacy Policy
  • Terms and Conditions
© 2025 Crypto Flexs

Type above and press Enter to search. Press Esc to cancel.