PoS Vs. PoW
Last updated
Last updated
I would like to conclude this section with some opinions about how PoW compares to other, intrinsic anti Sybil countermeasures. I chose to focus on the most ubiquitous one, proof-of-stake (PoS), but the criticism generalizes to any form of BFT that relies on intrinsic scarcity. In PoS, the scarcity is of the coin itself. There are many constellations for this kind of Sybilness, but the common ground is that the influence of any participant, and their compensation, is proportional to the amount of coin staked.
I will now list some unsavory properties of PoS. For me, these are more than enough to conclude that PoS is unsuitable for a decentralized network. However, I stress that while the phenomenon I describe are a matter of objective fact, the latter interpretation is not. Many people see things differently and have interesting arguments to back their interpretations (though none that I personally found convincing).
The first observation is that PoS just provides a weaker level of security.
As we will see in the following chapters, PoW can provide security assuming a rational majority. If of the miners work to maximize their profits, then we are guaranteed two properties:
Safety: the probability that a transaction reverts decreases exponentially with the number of blocks mined above it
Liveness: the number of blocks increases with time, no adversary can stall the network
BFT does not have probabilistic finality, but deterministic finality. This means that on one hand it can provide a slightly better safety: if a transaction is accepted, it is guaranteed never to revert. But the slight improvement in safety incurs a meaningful concession in liveness. It follows directly from the theorem that any collusion of can stall the network.
PoS networks typically deal with this using a technique called slashing: if a collusion of more than and less than attempts to disrupt the network, it could be detected, and a fine could be taken from the staked fund. This decentivizes such an attack, but does not prevent it.
To be honest, I consider this a completely reasonable security model. Yeah, it is in a sense weaker than that of PoW, but that is not where the bones I want to pick are buried.
Imagine a PoW miner that has of the global hash rate. Obviously, they have complete control over what happens on the network, but how costly it is to maintain this control?
If it is a popular network, the answer is a lot. Maintaining the mining operation requires huge utility costs in terms of electricity, network, hosting, and so on. And that's only where it starts. Because to maintain the advantage, the miner doesn't need just to keep mining, but to keep up with the hardware availability. The have to procure a majority of the newly manufactured hardware, or their advantage will eventually erode. This becomes even more pressing as new hardware becomes more performant, making the miner's current proportion shrink even faster.
In contrast, a PoS entity with of the coin could maintain their advantage practically for free. All they have to do is to keep staking. The only loss here is lost-opportunity, but even that's arguable since first, they are still earning staking fees, second, if only a fraction of the coin is staked (as should happen in networks that are actually used for things other than staking), then they only have to stake a similar fraction of their own share and third, they could use the opportunity to earn more and then using this money to buy more coin.
The bottom line here is this: in PoW networks, maintaining control is ever-costly, since it requires holding the majority of a physical, external resource, that could increase in supply. In contrast, in PoS there is no way to force a majority holder to relinquish control.
But why does someone accruing of the coin is even a concern? If the coin is sufficiently spread around, wouldn't this make it unreasonably expensive to purchase such a large portion, just like trying to buy all the mining machines for a PoW network will spike the price through the roof?
The problem in PoS is that staking more means earning more. Let's see how the math works out.
What makes the analysis a bit confusing is that the total supply changes. We will call the supply at the start of the round the old supply, and the supply at the end of the round the new supply.
Say that the staking fee provides growth by . That is, if you stake a fraction of of the coin, then after the round, the amount of coin you have is of the old supply. How much is this of the new supply?
If you hold of the coin, then the rest of the network holds of the coin. Now assume the honest network does not stake all of its coin, but some proportion of it, say , and say that you also stake only a fraction of your coin, say . Then only a fraction of your fraction was increased, and in total, you hold of the old supply. Similarly, the rest of the network now holds . What is now your fraction of the new supply? Well, we divide our supply by the total supply to obtain
The left side is simply your coin (in old supply units) over all coin (in the same units), the right side was arranged so that it will be clear under what conditions your fraction increases. For this, we need the ugly expression before to be larger than , so we want its denominator to be smaller than , and it is quite easy to see that this happens if and only if (recall that since the minting fee is positive we have that ). On other words, if you stake a larger fraction than the rest of the network stakes, then your total fraction grows.
By how much?
Say that the staker stakes all of their coin, while the network consistently stakes a fraction of . Then if at the start of the round you held a fraction of , by the end of the round, your fraction will incrase by a factor of .
We take Ethereum as a model. The staking fee is around 5% annually. Ethereum has rounds a day, so we set .
Currently around of Ethereum is constantly staked, but if we assume this includes our rich trying to get richer, we get that the remaining fraction is . So we set where is the current fraction of the rich.
Assuming these conditions remain constant (not a very realistic assumption, but we are just trying to feel out the growth rate here), we can reiterate the formula above to see how the fraction of a collusion that currently holds a fraction of the coin for some . I simulated years of accumulation for initial values of , and these are the results
Now, 50 years is a long time, even longer if you literally stake all your money. But this growth is still alarming business. After all, we are talking about systems with presumptions to replace at least a part of the backbone of global economy. Who can tell how much money it will be worth to coerce this system in the future.