Free 30-min Web3 Consultation
Book Consultation
Smart Contract Security Audits
View Audit Services
Custom DeFi Protocol Development
Explore DeFi
Full-Stack Web3 dApp Development
View App Services
Free 30-min Web3 Consultation
Book Consultation
Smart Contract Security Audits
View Audit Services
Custom DeFi Protocol Development
Explore DeFi
Full-Stack Web3 dApp Development
View App Services
Free 30-min Web3 Consultation
Book Consultation
Smart Contract Security Audits
View Audit Services
Custom DeFi Protocol Development
Explore DeFi
Full-Stack Web3 dApp Development
View App Services
Free 30-min Web3 Consultation
Book Consultation
Smart Contract Security Audits
View Audit Services
Custom DeFi Protocol Development
Explore DeFi
Full-Stack Web3 dApp Development
View App Services
LABS
Glossary

Casper FFG

Casper FFG (Friendly Finality Gadget) is a proof-of-stake-based mechanism that provides provable, irreversible finality to blocks, working alongside a chain's underlying consensus algorithm.
Chainscore © 2026
definition
CONSENSUS MECHANISM

What is Casper FFG?

Casper FFG (Friendly Finality Gadget) is a proof-of-stake (PoS) finality mechanism designed to be layered on top of a proof-of-work (PoW) blockchain to provide provable, irreversible finality to blocks.

Casper FFG, or the Friendly Finality Gadget, is a proof-of-stake (PoS)-based consensus mechanism originally proposed by Vitalik Buterin and Virgil Griffith. Its primary function is to act as an overlay, providing economic finality to an underlying blockchain, most notably Ethereum's original proof-of-work chain. Unlike pure Nakamoto consensus, where chain reorganizations are always possible, Casper FFG introduces finalized checkpoints—blocks that cannot be reverted without the attacker losing a catastrophic amount of staked ETH. This hybrid model was a core part of Ethereum's multi-year transition plan, known as Ethereum 2.0 or the consensus layer upgrade.

The mechanism operates through a two-phase voting process conducted by validators who have staked ETH. Validators vote on checkpoints, which are blocks at epoch boundaries (e.g., every 100 blocks). A checkpoint becomes justified when a two-thirds supermajority of validators vote for it. A second, subsequent vote then finalizes it, making it irreversible. This process creates a finality gadget because it "gadgets onto" an existing chain, adding a strong finality guarantee. The security model is based on slashing conditions, where validators are penalized (their stake is "slashed") for voting maliciously, such as by equivocating or surrounding votes.

Casper FFG was a foundational concept for Ethereum's shift to proof-of-stake but was ultimately superseded by the Gaspar finality gadget in the live Beacon Chain. Gasper combines Casper FFG's finality mechanism with the LMD-GHOST fork-choice rule to create a unified protocol. The key legacy of Casper FFG is its formalization of crypto-economic finality, where security is enforced by the credible threat of financial loss, a principle central to all modern PoS systems like Ethereum, Cardano, and Polkadot.

etymology
TERM BACKGROUND

Etymology and Origin

The name 'Casper FFG' is a portmanteau that fuses a friendly ghost with a core blockchain consensus mechanism, representing a pivotal hybrid design in Ethereum's evolution.

Casper FFG is a proof-of-stake (PoS) consensus mechanism originally proposed for Ethereum, with its name derived from two distinct sources. The 'Casper' portion is a playful reference to the 'friendly ghost' cartoon character, chosen to signify a security-focused and 'friendly' alternative to the potentially adversarial 'Nakamoto consensus' of proof-of-work. The 'FFG' suffix stands for 'Friendly Finality Gadget,' a technical term describing its initial function as an overlay that could be added to an existing proof-of-work chain to provide finality—a cryptographic guarantee that a block cannot be reverted.

The concept was introduced in a 2017 research paper by Ethereum Foundation researchers Vitalik Buterin and Virgil Griffith. Its design was a direct response to the limitations of Nakamoto consensus, which offers only probabilistic finality. Casper FFG's innovation was to provide economic finality through staking: a set of validators stake ETH as collateral, and if they attempt to finalize conflicting blocks (a safety fault), their entire stake can be slashed. This created a cryptoeconomic layer of security on top of the chain's underlying consensus.

While Casper FFG was a foundational blueprint, it was ultimately superseded in practice by the Casper CBC (Correct-by-Construction) specification and, most notably, the deployed Gaspar protocol, which is the finality gadget used in the live Ethereum Beacon Chain. Despite this, the term 'Casper' remains synonymous with Ethereum's transition to proof-of-stake, and the FFG design profoundly influenced the core concepts of slashing conditions, validator sets, and epoch-based finality that are central to Ethereum's current consensus layer.

key-features
CASPER FFG

Key Features

Casper FFG (Friendly Finality Gadget) is a hybrid consensus mechanism that overlays a Proof-of-Stake finality layer on a Proof-of-Work chain, providing mathematically-guaranteed transaction finality.

01

Hybrid Consensus Architecture

Casper FFG operates as a finality overlay on an underlying chain, typically Proof-of-Work. It does not replace the base chain's consensus but adds a finality gadget that periodically 'checkpoints' blocks. This allows it to inherit the security and decentralization of PoW while adding the economic finality guarantees of PoS.

02

Two-Phase Finality Voting

Validators cast votes in two distinct phases to finalize blocks:

  • Prepare Vote: Validators attest to a target checkpoint block.
  • Commit Vote: After a supermajority of validators prepares, they vote to commit that checkpoint. A block is finalized only after receiving a supermajority of commit votes, making it irreversible except via a catastrophic consensus failure requiring the slashing of at least one-third of the total staked ETH.
03

Slashing Conditions & Incentives

The protocol's security is enforced through cryptoeconomic penalties (slashing) for malicious behavior. Key slashing conditions punish:

  • Double Voting: Signing two conflicting prepare or commit messages.
  • Surround Voting: Attempting to revert a previously finalized checkpoint. Slashing results in the confiscation of the validator's staked assets and ejection from the validator set, aligning economic incentives with honest participation.
04

Checkpoint-Based Finality

Finality is achieved on checkpoints, not individual blocks. A checkpoint is created every 32 blocks (one epoch in Ethereum). The protocol treats these checkpoints as the units for voting and finalization. This design reduces communication complexity and allows the base chain (e.g., PoW) to handle block production and ordering, while Casper FFG provides a final seal on epoch boundaries.

06

Contrast with CBC Casper

It is crucial to distinguish Casper FFG from Casper CBC (Correct-by-Construction). While both aim for PoS finality, they are different designs:

  • FFG: A specific, implemented hybrid protocol.
  • CBC: A more abstract, family of protocols defined by desired properties. FFG is often described as an instantiation of some CBC principles, but they are not the same protocol.
how-it-works
CONSENSUS MECHANISM

How Casper FFG Works

Casper the Friendly Finality Gadget (FFG) is a hybrid consensus protocol that overlays a Proof-of-Stake (PoS) finality mechanism on top of a Proof-of-Work (PoW) blockchain, providing mathematically provable security guarantees for transaction finality.

Casper FFG operates in epochs, which are groups of 100 blocks in the underlying PoW chain. At the end of each epoch, a committee of validators, who have staked the network's native cryptocurrency as collateral, participates in a two-phase voting process. They first vote to justify a checkpoint block, and then, in a subsequent epoch, vote to finalize it. Once a checkpoint is finalized, it becomes irreversible—it cannot be reverted without the attacker losing at least one-third of the total staked value, a scenario designed to be economically catastrophic.

The protocol's security stems from its slashing conditions. Validators are financially penalized ("slashed") for actions that violate the consensus rules, such as voting for two conflicting checkpoints (equivocation) or surrounding a vote. This crypto-economic security model ensures that honest behavior is the only rational strategy. The core innovation is that finality is decoupled from the probabilistic security of the underlying chain, providing a stronger guarantee than the "longest chain rule" of pure PoW.

Casper FFG was originally proposed as an upgrade path for Ethereum, serving as a transitional mechanism from pure PoW to full PoS. Its hybrid design allowed the network to benefit from PoS's finality guarantees while maintaining the battle-tested security of its existing PoW infrastructure. This paved the way for the eventual deployment of the fully PoS Casper CBC (Correct-by-Construction) protocol and the consensus layer now used in Ethereum 2.0 (the Beacon Chain).

Key advantages of the FFG approach include accountable safety—if the protocol breaks, the malicious validators can be identified and slashed—and plausible liveness, ensuring the network can always finalize new checkpoints if a sufficient portion of validators are honest. Its primary trade-off is increased complexity from managing two intertwined consensus mechanisms and the requirement for a robust validator activation and exit process.

visual-explainer
CASPER FFG MECHANICS

Visual Explainer: The Checkpoint Chain

A visual guide to understanding the checkpoint chain, the core mechanism of Ethereum's Casper FFG (Friendly Finality Gadget) that provides provable finality to the blockchain.

The checkpoint chain is a conceptual abstraction within the Casper FFG (Friendly Finality Gadget) protocol that transforms a linear blockchain into a series of linked epochs, each culminating in a finalized checkpoint. Instead of viewing the chain as individual blocks, validators attest to pairs of block hashes called checkpoints, which represent the first and last blocks of an epoch (e.g., block 100 and block 200). This structure allows the consensus to focus on achieving finality for these epoch boundaries rather than every single block, making the security argument more efficient and manageable.

Finality is achieved through a two-phase voting process known as supermajority links. In the first phase, validators cast a vote to establish a checkpoint. In the second phase, they cast a second vote to create a supermajority link from that checkpoint to a newer one. When a checkpoint has a supermajority link pointing to it from a justified checkpoint, it becomes finalized. This means it is permanently cemented into the chain's history and can never be reverted without the catastrophic slashing of at least one-third of the total staked ETH, providing economic finality.

The security model is enforced by slashing conditions that punish validators for violating the FFG rules. The two key conditions are: (1) voting for two conflicting checkpoints within the same epoch (surround vote), and (2) voting twice within the same epoch (double vote). These rules ensure that for a finalized checkpoint to be reverted, a large portion of validators must act maliciously and have a significant portion of their staked ETH destroyed, making such an attack economically irrational and thus securing the chain.

Visually, you can imagine the checkpoint chain as a secondary, simplified graph overlaid on the main blockchain. The nodes are checkpoint blocks (epoch boundaries), and the directed edges are the supermajority links formed by validator votes. A fork choice rule like LMD-GHOST is used to determine the canonical head of the chain for block production, while Casper FFG operates on this checkpoint graph to provide finality guarantees. This separation of concerns is key to Ethereum's hybrid proof-of-stake design.

In practice, this mechanism was integral to Ethereum's Beacon Chain and continues to underpin the consensus of the modern Ethereum network post-Merge. Every 32 slots (approximately 6.4 minutes), a new epoch begins, and validators participate in the checkpoint finalization process. This creates a chain of finalized epochs, providing users and applications with strong, cryptoeconomic guarantees about the immutability of transactions after just two epochs, typically within 12-15 minutes.

ecosystem-usage
CASPER FFG

Ecosystem Usage

Casper FFG is a hybrid consensus mechanism that provides finality to Proof-of-Work blockchains. It is primarily used to enhance the security and user experience of existing networks.

02

Hybrid PoW/PoS Security

In its original design for Ethereum, Casper FFG created a hybrid model where:

  • Proof-of-Work provided liveness and produced candidate blocks.
  • Casper FFG provided safety and finality by periodically finalizing a chain of blocks. This allowed the network to benefit from PoW's robustness while introducing the unambiguous settlement of PoS finality.
03

Finality vs. Probabilistic Finality

Casper FFG introduced plausible liveness and accountable safety to improve upon pure Nakamoto Consensus.

  • Traditional PoW: Offers probabilistic finality; chain reorgs are possible but become exponentially unlikely.
  • Casper FFG: Provides economic finality. Once a block is finalized, reverting it would require at least one-third of validators to be slashed, making attacks provably costly and detectable.
04

The Transition to Full PoS

Casper FFG served as a critical transitional mechanism. It allowed Ethereum to:

  • Test Proof-of-Stake logic in a live, high-value environment on the Beacon Chain.
  • Build a large, decentralized validator set (over 1 million validators) before the Merge.
  • De-risk the full transition by separating the consensus layer (Casper FFG/PoS) from the execution layer (PoW) initially.
05

Influence on Later Protocols

The concepts from Casper FFG directly influenced modern Proof-of-Stake and BFT protocols:

  • Gasper: Ethereum's current consensus protocol, which combines Casper FFG with the LMD-GHOST fork-choice rule.
  • Finality Gadget Pattern: The model of a finality layer atop a base chain inspired other projects seeking to add finality.
  • Its slashing conditions for equivocation and surround voting are foundational to many PoS systems.
06

Key Distinction from Casper CBC

It's crucial to distinguish the two 'Casper' research lines. While both aim for secure Proof-of-Stake, they differ fundamentally:

  • Casper FFG (Friendly Finality Gadget): A specific, implemented hybrid protocol. It's an 'overlay' that finalizes blocks from an underlying chain.
  • Casper CBC (Correct-by-Construction): A theoretical framework for building consensus protocols. It defines desired properties and allows protocols to emerge to meet them.
security-considerations
CASPER FFG

Security Considerations and Slashing

Casper FFG (Friendly Finality Gadget) is a Proof-of-Stake consensus mechanism that uses a slashing protocol to secure the network by penalizing validators for provable misbehavior.

01

The Slashing Conditions

Casper FFG defines specific, provable actions that constitute a breach of protocol, leading to the slashing (destruction) of a validator's staked ETH. The two primary conditions are:

  • Surround Voting: Voting for two conflicting checkpoints where one surrounds the other in the epoch/height view.
  • Double Voting: Casting two distinct votes within the same epoch. These are cryptographically verifiable offenses, not subjective judgments.
02

Inactivity Leak

If more than one-third of validators go offline, the chain cannot achieve finality. The inactivity leak is a safety mechanism that gradually slashes the stake of non-participating validators until the active validator set constitutes a two-thirds supermajority again, allowing finality to resume. This protects the chain from stalling indefinitely.

03

Economic Security & Game Theory

Security is derived from the high economic cost of attacking the network. To violate safety (cause a finality reversion), an attacker must control at least one-third of the total staked ETH. This stake would be subject to slashing, making the attack prohibitively expensive. The protocol incentivizes honest participation by making coordination on the canonical chain the dominant strategy.

04

Finality vs. Liveness

Casper FFG prioritizes safety (no two finalized checkpoints conflict) over liveness (the chain always progresses). This is a key design choice. Under normal conditions, the chain is live and finalizes checkpoints. Under extreme partition or attack, it may halt finalization (preserving safety) rather than risk finalizing conflicting blocks. The inactivity leak is the mechanism to restore liveness.

05

Relationship to LMD-GHOST

In Ethereum's consensus layer, Casper FFG does not operate alone. It is combined with LMD-GHOST, the fork-choice rule. LMD-GHOST is responsible for selecting the canonical chain head (optimizing for liveness), while Casper FFG finalizes checkpoints on that chain (optimizing for safety). This hybrid model is often referred to as Gasper.

06

Validator Lifecycle & Exit

A validator's staked ETH is locked and at risk of slashing from the moment they are activated until they fully exit the validator set. The exit process is queue-based and takes a minimum of ~27 hours. Even during exit, a validator can be slashed for misbehavior. This ensures attackers cannot quickly withdraw their stake after an attack.

FINALITY COMPARISON

Casper FFG vs. Other Finality Mechanisms

A comparison of Casper FFG's finality-by-bet approach against probabilistic and instant finality models.

MechanismCasper FFG (Ethereum)Probabilistic Finality (Bitcoin)Instant Finality (Tendermint BFT)

Core Principle

Two-phase checkpoint finality via validator votes

Longest-chain Nakamoto consensus

One-round voting with immediate commit

Finality Type

Economic Finality

Probabilistic Finality

Absolute Finality

Finality Time

~15 minutes (2 epochs)

~60+ minutes (6+ confirmations)

< 1 second

Fault Tolerance

Up to 1/3 of validators by stake

Up to 1/2 of hashrate (non-colluding)

Up to 1/3 of validators by voting power

Safety Guarantee

Slashing for equivocation; stake loss

Economic cost of PoW reorg

Accountable safety; validators can be identified and slashed

Liveness Under Attack

Remains live with >2/3 honest validators

Remains live with >1/2 honest hashrate

Halts if >1/3 are faulty or offline

Communication Complexity

O(N) per checkpoint

O(1) for block propagation

O(N²) per block

Primary Use Case

Hybrid PoS finality overlay for PoW/PoS chains

Decentralized digital cash/store of value

High-throughput permissioned/consortium chains

evolution
CONSENSUS MECHANISM

Casper FFG

Casper the Friendly Finality Gadget (FFG) is a hybrid consensus protocol that combines Proof-of-Work (PoW) with Proof-of-Stake (PoS) to provide **finality** guarantees for blockchain transactions.

Casper FFG is a finality gadget—a layer added on top of an existing blockchain consensus mechanism. It was initially proposed by Vitalik Buterin and Virgil Griffith as a transitional step for Ethereum, designed to be overlaid on its existing Proof-of-Work (PoW) chain. The core innovation is its hybrid model: PoW miners continue to produce blocks, while a separate set of validators, who stake ETH, periodically vote to finalize checkpoints, ensuring those blocks can never be reverted. This provides the strong, cryptographic finality that pure Nakamoto consensus (as used in Bitcoin) lacks.

The protocol operates in epochs, which are groups of blocks (e.g., 100 blocks). At the end of each epoch, validators cast votes on two checkpoints: the first block of the epoch and the most recent justified checkpoint. A checkpoint becomes justified after receiving votes from a two-thirds supermajority of staked ETH. A checkpoint becomes finalized—meaning it is permanently cemented into the chain's history—when it is justified and a direct child checkpoint is also justified. This two-step process creates a robust security guarantee against chain reorganizations.

Casper FFG's security model is based on slashing conditions. Validators are financially penalized (their stake is slashed) for actions that violate protocol rules, such as voting for two conflicting checkpoints (equivocation) or surrounding a vote (where a validator's votes could finalize two different chains). This crypto-economic security ensures that attacking the network is provably costly, making it economically irrational for validators to act maliciously. The protocol is described as "friendly" because it aims to make Byzantine faults expensive rather than impossible.

While a landmark proposal, Casper FFG was never fully deployed on Ethereum Mainnet as originally envisioned. Its development and testing informed the design of the Gasper consensus mechanism, which powers Ethereum 2.0 (the consensus layer). Gasper integrates the finality gadget concepts from Casper FFG directly with the LMD-GHOST fork choice rule within a full Proof-of-Stake system, eliminating the need for the underlying PoW layer entirely. Thus, Casper FFG remains a critical conceptual bridge between Ethereum's original architecture and its current design.

CASPER FFG

Common Misconceptions

Casper FFG is a foundational proof-of-stake consensus mechanism, often misunderstood in its relationship to Ethereum's final execution. This section clarifies its specific role and common points of confusion.

No, Casper FFG is not the full proof-of-stake system; it is a finality gadget that was hybridized with Proof-of-Work (PoW) during Ethereum's transition. Casper FFG provides finality by having validators periodically vote on checkpoints to finalize blocks, while the underlying chain progression was initially secured by miners. The complete switch to a pure proof-of-stake system, known as the consensus layer, was achieved with the launch of the Beacon Chain and the subsequent Merge, which integrated execution and consensus.

CASPER FFG

Frequently Asked Questions

Casper FFG is a foundational Proof-of-Stake (PoS) consensus mechanism. These questions address its core concepts, implementation, and relationship to other protocols.

Casper FFG (Friendly Finality Gadget) is a Proof-of-Stake (PoS) overlay that provides finality to an underlying blockchain, originally designed to be paired with a Proof-of-Work (PoW) chain like Ethereum's. It works by having validators stake ETH to participate in a separate voting mechanism. At regular intervals called checkpoints, validators vote on the validity of blocks. When a supermajority (2/3) of staked ETH votes to finalize a checkpoint, that block and all preceding ones become finalized, meaning they cannot be reverted without slashing a large portion of the validator stake. This creates a hybrid model where PoW provides liveness (new blocks) and Casper FFG provides safety (finality).

ENQUIRY

Get In Touch
today.

Our experts will offer a free quote and a 30min call to discuss your project.

NDA Protected
24h Response
Directly to Engineering Team
10+
Protocols Shipped
$20M+
TVL Overall
NDA Protected Directly to Engineering Team
Casper FFG: The Finality Gadget for Proof-of-Stake | ChainScore Glossary