Bitica Coin Docs
  • Summary
  • DOCUMENTATION
    • Learn about the Bitica Platform
      • Bitica Overview: vision, strategy and platform components
      • The Bitica Blockchain
        • Discovering the Network
        • Bitica Consensus
        • Delegation through Staking with Validators
        • Ethereum (EVM) Compatibility and Smart Contracts
        • Boosting Bitica's Scalability
      • Bitica Token (BDCC)
        • BDCC Tokenomics
        • Exchanges, Wallets, On-Ramps and DeFi Tools Supporting BDCC
        • BDCC on Other Chains
      • Interoperability
      • Bitica Governance and Development
        • Bitica Assembly
        • Bitica Improvement Proposals (FIPs)
      • Wallets supporting Bitica
    • Bitica for Business
    • Things you can do on Bitica
      • Interacting with the Bitica Blockchain
      • Bitica Ecosystem
      • Community
      • Grants and Bounties
    • Bitica Mobile Infrastructure Use Cases
  • Developers
    • Network Details
      • Bitica Mainnet
      • Bitica Testnet Bitica
      • Token Faucets
      • Network Upgrades
        • Upgrade Guide
        • Upgrade Guide (explorer nodes)
        • Block 13,800,000 Fork
        • FIP's
    • Bitica Consensus
      • Contracts Overview
      • Stake, Delegate and Withdraw
      • Vote
      • End-of-Cycle Flow
      • Contract Addresses
    • How to run network nodes
    • Resources & Tools
      • TheGraph
      • WalletConnect on Bitica
    • Important smart contracts
      • Bitica Token
      • Bitica Dollar
      • Major Deployed Contracts
      • Bridges
        • Ethereum ↔ Bitica GoodDollar Token
        • Ethereum ↔ Bitica BDCC20 Tokens
        • BSC ↔ Bitica BNB
        • BSC ↔ Bitica Native
        • BSC ↔ Bitica BDCC20
        • Ethereum ↔ Bitica Native
    • How to become a validator
      • Getting started as a validator
      • Getting started as on the Bitica testnet
  • Links
    • Instagram
    • Facebook
    • GitHub
    • LinkedIn
    • Telegram
    • Staking Telegram
    • Twitter
    • Twitter
Powered by GitBook
On this page
  • Consensus - 0xDF35349c9208eC877C4DD098C8127123a6A81A0E
  • Block Reward - 0x65BeAF8E893AA49bA577cBe4BCF59c25468c8aC9
  • Voting - 0x3F52FaB24601DDEE5a56fA1Dc0Aa9209E989658d
  • Proxy Storage
  1. Developers

Bitica Consensus

PreviousFIP'sNextContracts Overview

Last updated 1 year ago

Consensus is a fault-tolerant mechanism that is used in blockchain systems to achieve the necessary agreement on the single state of the network. Bitica network is using a (DPoS) consensus model. DPoS is a variation of consensus. In PoS there are a set of validators that are responsible for keeping the network updated and validating the network's state. They do this in turns, every validator has their turn in line. On their turn the validator updates the network's state, and the rest of the validators check that the update is valid.

Consensus contract is used to manage the list of the network validators and delegators

BlockReward contract is calculates the reward amount that validators and delegators will receive on each block validation. The reward size is proportional to validator's stake.

With Voting contract validators are vote on various changes on these 3 base level contracts. All those contracts are proxied with implementation that handles the logic. The implementations can be changed only by the Voting process.

The bridge is used to transfer the Bitica native token between Bitica and Ethereum networks.

This contract is responsible for handling the network DPos consensus. The contract stores the current validator set and chooses a new validator set at the end of each cycle. The logic for updating the validator set is to select a random snapshot from the snapshots taken during the cycle.

The snapshots are taken of pending validators, who are those which staked more than the minimum stake needed to become a network validator. Therefore the contract is also responsible for staking, delegating and withdrawing those funds.

Stake amount for a validator is the sum of staked and delegated amount to it's address.

minimum stake amount = 100,000 Bitica token

cycle duration blocks = 57600 (approximately 2 days)

This contract is responsible for generating and distributing block rewards to the network validators according to the network specs (5% yearly inflation).

Another role of this contract is to call the snapshot/cycle logic on the Consensus contract

This contract is responsible for opening new ballots and voting to accept/reject them. Ballots are basically offers to change other network contracts implementation.

Only network validators can open new ballots, everyone can vote on them, but only validators votes count when the ballot is closed.

Ballots are opened/closed on cycle end.

max number of open ballots = 100

max number of open ballots per validator = 100 / number of validators

minimum ballot duration (cycles) = 2

maximum ballot duration (cycles) = 14

This contract is responsible for holding network contracts implementation addresses and upgrading them if necessary (via voting).

This contract is based on non-reporting ValidatorSet .

This contract is based on BlockReward .

Consensus - 0xDF35349c9208eC877C4DD098C8127123a6A81A0E
described in Parity Wiki
Block Reward - 0x65BeAF8E893AA49bA577cBe4BCF59c25468c8aC9
described in Parity Wiki
Voting - 0x3F52FaB24601DDEE5a56fA1Dc0Aa9209E989658d
Proxy Storage
Delegated Proof of Stake
Proof of Stake