MAPO Developer Docs
  • MAPO Developer Docs
  • Base
    • MAPO Introduction
    • MAPO token
    • Omnichain DAPP
    • Differences Between Omnichain Applications and Single or Multi-Chain Applications
    • Differences Between Third-Party Trusted Cross-Chain and Peer-to-Peer Cross-Chain Solutions
    • BTC layer2
      • brc-201
    • Oracle
      • Supra: Decentralized Oracle on MAP Protocol
    • Account
    • Transactions
    • block
    • MPT tree
    • RLP
    • Gas fee
    • Cross Chain Message
    • light client
      • MAPO light client
    • MOS
      • MOS interface and functions
      • deploy MOS
      • Messenger
    • map-relay-chain(atlas)
      • atlas architecture
        • atlas architecture
        • atlas genesis
          • genesis config
          • genesis contract
            • ABI
              • Accounts
              • Election
              • EpochRewards
              • LockedGold
              • Validators
            • address
            • deploy
        • precompile-contract
        • protocol
          • Proof of Stake
          • consensus
          • election
          • rewards
          • governance
      • deploy atlas
        • run atlas
        • run atlas(archive)
        • run atlas(bootnodes)
        • run atlas(validator)
        • run atlas(RPC)
      • Marker tool
        • Genesis
        • Validator
        • Vote
        • Common
      • make private network(atlas)
      • public service
        • public network
      • example
        • how-to-vote
        • how-to-withdraw
        • how-to-become-a-new-validator
        • how-to-become-a-new-validator(advanced)
    • Compass(maintainer,messenger)
      • Compass - arch and model
      • Compass - config
      • Compass - deploy
      • Compass secondary development - define your own routing service based on compass
  • MAPO Stack
    • stack
      • Connected Chains and Corresponding Addresses
    • Compatible-EVM
      • Smart Contracts Language
      • Smart Contracts Anatomy
      • Smart Contracts Libraries
      • Smart Contracts Compile
      • Smart Contracts Testing
      • Smart Contracts Deploy
      • Smart Contracts Composability
      • Smart Contracts Security
      • Formal-Verification
      • Frameworks
      • dev-network
    • MAPO Implement Cross-chain Interoperability
      • integration of MAP with EVM-Compatible Chains
        • light client verify
        • light client update state
        • MOS
      • integration of MAP with TON Network
      • integration of MAP with Non-EVM-Compatible Chains
        • light client verify
        • light client update state
        • MOS
    • How to develop cross-chain applications
    • light client address
    • SDK/API
      • MOS interface
      • Light client interface
      • Atlas RPC
        • json-rpc
          • atlas json rpc
          • atlas consensus rpc
        • javaScript sdk
        • go-sdk
      • Backend API
        • SCAN API
  • Zero-Knowledge Proof
    • zk proof
Powered by GitBook
On this page
  • 质押
  • 更新活动验证器集
  • 选举验证器
  • 解除质押
  • 执行
  • 相关主题
  1. Base
  2. map-relay-chain(atlas)
  3. atlas architecture
  4. protocol

election

PreviousconsensusNextrewards

Last updated 1 year ago

介绍 Atlas 链 validator 选举以及投票的管理。

质押

Atlas 采用权益证明共识机制,如果想参与 atlas 网络的区块生成需要注册成 validator。目前想要成为一个 validator 需要 1,000,000 个 MAPO。并对其进行。每次选举会按照 validator 收到的票数排序,选出前 N 名 validator。

更新活动验证器集

在处理交易和 Epoch 奖励之后,通过在每个 epoch 的最后一个区块中运行选举来更新活动验证器集。

选举验证器

验证者必须至少拥有总票数的 0.001 比例才能考虑参加选举。所以验证者不能没有选票。 这样做的好处是避免烧毁 MAPO 并将投票人数限制在1000人以内。 可选择的活跃验证器数量有最小目标 (1) 和最大上限 (100)。如果未达到最低目标,则选举将中止,并且不会对该 epoch 的验证器集进行任何更改。 示例:现在链上有四个验证者,他们是:

  • 0x5d643dfb9ae372ce4fdbc80890156e2cd8290846

  • 0xa53516d49a72019692ac69cb42641942597654f6

  • 0x6acdc02223100189d82a958d888f54fa27d60e8a

  • 0xea9efaa232a4567eac21c8c096f8bff84595a244

如果由于某些原因我们不选举验证器(有效验证器数量小于1),我们将继续使用上述验证器。如果我们选择最新的一组验证器(这意味着新验证器的数量大于 1 且小于 100),我们将用新验证器替换上述验证器。

解除质押

在质押(锁定)成功后如果你有需求可以解除质押(解锁),解除质押 15 天后你可以通过操作将 MAPO 赎回到你的账户余额。

执行

相关主题

合约管理锁定 MAPO 投票和纪元奖励并运行验证者选举。

Election
奖励
赎回
锁定
投票