Skip to main content

Concensus Mechanism

Overview​

Republic employs a Delegated Proof of Stake (DPoS) consensus mechanism to secure the network, finalize blocks, and select validators responsible for consensus committees. This consensus protocol balances security, scalability, and decentralization through token-weighted voting and cryptoeconomic incentives.

Token Holder Delegation​

Token holders participate indirectly in consensus by delegating their staking power to trusted validators:

  • Delegators select validators based on past performance, reputation, and service quality.
  • Voting power is weighted proportionally to the amount of stake delegated.
  • Validator sets are dynamically updated each epoch based on accumulated stake.

This delegation system enables a scalable and efficient validator election process, preserving decentralization without sacrificing throughput.

Validator Roles and Responsibilities​

Validators in Republic perform critical functions including:

  • Proposing new blocks and transactions.
  • Voting on block validity and network state transitions.
  • Participating in cryptographic randomness generation.
  • Executing and verifying computational tasks where required.

Validators are expected to maintain high uptime, honest behavior, and quality service to earn rewards and maintain their reputation.

Consensus Committees and Epochs​

Epoch selection diagram

The validator set is partitioned into consensus committees:

  • Committees are reshuffled periodically (each epoch) to prevent collusion.
  • Each committee validates blocks and finalizes state transitions.
  • Validator selection within committees considers both stake and verified compute quality.

Epoch transitions are marked by checkpoint blocks that record committee composition and stake distributions.

Finality and Security Guarantees​

Republic’s DPoS consensus provides probabilistic finality with strong security assumptions:

  • Fault tolerance threshold ensures system safety unless a majority of stake is malicious.
  • Slashing conditions penalize malicious or negligent validators, deterring attacks.
  • Checkpointing and consensus rounds ensure network progress and prevent forks.

The consensus design prioritizes liveness and consistency under adversarial conditions.

Summary​

The DPoS consensus mechanism empowers Republic to maintain a secure, scalable, and decentralized network by combining stake-based voting with compute-weighted validator selection. It underpins the network’s cryptoeconomic security model and aligns incentives for honest participation.