Consensus

In this guide, we will explore the consensus mechanism that underpins the MetaChain network. The consensus mechanism serves as the foundational protocol, enabling nodes to reach agreement on the state of the distributed ledger, thereby ensuring the network's integrity, security, and efficiency. A thorough understanding of this mechanism is vital for developers who aim to build robust and scalable applications on MetaChain.

Consensus Mechanisms in MetaChain

This section provides a comparative overview of the three primary consensus algorithms: Proof-of-Work (PoW), Proof-of-Stake (PoS), and Proof-of-Authority (PoA).

Feature / Consensus Mechanism
Proof-of-Work (PoW)
Proof-of-Stake (PoS)
Proof-of-Authority (PoA)

Basic Description

A consensus mechanism that requires solving complex mathematical problems to validate transactions and create new blocks.

A consensus mechanism where validators are chosen based on the number of coins they hold and are willing to "stake" as collateral.

A consensus mechanism where a limited number of nodes are given the authority to validate transactions and create new blocks.

Ledger Type

Typically UTXO-based

UTXO-based (NativeChain)

EVM-based (MetaChain)

Block Creation

Miners solve complex problems to create a block.

Masternodes participate in transaction validation and block creation.

Attached MetaChain node mints a new block when the NativeChain validator finds a valid hash.

Node Requirements

High computational power

Minimum of 20,000 DFI to run a Masternode

Must be a Masternode on NativeChain

Security

High energy and computational requirements make 51% attacks costly.

Economic incentives and penalties for Masternodes ensure network security.

Limited number of authorized nodes, making it less decentralized but faster.

Energy Efficiency

Low

High

High

Transaction Speed

Slower due to computational requirements

Faster due to staking mechanism

Fastest due to limited number of validating nodes

Implementation Complexity

Moderate

Complex, requires a staking system and Masternodes

Moderate, requires a set of authorized nodes

Network Used In

Traditional blockchains like Bitcoin

NativeChain in DeFi Meta Chain

MetaChain in DeFi Meta Chain

  • NativeChain (PoS): Utilizes a concept called Masternodes for its PoS implementation. Each staking node can perform only one hash per second. The nonce from the Bitcoin Core PoW algorithm is replaced by a staker's Masternode ID.

  • MetaChain (PoA): Operates on a "consensus-lite" design. It embeds each EVM Block on the NativeChain and relies on NativeChain for block propagation. Connectivity between NativeChain and MetaChain is established through JSON-RPC within a trusted communication medium.

By understanding these consensus mechanisms, you can better appreciate the security, speed, and other trade-offs involved in the DeFi Meta Chain ecosystem.

Last updated