Jump to content

Proof of stake

From Wikipedia, the free encyclopedia

This is an old revision of this page, as edited by 73.168.27.10 (talk) at 23:56, 22 January 2015 (→‎References). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

Proof-of-stake is a method of securing a cryptocurrency network and achieving distributed consensus through requesting users to show ownership of a certain amount of currency. It is different from proof-of-work systems that run difficult hashing algorithms to validate electronic transactions.[1] Peercoin[2] was the first cryptocurrency to launch using Proof-of-Stake. Other prominent implementations are found in BitShares, Nxt, BlackCoin, NuShares/NuBits.

Block Selection Variants

Every time a block is added to the blockchain, a creator for the following one has to be selected. Since it can't always be the account with the biggest stake of the currency (then this one would create all blocks), different methods of selection have been devised.

Randomized Block Selection

Nxt and BlackCoin use randomization to predict the following generator, by using a formula that looks for the lowest hash value in combination with the size of the stake.[3][4][5] Since the stakes are public, each node can can predict - with reasonable accuracy - which account will next win the right to forge a block.

Coin Age Based Selection

Peercoin's proof-of-stake system combines randomization with the concept of "coin age," a number derived from the product of the number of coins times the number of days the coins have been held. Coins that have been unspent for at least 30 days begin competing for the next block. Older and larger sets of coins have a greater probability of signing the next block. However, once a stake of coins has been used to sign a block, they must start over with zero "coin age" and thus wait at least 30 more days before signing another block. Also, the probability of finding the next block reaches a maximum after 90 days in order to prevent very old or very large collections of stakes from dominating the blockchain. [2][6][7] This process secures the network and gradually produces new coins over time without consuming significant computational power.[8] Peercoin's developer claims that this makes a malicious attack on the network more difficult due to the lack of a need for centralized mining pools and the fact that purchasing more than half of the coins is likely more costly than acquiring 51% of proof-of-work hashing power .[9]

Velocity Based Selection

Reddcoin's 'Proof of Stake Velocity' (PoSV)[10] claims to encourage velocity i.e. movement of money between people, rather than hoarding.

Voting Based Selection

Instead of only using the stake size, the block generators can be selected by votes. Bitshares uses a system of 101 delegates and selects randomly among these.[11] The community votes enhance the incentives of the generators to act responsible, while on the downside opening the door for sybil attacks - as in the case where one user posed as the top five delegates.[12]

Advantages and Disadvantages

Proof of Work relies on energy use. That means an external tangible good is providing the security. On the down-side though, this leads to a race towards burning more and more energy. Proof of Stake currencies can be several thousand times more cost effective.[13] The costs of these also have to flow out of the currency - putting a downward pressure on the price.

One aspect are the incentives that are very different. Proof-of-Work means that the generator is not necessarily holding the currency. The incentive is to maximize returns from the hardware. There is an discussion whether this lowers or raises security risks.[14]

Criticism

Some authors[15][16] argue that proof-of-stake is not an ideal option for a distributed consensus protocol. The main problem is what they usually call "there is nothing at stake". It means that in case of accidental chain fork (or any other kind of distributed disagreement), a person can "vote" for the both variants, because he has a stake in each branch. There is little cost in working on several chains (unlike in proof-of-work systems), and that gives the ability to try to cheat (e.g. double-spend in case of blockchain reorganization) "for free".[17]

These problems, while complex are solvable by various methods:[18]

  • Peercoin uses centrally broadcast checkpoints (signed under the developer's private key). No blockchain reorganization is allowed deeper than the last known checkpoints.
  • Nxt's protocol only allows to reorganize last 720 blocks.[19]
  • Ethereum's suggested Slasher protocol allows users to "punish" the cheater, who mines on the top of more than one blockchain branch.[20]

Statistical simulations have shown that simultaneous forging on several chains is possible, even profitable. But most described attack scenarios are impossible or so unpredictable that they are only theoretical.[21][22]

See also

References

  1. ^ Proof-of-Work vs Proof-of-Stake, 31-8-2014
  2. ^ a b King, Sunny. "PPCoin: Peer-to-Peer Crypto-Currency with Proof-of-Stake" (PDF). Retrieved 2014-11-17.
  3. ^ "Nxt Whitepaper (Blocks)". nxtwiki. Retrieved 2 January 2015.
  4. ^ mthcl (pseudonymous). "The math of Nxt forging" (PDF). pdf on docdroid.net. Retrieved 22 December 2014.
  5. ^ Vasin, Pavel. "BlackCoin's Proof-of-Stake Protocol v2" (PDF).
  6. ^ Buterin, Vitalik. "What Proof of Stake Is And Why It Matters". Bitcoin Magazine. Retrieved 2013-11-20.
  7. ^ Bradbury, Danny. "Third largest cryptocurrency peercoin moves into spotlight with Vault of Satoshi deal". CoinDesk. Retrieved 2013-11-20.
  8. ^ Thompson, Jeffrey (15 December 2013). "The Rise of Bitcoins, Altcoins—Future of Digital Currency". The Epoch Times. Retrieved 29 December 2013.
  9. ^ Whelan, Karl (2013-11-20). "So What's So Special About Bitcoin?". Forbes.
  10. ^ Ren, Larry. "Proof of Stake Velocity: Building the Social Currency of the Digital Age" (PDF).
  11. ^ "Bitshares - Delegated Proof of Stake". bitshares.org. Retrieved 2 January 2015.
  12. ^ "Bitshares Sybil Attack Discussion". bitsharestalk.org. Retrieved 2 January 2015.
  13. ^ "Nxt Network Energy and Cost Efficiency Analysis" (PDF). Retrieved 21 December 2014.
  14. ^ "Proof of Work, Proof of Stake and the Consensus Debate". cointelegraph.com. Retrieved 3 January 2015.
  15. ^ Andrew Poelstra. "Distributed Consensus from Proof of Stake is Impossible" (PDF).
  16. ^ Vitalik Buterin. "On Stake".
  17. ^ "Hard Problems of Cryptocurrencies".
  18. ^ Buterin, Vitalik. "Proof of Stake: How I Learned to Love Weak Subjectivity". ethereum.org. Retrieved 22 December 2014.
  19. ^ "Nxt Whitepaper: History Attack". Nxtwiki. Retrieved 2 January 2015.
  20. ^ Buterin, Vitalik. "Slasher: A Punitive Proof-of-Stake Algorithm".
  21. ^ Chepurnoy, Alexander. "PoS forging algorithms: multi-strategy forging and related security issues" (PDF). github.com. Retrieved 30 December 2014.
  22. ^ Chepurnoy, Alexander. "PoS forging algorithms: formal approach and multibranch forging". scribd.com. Retrieved 22 December 2014.