建议 #230
BPoS Improvement proposal (Inactive > Active)
- 1. 发布当前
- 2. 提出尚未开始
- 3. 决定尚未开始
Abstract
Elastos, the blockchain platform dedicated to building a decentralized and secure internet, successfully launched a new upgrade to its consensus mechanism. Bonded Proof of Stake (BPoS) replaced the former Delegated Proof of Stake (DPoS) as one of the three layers of the overall Elastic Consensus.
BPoS was fully activated when 36 BPoS nodes obtained 80,000 voting rights each.
Goal
The goal of this suggestion is to enable stakers to re-delegate votes from inactive to active BPoS nodes.
Motivation
The value of Elastos lies within its infrastructure and the BPoS mechanism plays its crucial part. We must keep it decentralized and add further democracy to all stakers that are delegating their votes to BPoS nodes which secure Elastos Mainchain.
Plan introduction
1. Change of locking mechanism for new validators voting
When a new BPoS node registers on the network, the node is inactive and cannot participate in block consensus, but can start accepting stakers to vote for it. When the total voting rights on a single node reaches 80,000, the node becomes active and it can participate in block consensus.
Existing model: When a staker cast a vote to a new BPoS node, the vote gets locked for the time specified by the staker and the staker will not be able to redeem his vote even if the new validator fails to gather 80,000 voting rights to become active.
New model: If the BPoS node fails to reach 80,000 voting rights within 1,080 blocks (14 days) after the staker cast a vote, the staker will be able to re-delegate the vote to other BPoS node with the same pledge time and amount.
2. Enabling of votes re-delegation from INACTIVE > ACTIVE BPoS nodes
Existing model: When a staker cast a vote to an active BPoS node, the vote get locked for the time specified by the staker. The staker can’t redeem the vote even if the BPoS node becomes inactive for any reason.
New model: If the BPoS node becomes inactive for more than 1,080 blocks (14 days), the stakers will be able to re-delegate their vote to any active BPoS node with the remaining pledge time and amount. When re-delegation process is initiated, user have to choose destination active node to whome votes are getting re-delegated. After 1,080 blocks (14 days) staker will successfully re-delegate their vote to selected active BPoS node with the remaining pledge time and amount. After successful re-delegation, staker can keep the same remaining pledge time or extend it with newly voted node.
3.Calculation of the voting right for votes that are re-delegated to the new nodes
Existing Model:
When a staker votes a specific number of ELA (E) to an active BPoS node, the vote becomes locked for the duration (T) specified by the staker. The staker cannot redeem the vote under any circumstances until the lock time expires.
The formula for the staking rights (N) obtained by a single stake is:
N=E×log(T/720)
New Model:
When a staker votes a certain number of ELA (E) to an active BPoS node for a lock time (T) and later submits an application to redelegate their vote (E) to a different active BPoS node after a specific time (T1), the vote will be successfully redelegated to the chosen BPoS node after 1,080 blocks (14 days).
If, after this redelegation, the staker maintains the same remaining pledge time, the lock time on the new nodes is T-T1-14. The formula for the staking rights (N) obtained from the stakes on the new nodes becomes:
N=E×log[(T−T1−14)/720]
However, if the staker opts to extend their pledge time to T2 post-redelegation, the formula for the staking rights (N) derived from the stakes on the new nodes is:
N=E×log[(T−T1−14+T2)/720]
登录后可另存为草稿 将创建一份私人草稿,保存之前不会存储任何内容。