Proof of stake explained

Proof-of-stake (PoS) protocols are a class of consensus mechanisms for blockchains that work by selecting validators in proportion to their quantity of holdings in the associated cryptocurrency. This is done to avoid the computational cost of proof-of-work (POW) schemes. The first functioning use of PoS for cryptocurrency was Peercoin in 2012, although the scheme, on the surface, still resembled a POW.[1]

Description

For a blockchain transaction to be recognized, it must be appended to the blockchain. In the proof of stake blockchain the appending entities are named minters or (in the proof of work blockchains this task is carried out by the miners); in most protocols, the validators receive a reward for doing so.[2] For the blockchain to remain secure, it must have a mechanism to prevent a malicious user or group from taking over a majority of validation. PoS accomplishes this by requiring that validators have some quantity of blockchain tokens, requiring potential attackers to acquire a large fraction of the tokens on the blockchain to mount an attack.[3]

Proof of work (PoW), another commonly used consensus mechanism, uses a validation of computational prowess to verify transactions, requiring a potential attacker to acquire a large fraction of the computational power of the validator network. This incentivizes consuming huge quantities of energy. PoS is more energy-efficient.[4]

Early PoS implementations were plagued by a number of new attacks that exploited the unique vulnerabilities of the PoS protocols. Eventually two dominant designs emerged: so called Byzantine Fault Tolerance-based and chain-based approaches. Bashir identifies three more types of PoS:

Attacks

The additional vulnerabilities of PoS schemes are directly related to their advantage: a relatively low amount of calculations required when constructing a blockchain.

Long-range attacks

The low amount of computing power involved allows a class of attacks that replace a non-negligible portion of the main blockchain with a hijacked version. These attacks are called in literature by different names, Long-Range, Alternative History, Alternate History, History Revision, and are unfeasible in the PoW schemes due to the sheer volume of calculations required. The early stages of a blockchain are much more malleable for rewriting, as they likely have much smaller group of stakeholders involved, simplifying the collusion. If the per-block and per-transaction rewards are offered, the malicious group can, for example, redo the entire history and collect these rewards.

The classic "Short-Range" attack (bribery attack) that rewrites just a small tail portion of the chain is also possible.

Nothing at stake

Since validators do not need to spend a considerable amount of computing power (and thus money) on the process, they are prone to the Nothing-at-Stake attack: the participation in a successful validation increases the validator's earnings, so there is a built-in incentive for the validators to accept all chain forks submitted to them, thus increasing the chances of earning the validation fee. The PoS schemes enable low-cost creation of blockchain alternatives starting at any point in history (costless simulation), submitting these forks to eager validators endangers the stability of the system. If this situation persists, it can allow double-spending, where a digital token can be spent more than once. This can be mitigated through penalizing validators who validate conflicting chains ("economic finality") or by structuring the rewards so that there is no economic incentive to create conflicts. Byzantine Fault Tolerance based PoS are generally considered robust against this threat (see below).

Bribery attack

Bribery attack, where the attackers financially induce some validators to approve their fork of blockchain, is enhanced in PoS, as rewriting a large portion of history might enable the collusion of once-rich stakeholders that no longer hold significant amounts at stake to claim a necessary majority at some point back in time, and grow the alternative blockchain from there, an operation made possible by the low computing cost of adding blocks in the PoS scheme.

Variants

Chain-based PoS

This is essentially a modification of the PoW scheme, where the competition is based not on applying brute force to solving the identical puzzle in the smallest amount of time, but instead on varying the difficulty of the puzzle depending on the stake of the participant; the puzzle is solved if on a tick of the clock (|| is concatenation):

Hash(ProposedNewBlock||ClockTime)<target*StakeValue

The smaller amount of calculations required for solving the puzzle for high-value stakeholders helps to avoid excessive hardware.

Nominated PoS (NPoS)

Also known as "committee-based", this scheme involves an election of a committee of validators using a verifiable random function with probabilities of being elected higher with higher stake. Validators then randomly take turns producing blocks. NPoS is utilized by Ouroboros Praos and BABE.

BFT-based PoS

See main article: Byzantine fault tolerance. The outline of the BFT PoS "epoch" (adding a block to the chain) is as follows:

  1. A "proposer" with a "proposed block" is randomly selected by adding it to the temporary pool used to select just one consensual block;
  2. The other participants, validators, obtain the pool, validate, and vote for one;
  3. The BFT consensus is used to finalize the most-voted block.

The scheme works as long as no more than a third of validators are dishonest. BFT schemes are used in Tendermint and Casper FFG.

Delegated proof of stake (DPoS)

Proof of stake delegated systems use a two-stage process: first,the stakeholders elect a validation committee, a.k.a. witnesses, by voting proportionally to their stakes, then the witnesses take turns in a round-robin fashion to propose new blocks that are then voted upon by the witnesses, usually in the BFT-like fashion. Since there are fewer validators in the DPoS than in many other PoS schemes, the consensus can be established faster. The scheme is used in many chains, including EOS, Lisk, Tron.

Liquid proof of stake (LPoS)

In the liquid PoS anyone with a stake can declare themselves a validator, but for the small holders is makes sense to delegate their voting rights instead to larger players in exchange for some benefits (like periodic payouts). A market is established where the validators compete on the fees, reputation, and other factors. Token holders are free to switch their support to another validator at any time. LPoS is used in Tezos.

'Stake' definition

The exact definition of "stake" varies from implementation to implementation. For instance, some cryptocurrencies use the concept of "coin age", the product of the number of tokens with the amount of time that a single user has held them, rather than merely the number of tokens, to define a validator's stake.

Implementations

The first functioning implementation of a proof-of-stake cryptocurrency was Peercoin, introduced in 2012. Other cryptocurrencies, such as Blackcoin, Nxt, Cardano, and Algorand followed. However,, PoS cryptocurrencies were still not as widely used as proof-of-work cryptocurrencies.[5] [6] [7]

In September 2022, Ethereum, the world second largest cryptocurrency in 2022, switched from proof of work to a proof of stake consensus mechanism system,[8] after several proposals[9] and some delays.[10] [11]

Concerns

Security

Critics have argued that the proof of stake model is less secure compared to the proof of work model.[12]

Centralization

Critics have argued that the proof of stake will likely lead cryptocurrency blockchains being more centralized in comparison to proof of work as the system favors users who have a large amount of cryptocurrency, which in turn could lead to users who have a large amount of cryptocurrency having major influence on the management and direction for a crypto blockchain.[13] [14]

Legal status in US

US regulators have argued over the legal status of the proof-of-stake model, with the Securities and Exchange Commission claiming that staking rewards are the equivalent of interest, so coins such as ether and ada are financial securities.[15] However, in 2024, the SEC sidestepped the question by recognising Ethereum market funds on condition that they did not stake their coins. The level of staking of ether at 27% of total supply was low compared with Cardano (66%) and Solana (63%). However, not staking their tokens meant that the funds were losing about 3% of potential returns a year.[16] [17]

Energy consumption

In 2021, a study by the University of London found that in general the energy consumption of the proof-of-work based Bitcoin was about a thousand times higher than that of the highest consuming proof-of-stake system that was studied even under the most favorable conditions and that most proof of stake systems cause less energy consumption in most configurations.[18]

In January 2022, Vice-Chair of the European Securities and Markets Authority Erik Thedéen called on the EU to ban the proof of work model in favor of the proof of stake model due to its lower energy consumption.[19]

On 15 September 2022, Ethereum transitioned its consensus mechanism from proof-of-work to proof-of-stake in an upgrade process known as "the Merge". This has cut Ethereum's energy usage by 99%.[20]

Sources

Notes and References

  1. Zhao . Wenbing . Yang . Shunkun . Luo . Xiong . Zhou . Jiong . On PeerCoin Proof of Stake for Blockchain Consensus . 26 March 2021 . ACM . 10.1145/3460537.3460547 . ICBCT'21: The 3rd International Conference on Blockchain Technology . 129–134 .
  2. 10.1093/rfs/hhaa075. 0893-9454. 34. 3. 1156–1190. Saleh. Fahad. Blockchain without Waste: Proof-of-Stake. The Review of Financial Studies. 2021-03-01.
  3. 10.5195/ledger.2019.140. free. 2379-5980. 4. Tasca. Paolo. Tessone. Claudio J.. A Taxonomy of Blockchain Technologies: Principles of Identification and Classification. Ledger. 2019-02-15. 1708.04872. 2021-04-26. 2022-04-22. https://web.archive.org/web/20220422192010/https://www.ledgerjournal.org/ojs/ledger/article/view/140. live.
  4. 10.1088/1742-6596/1584/1/012023. 1742-6596. 1584. 012023. Zhang. Rong. Chan. Wai Kin (Victor). Evaluation of Energy Consumption in Block-Chains with Proof of Work and Proof of Stake. . 2020 . 1. 2020JPhCS1584a2023Z. free.
  5. Springer International Publishing. 10.1007/978-3-319-67816-0_17. 978-3-319-67816-0. 297–315. Joaquin . Garcia-Alfaro. Guillermo . Navarro-Arribas . Hannes . Hartenstein . Jordi . Herrera-Joancomartí. Li. Wenting. Andreina. Sébastien. Bohli. Jens-Matthias. Karame. Ghassan. Securing Proof-of-Stake Blockchain Protocols. Data Privacy Management, Cryptocurrencies and Blockchain Technology. Cham. Lecture Notes in Computer Science. 2017.
  6. Samantha . Hissong . July 9, 2021 . The Crypto World Is Getting Greener. Is It Too Little Too Late? . . July 22, 2021 . January 28, 2022 . https://web.archive.org/web/20220128083715/https://www.rollingstone.com/culture/culture-features/nfts-crypto-environmental-global-warming-proof-of-stake-blockchain-1194402/ . live .
  7. Nguyen . Cong T. . Hoang . Dinh Thai . Nguyen . Diep N. . Niyato . Dusit . Nguyen . Huynh Tuong . Dutkiewicz . Eryk . Proof-of-Stake Consensus Mechanisms for Future Blockchain Networks: Fundamentals, Applications and Opportunities . IEEE Access . 2019 . 7 . 85727–85745 . 10.1109/ACCESS.2019.2925010 . free. 2019IEEEA...785727N . 10220/49702 . free .
  8. Web site: The Merge . Ethereum . 2022-09-15 . 2022-09-14 . https://web.archive.org/web/20220914212421/https://ethereum.org/en/upgrades/merge/ . live .
  9. News: Sparkes. Matthew. NFT developers say cryptocurrencies must tackle their carbon emissions. New Scientist. 2021-04-07. 2021-03-30. 10.1016/S0262-4079(21)00548-0. 2022-07-14. https://web.archive.org/web/20220714141838/https://www.newscientist.com/article/2272687-nft-developers-say-cryptocurrencies-must-tackle-their-carbon-emissions/. live.
  10. Web site: Yvonne . Lau . Ethereum founder Vitalik Buterin says long-awaited shift to 'proof-of-stake' could solve environmental woes . . 2021-05-27 . 2021-05-29 . 2022-06-04 . https://web.archive.org/web/20220604083030/https://fortune.com/2021/05/27/ethereum-founder-vitalik-buterin-proof-of-stake-environment-carbon/ . live .
  11. Web site: Wickens . Katie . 'The Merge' to end cryptocurrency mining on gaming GPUs won't come until 2022 . PC Gamer . 13 December 2021 . en . 25 October 2021 . 4 July 2022 . https://web.archive.org/web/20220704041444/https://www.pcgamer.com/the-merge-to-end-cryptocurrency-mining-on-gaming-gpus-wont-come-until-2022/ . live .
  12. News: Crypto's Energy Guzzling Sparks an Alternative That Merely Sips. 2022-01-22. Bloomberg. 17 November 2021. 2022-01-29. https://web.archive.org/web/20220129043239/https://www.bloomberg.com/news/articles/2021-11-17/crypto-s-power-consumption-sparks-an-energy-efficient-alternative. live.
  13. Web site: Chandler. Simon. Proof of stake vs. proof of work: key differences between these methods of verifying cryptocurrency transactions. 2022-01-22. Business Insider. en-US. 2022-07-14. https://web.archive.org/web/20220714193422/https://www.businessinsider.com/personal-finance/proof-of-stake-vs-proof-of-work. live.
  14. Web site: Lin. Connie. 2022-01-21. How to clean up crypto mining—and what's at stake if we don't. 2022-01-22. Fast Company. en-US. 2022-01-26. https://web.archive.org/web/20220126124413/https://www.fastcompany.com/90715099/bitcoin-crypto-mining-proof-of-work-explained. live.
  15. News: Michaels . Dave . Ostroff . Caitlin . Kowsmann . Patricia . 2023-06-05 . SEC Says Binance Misused Customer Funds, Ran Illegal Crypto Exchange in U.S. . en-US . Wall Street Journal . 2024-07-09 . 0099-9660.
  16. Web site: Cryptofinance: into the ether . 2024-07-09 . www.ft.com.
  17. Web site: Ethereum ETFs: The SEC's Surprising Shift in Stance . 2024-07-09 . ccdata.io . en.
  18. Book: Moritz . Platt . Johannes . Sedlmeir . Daniel . Platt . Jiahua . Xu . Paolo . Tasca . Nikhil . Vadgama . Juan Ignacio . Ibañez . The Energy Footprint of Blockchain Consensus Mechanisms Beyond Proof-of-Work . 2021 . 2021 IEEE 21st International Conference on Software Quality, Reliability and Security Companion (QRS-C) . https://ieeexplore.ieee.org/document/9741872 . 2021 . 1135–1144 . 10.1109/QRS-C55045.2021.00168 . 24 December 2023 . 2109.03667 . 978-1-6654-7836-6 . 29 January 2024 . https://web.archive.org/web/20240129093449/https://ieeexplore.ieee.org/document/9741872/ . live .
  19. Web site: Bateman. Tom. 2022-01-19. Ban proof of work crypto mining to save energy, EU regulator says. 2022-01-23. Euronews. en. 2022-04-19. https://web.archive.org/web/20220419190031/https://www.euronews.com/next/2022/01/19/eu-regulator-calls-for-a-ban-on-proof-of-work-bitcoin-mining-to-save-renewable-energy. live.
  20. News: Clark . Aaron . Ethereum's Energy Revamp Is No Guarantee of Global Climate Gains . 1 January 2023 . Bloomberg.com . 6 December 2022 . en . 7 December 2022 . https://web.archive.org/web/20221207092458/https://www.bloomberg.com/news/articles/2022-12-06/ethereum-cut-its-energy-use-99-but-climate-gains-may-be-curbed . live .