æternity Documentation Hub
AeternityGitHub
  • æternity Hub
  • Welcome to æternity documentation
  • Getting Started
    • What is æternity?
    • How to Use Aeternity
  • æternity core concepts
    • Introduction
    • æternity Protocol
      • æternity Coin
      • Fast Æternity Transaction Engine (FATE VM)
      • æternity Nodes
        • Node architecture
        • Node types
        • Node Roles
      • Transactions
        • Types of transactions
        • Transaction Lifecycle
        • Transaction Fees
        • Meta-transactions and Generalized Accounts
        • State Channel Transactions
      • Networks
      • Consensus Mechanisms
        • Next Generation Nakamoto Consensus (Bitcoin-NG)
        • Cuckoo Cycle Proof of Work
        • Hyperchains and Delegated Proof of Stake
        • Governance and Weighted Coin Voting
      • State Channels
      • Oracles
      • Aeternity Naming System (AENS)
    • Hyperchains
      • Hyperchains Whitepaper
    • Aeternity Governance
    • Aeternity Foundation
  • aeternity user tools and services
    • Introduction
    • Run an æternity node
    • Hyperchains web app
    • Hyperchains Bridge app
    • Mine aeternity coin
    • Superhero DEX
    • Superhero Wallet
    • ærc Bridge
    • Make an NFT
    • aepps: decentralized applications on æternity
    • æScan: æternity blockchain explorer
  • æternity Developer tools
    • Quick Start Guide
      • Development Environment Setup
      • Essential Tools Overview
      • Æternity Stack
      • First Steps in Development
    • Protocol
      • Core Protocol Components
        • æternity Consensus Protocol
        • Generalized Accounts
        • Smart Contracts
          • FATE VM
          • Smart contract languages
            • æternity Sophia Language
              • In-Depth Overview
              • Sophia Compiler
              • Sophia Visual Studio
              • Sophia http
              • æREPL
            • Solidity
          • Contract Transactions
        • State Channels
        • Oracles
      • Network Layer
        • Nodes
        • Sync
        • Gossip
        • Stratum
      • Utility Features
        • æternity Naming System (AENS)
        • Seralization Formats
    • æternity Sophia Language
      • In-Depth Overview
      • Sophia Compiler
      • Sophia Visual Studio
      • Sophia http
      • æREPL
    • Development Infrastructure
      • CLIs
      • SDKs and APIs
        • Javascript/Typescript SDK
        • Java SDK
        • Outdated SDKs
        • Node API reference
      • Middleware
      • Testing and Deployment
        • æproject
        • Testnets and Faucet
    • Token Standards
    • Aepps: Building apps on Aeternity
      • Boiler Plates
        • Angular Boiler Plate
        • React JS BoilerPlate
        • Vue BoilerPlate
    • Data and analytics
      • æScan
    • ÆRC Bridge
  • Hyperchains
    • Hyperchains Development Guide
    • Hyperchains Bridge
Powered by GitBook
On this page

Was this helpful?

Export as PDF
  1. æternity core concepts
  2. æternity Protocol

Consensus Mechanisms

PreviousNetworksNextNext Generation Nakamoto Consensus (Bitcoin-NG)

Last updated 24 days ago

Was this helpful?

Introduction to Consensus Mechanisms

In blockchain networks, consensus mechanisms are the protocols that allow all participants to agree on the current state of the network. Think of it as a sophisticated voting system that helps maintain order and security without requiring trust between participants. These mechanisms are crucial because they solve the fundamental problem of how to achieve agreement in a decentralized system where some participants might be malicious or unreliable.

æternity implements an innovative hybrid consensus approach that addresses three critical challenges in blockchain technology: security, scalability, and energy efficiency. At its core, æternity uses a next-generation version of Nakamoto consensus called Bitcoin-NG (Next Generation), enhanced with a unique Cuckoo Cycle proof-of-work algorithm and a weighted coin voting system for governance.

The Bitcoin-NG consensus mechanism separates leader election from transaction processing, allowing for significantly higher transaction throughput compared to traditional blockchain systems. While Bitcoin processes around seven transactions per second with ten-minute block confirmation times, æternity can handle approximately 117 transactions per second with just three-second block confirmation times. This remarkable improvement in performance doesn't come at the cost of security; instead, it's achieved through a clever redesign of how blocks are created and processed.

What makes æternity's consensus particularly interesting is its modular approach. The system uses two types of blocks: key blocks for leader election through proof of work, and micro blocks for transaction processing. This separation allows for rapid transaction confirmation while maintaining the security guarantees of proof of work. Additionally, the Cuckoo Cycle proof-of-work algorithm used for mining key blocks is designed to be more memory-bound than computation-bound, promoting more democratic participation in the mining process.

æternity is also forward-looking in its consensus design. With the introduction of Hyperchains, the platform will support delegated proof-of-stake mechanisms for specialized chains while maintaining the security benefits of the main chain's proof of work. This hybrid approach allows for the creation of highly scalable and efficient blockchain applications while leveraging the security of the main network.

The combination of these consensus mechanisms reflects æternity's commitment to building a blockchain platform that is not only secure and decentralized but also practical and efficient for real-world applications. In the following sections, we'll explore each component of æternity's consensus mechanism in detail, understanding how they work together to create a robust and scalable blockchain platform.

Cover

Consensus Developer Documentation