docs
Introduction
Consensus Mechanisms

Consensus Mechanisms

Gasper Protocol Implementation

Dill utilizes the same battle-tested consensus algorithms as Ethereum, ensuring proven security and reliability. The network implements Casper FFG (Friendly Finality Gadget) and LMD-GHOST consensus protocols, which have been extensively tested in production environments.

Casper FFG (Friendly Finality Gadget)

Casper FFG is permissionless, by introducing the minimal slashing condition to use the risk of economic loss to restrict the behavior of nodes, and handling rapid block production and chain growth:

  • Economic Security: Validators stake tokens that can be slashed for malicious behavior
  • Finality Guarantees: Once a block is finalized it cannot be reverted, and a conflicting finalized block cannot be obtained
  • Byzantine Fault Tolerance: Tolerates up to 1/3 of validators acting maliciously
  • Checkpoint-Based Validation: Periodic finalization of network state for enhanced security

LMD-GHOST Fork Choice Rule

LMD-GHOST stands for "latest message-driven greedy heaviest observed sub-tree", providing irreversible commitment to blockchain history:

  • Dynamic Chain Selection: Always follows the chain with the most validator support
  • Real-Time Adaptation: Responds immediately to network changes and validator votes
  • Fork Resolution: Automatically resolves competing chains based on validator consensus
  • Liveness Guarantees: Ensures network progress even during temporary partitions.