Skip to content
No description, website, or topics provided.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
res Delete 1 Jan 26, 2019
README.md Update README.md Jun 23, 2019
researchpaper_3.1.pdf Add files via upload Jun 23, 2019
中文_researchpaper_3.1.pdf Add files via upload Jun 22, 2019

README.md

PoAS:A Stake-Based Double-Voting Blockchain Consensus Protocol

The paper primarily deals with the major problems of the PoS system trying to make it more suitable for the use of cryptocurrency.

It can be summarized to the following points:

1. Wealth distribution

The distribution of social wealth usually obeys the Pareto’s law as the following curve shows:

If everyone’s wealth grows at the same rate, the distribution will not change. As the green line shows:

In the field of cryptocurrencies, an overall growth of coins means inflation. Inflation is an incentive for the stakeholders to work. They have to earn more coins by working in order to compensate the wealth reduction caused by the inflation. To approach the ideal curve (the green line) in a PoS system, the ability of earning should depend on the number of coins they already have, or called stakes. It means that for some of the users who don’t have much coins, they also don’t have the ability to compensate the wealth reductions because their work costs are more than the earning. Those users have to choose not to work and then lose their wealth gradually (assume that the total value of the coin is not changed). It is the basic wealth redistribution rule of PoS currencies. As the red line shows:

As shown above, the users owning less coins than w tend not to participate in the wealth redistribution, and they will be constantly “robbed” by the richer ones. As time goes on, the poorer users will eventually disappear. The lower value w has, the more users will remain.

Considering the factors influencing the value of w, there will be the following approximate equation:

w*R (Inflation Rate) /(R+1) (The wealth reduction) = C (Work cost) - F (Transaction fees acquired by working) ,

that is : w=(C-F)*(1+1/R)

So we have three ways to lower the value of w: increase F (Transaction fees), increase R (Inflation rate) or decrease C (Work cost).

Traditional PoS protocol works as the first way or the second way, which causes serious inflation or high transaction fees.

Our design works as the third way. We reduce the work cost of stakeholders from working fulltime to logging in once in between 100 hours. That reduces the work time to about one ten-thousandth of before, and the value of w will decrease substantially. In addition, since we have sharply reduced the value of C, we don’t have to increase the inflation rate or the transaction fees to a fairly high level. It makes the wealth distribution model of PoS systems much more acceptable.

2. Double voting and history attack

Stakeholders participate in the wealth redistribution by handing over their stakes to the miners through an accumulating process, which will be introduced later.

The miner plays the role of working fulltime maintaining the network. The maintenance work includes two parts: generating blocks and voting for branches. I am going to explain the branch voting process here because it is related to the solution of the most serious problems caused by “Nothing at Stake” starting with the “double voting” problem.

Briefly speaking, the double voting problem is a strategy for miners to vote on each fork of the chain. But in PoAS systems, the miners cyclically vote for the current main branch and publish to the network as transactions which will be recorded in the next block. We ensure that the total voting information of every branch are recorded in each chain (introduced in section 3.2.2). Thus, each vote will go public before it takes effect. Then through a specific method of counting (introduced in section 3.2.1), we guarantee that each stake will be counted no more than once no matter which part of the branch are counted. Therefore, there will be no space to make multiple votes.

Another major problem caused by NaS is the “history attacks”: the attacker rebuilds a new branch from a historical block trying to replace the original one. This is caused by the PoS consensus mechanism itself but we considered another aspect of it: the property of “Stake”. Unlike the other competition resources such as electricity, hashpower or storage space, stake is an inner state of the blockchains and therefore the total amount of stake is fixed. As it is introduced above, no multiple voting, we can easily conclude that a branch shouldn’t have any competitor if the stakes voted to it are more than half of the total stakes.

As it is shown above, the stakes voted to the branch are more than the rest, then the root of this branch (with the red frame) will have no chance to be replaced, or to say, it’s finalized (introduced in section 3.2.1). The finalized block that we call save point limits the history attacks to its descendants, making the attacks much more difficult. There is another factor that helps out with the history attack problem but it will not be explained here (introduced in section 3.3).

Before now, the NaS problems were solved through some complex and subjective methods, which also needs the users to perform additional operations. As it was discussed before, additional operations usually mean higher work cost, which is not healthy in the long term.

3. Incentive for developers

Current scaling solutions like side-chain or sharding have no clear and simple profit model, which causes a lack of incentive for the developers to create expanding projects. Therefore, the development of those projects tends to be centralized and hard to be widely used.

In PoAS, wallet applications play an important role in the process of accumulating stakes which is the first stage of mining. Therefore, they could profit from the system. It will encourage the developers to be more active in making better wallet applications or building more expanding projects, which is a step forward for wallet development toward decentralization and helps to resolve the scalability issue.

4 Accumulating process

Miners accumulate stakes by using the ability called “Network dispersity”.

Network dispersity is a concept that reflects how many dispersed units of a group are distributed to the network, which is also the ability to grab random signals on the network. As a honeycomb works: the more workers working out there, the better chance they find a usable flower, a Miner with more online Gatherers has better chance to find and win the vote from a random stakeholder. Because it is based on the network latencies which is inevitable and non-simulatable, network dispersity could be an objective resource for the miners to compete with.

Accumulating process doesn't affect the security (introduced in section 5), so we can establish the rules to keep the competitive fairness (introduced in section 6) by assuming that all participants are acting for the purposes of benefits other than the purpose of damaging.

full paper :
https://docdro.id/uanMOWk

You can’t perform that action at this time.