<oembed><type>rich</type><version>1.0</version><author_name>Lloyd Fournier [ARCHIVE] (npub1kh…y05yp)</author_name><author_url>https://nostr.ae/npub1khlhcuz0jrjwa0ayznq2q9agg4zvxfvx5x7jljrvwnpfzngrcf0q7y05yp</author_url><provider_name>njump</provider_name><provider_url>https://nostr.ae</provider_url><html>📅 Original date posted:2021-05-23&#xA;📝 Original message:Hi Billy,&#xA;&#xA;I was going to write a post which started by dismissing many of the weak&#xA;arguments that are made against PoS made in this thread and elsewhere.&#xA;Although I don&#39;t agree with all your points you have done a decent job here&#xA;so I&#39;ll focus on the second part: why I think Proof-of-Stake is&#xA;inappropriate for a Bitcoin-like system.&#xA;&#xA;Proof of stake is not fit for purpose for a global settlement layer in a&#xA;pure digital asset (i.e. &#34;digital gold&#34;) which is what Bitcoin is trying to&#xA;be.&#xA;PoS necessarily gives responsibilities to the holders of coins that they do&#xA;not want and cannot handle.&#xA;In Bitcoin, large unsophisticated coin holders can put their coins in cold&#xA;storage without a second thought given to the health of the underlying&#xA;ledger.&#xA;As much as hardcore Bitcoiners try to convince them to run their own node,&#xA;most don&#39;t, and that&#39;s perfectly acceptable.&#xA;At no point do their personal decisions affect the underlying consensus --&#xA;it only affects their personal security assurance (not that of the system&#xA;itself).&#xA;In PoS systems this clean separation of responsibilities does not exist.&#xA;&#xA;I think that the more rigorously studied PoS protocols will work fine&#xA;within the security claims made in their papers.&#xA;People who believe that these protocols are destined for catastrophic&#xA;consensus failure are certainly in for a surprise.&#xA;But the devil is in the detail.&#xA;Let&#39;s look at what the implications of using the leading proof of stake&#xA;protocols would have on Bitcoin:&#xA;&#xA;### Proof of SquareSpace (Cardano, Polkdadot)&#xA;&#xA;Cardano is a UTXO based PoS coin based on Ouroboros Praos[3] with an&#xA;inbuilt on-chain delegation system[5].&#xA;In these protocols, coin holders who do not want to run their node with&#xA;their hot keys in it delegate it to a &#34;Stake Pool&#34;.&#xA;I call the resulting system Proof-of-SquareSpace since most will choose a&#xA;pool by looking around for one with a nice website and offering the largest&#xA;share of the block reward.&#xA;On the surface this might sound no different than someone with an mining&#xA;rig shopping around for a good mining pool but there are crucial&#xA;differences:&#xA;&#xA;1. The person making the decision is forced into it just because they own&#xA;the currency -- someone with a mining rig has purchased it with the intent&#xA;to make profit by participating in consensus.&#xA;&#xA;2. When you join a mining pool your systems are very much still online. You&#xA;are just partaking in a pool to reduce your profit variance. You still see&#xA;every block that you help create and *you never help create a block without&#xA;seeing it first*.&#xA;&#xA;3. If by SquareSpace sybil attack you gain a dishonest majority and start&#xA;censoring transactions how are the users meant to redelegate their stake to&#xA;honest pools?&#xA;I guess they can just send a transaction delegating to another pool...oh&#xA;wait I guess that might be censored too! This seems really really bad.&#xA;In Bitcoin, miners can just join a different pool at a whim. There is&#xA;nothing the attacker can do to stop them. A temporary dishonest majority&#xA;heals relatively well.&#xA;&#xA;There is another severe disadvantage to this on-chain delegation system:&#xA;every UTXO must indicate which staking account this UTXO belongs to so the&#xA;appropriate share of block rewards can be transferred there.&#xA;Being able to associate every UTXO to an account ruins one of the main&#xA;privacy advantages of the UTXO model.&#xA;It also grows the size of the blockchain significantly.&#xA;&#xA;### &#34;Pure&#34; proof of stake (Algorand)&#xA;&#xA;Algorand&#39;s[4] approach is to only allow online stake to participate in the&#xA;protocol.&#xA;Theoretically, This means that keys holding funds have to be online in&#xA;order for them to author blocks when they are chosen.&#xA;Of course in reality no one wants to keep their coin holding keys online so&#xA;in Alogorand you can authorize a set of &#34;participation keys&#34;[1] that will&#xA;be used to create blocks on your coin holding key&#39;s behalf.&#xA;Hopefully you&#39;ve spotted the problem.&#xA;You can send your participation keys to any malicious party with a nice&#xA;website (see random example [2]) offering you a good return.&#xA;Damn it&#39;s still Proof-of-SquareSpace!&#xA;The minor advantage is that at least the participation keys expire after a&#xA;certain amount of time so eventually the SquareSpace attacker will lose&#xA;their hold on consensus.&#xA;Importantly there is also less junk on the blockchain because the&#xA;participation keys are delegated off-chain and so are not making as much of&#xA;a mess.&#xA;&#xA;### Conclusion&#xA;&#xA;I don&#39;t see a way to get around the conflicting requirement that the keys&#xA;for large amounts of coins should be kept offline but those are exactly the&#xA;coins we need online to make the scheme secure.&#xA;If we allow delegation then we open up a new social attack surface and it&#xA;degenerates to Proof-of-SquareSpace.&#xA;&#xA;For a &#34;digital gold&#34; like system like Bitcoin we optimize for simplicity&#xA;and desperately want to avoid extraneous responsibilities for the holder of&#xA;the coin.&#xA;After all, gold is an inert element on the periodic table that doesn&#39;t&#xA;confer responsibilities on the holder to maintain the quality of all the&#xA;other bars of gold out there.&#xA;Bitcoin feels like this too and in many ways is more inert and beautifully&#xA;boring than gold.&#xA;For Bitcoin to succeed I think we need to keep it that way and&#xA;Proof-of-Stake makes everything a bit too exciting.&#xA;&#xA;I suppose in the end the market will decide what is real digital gold and&#xA;whether these bad technical trade offs are worth being able to say it uses&#xA;less electricity. It goes without saying that making bad technical&#xA;decisions to appease the current political climate is an anathema to&#xA;Bitcoin.&#xA;&#xA;Would be interested to know if you or others think differently on these&#xA;points.&#xA;&#xA;[1]:&#xA;https://developer.algorand.org/docs/run-a-node/participate/generate_keys/&#xA;[2]: https://staking.staked.us/algorand-staking&#xA;[3]: https://eprint.iacr.org/2017/573.pdf&#xA;[4]:&#xA;https://algorandcom.cdn.prismic.io/algorandcom%2Fece77f38-75b3-44de-bc7f-805f0e53a8d9_theoretical.pdf&#xA;[5]:&#xA;https://hydra.iohk.io/build/790053/download/1/delegation_design_spec.pdf&#xA;&#xA;Cheers,&#xA;&#xA;LL&#xA;&#xA;On Fri, 21 May 2021 at 19:21, Billy Tetrud via bitcoin-dev &lt;&#xA;bitcoin-dev at lists.linuxfoundation.org&gt; wrote:&#xA;&#xA;&gt; I think there is a lot of misinformation and bias against Proof of Stake.&#xA;&gt; Yes there have been lots of shady coins that use insecure PoS mechanisms.&#xA;&gt; Yes there have been massive issues with distribution of PoS coins (of&#xA;&gt; course there have also been massive issues with PoW coins as well).&#xA;&gt; However, I want to remind everyone that there is a difference between&#xA;&gt; &#34;proved to be impossible&#34; and &#34;have not achieved recognized success yet&#34;.&#xA;&gt; Most of the arguments levied against PoS are out of date or rely on&#xA;&gt; unproven assumptions or extrapolation from the analysis of a particular PoS&#xA;&gt; system. I certainly don&#39;t think we should experiment with bitcoin by&#xA;&gt; switching to PoS, but from my research, it seems very likely that there is&#xA;&gt; a proof of stake consensus protocol we could build that has substantially&#xA;&gt; higher security (cost / capital required to execute an attack) while at the&#xA;&gt; same time costing far less resources (which do translate to fees on the&#xA;&gt; network) *without* compromising any of the critical security properties&#xA;&gt; bitcoin relies on. I think the critical piece of this is the disagreements&#xA;&gt; around hardcoded checkpoints, which is a critical piece solving attacks&#xA;&gt; that could be levied on a PoS chain, and how that does (or doesn&#39;t) affect&#xA;&gt; the security model.&#xA;&gt;&#xA;&gt; @Eric Your proof of stake fallacy seems to be saying that PoS is worse&#xA;&gt; when a 51% attack happens. While I agree, I think that line of thinking&#xA;&gt; omits important facts:&#xA;&gt; * The capital required to 51% attack a PoS chain can be made substantially&#xA;&gt; greater than on a PoS chain.&#xA;&gt; * The capital the attacker stands to lose can be substantially greater as&#xA;&gt; well if the attack is successful.&#xA;&gt; * The effectiveness of paying miners to raise the honest fraction of&#xA;&gt; miners above 50% may be quite bad.&#xA;&gt; * Allowing a 51% attack is already unacceptable. It should be considered&#xA;&gt; whether what happens in the case of a 51% may not be significantly&#xA;&gt; different. The currency would likely be critically damaged in a 51% attack&#xA;&gt; regardless of consensus mechanism.&#xA;&gt;&#xA;&gt; &gt; Proof-of-stake tends towards oligopolistic control&#xA;&gt;&#xA;&gt; People repeat this often, but the facts support this. There is no&#xA;&gt; centralization pressure in any proof of stake mechanism that I&#39;m aware of.&#xA;&gt; IE if you have 10 times as much coin that you use to mint blocks, you&#xA;&gt; should expect to earn 10x as much minting revenue - not more than 10x. By&#xA;&gt; contrast, proof of work does in fact have clear centralization pressure -&#xA;&gt; this is not disputed. Our goal in relation to that is to ensure that the&#xA;&gt; centralization pressure remains insignifiant. Proof of work also clearly&#xA;&gt; has a lot more barriers to entry than any proof of stake system does. Both&#xA;&gt; of these mean the tendency towards oligopolistic control is worse for PoW.&#xA;&gt;&#xA;&gt; &gt; Energy usage, in-and-of-itself, is nothing to be ashamed of!!&#xA;&gt;&#xA;&gt; I certainly agree. Bitcoin&#39;s energy usage at the moment is I think quite&#xA;&gt; warranted. However, the question is: can we do substantially better. I&#xA;&gt; think if we can, we probably should... eventually.&#xA;&gt;&#xA;&gt; &gt; Proof of Stake is only resilient to ⅓ of the network demonstrating a&#xA;&gt; Byzantine Fault, whilst Proof of Work is resilient up to the ½ threshold&#xA;&gt;&#xA;&gt; I see no mention of this in the pos.pdf&#xA;&gt; &lt;https://download.wpsoftware.net/bitcoin/pos.pdf&gt; you linked to. I&#39;m not&#xA;&gt; aware of any proof that *all *PoS systems have a failure threshold of&#xA;&gt; 1/3. I know that staking systems like Casper do in fact have that 1/3&#xA;&gt; requirement. However there are PoS designs that should exceed that up to&#xA;&gt; nearly 50% as far as I&#39;m aware. Proof of work is not in fact resilient up&#xA;&gt; to the 1/2 threshold in the way you would think. IE, if 100% of miners are&#xA;&gt; currently honest and have a collective 100 exahashes/s hashpower, an&#xA;&gt; attacker does not need to obtain 100 exahashes/s, but actually only needs&#xA;&gt; to accumulate 50 exahashes/s. This is because as the attacker accumulates&#xA;&gt; hashpower, it drives honest miners out of the market as the difficulty&#xA;&gt; increases to beyond what is economically sustainable. Also, its been shown&#xA;&gt; that the best proof of work can do is require an attacker to obtain 33% of&#xA;&gt; the hashpower because of the selfish mining attack&#xA;&gt; &lt;https://github.com/fresheneesz/quantificationOfConsensusProtocolSecurity#the-selfish-economic-attack&gt; discussed&#xA;&gt; in depth in this paper: https://arxiv.org/abs/1311.0243. Together, both&#xA;&gt; of these things reduce PoW&#39;s security by a factor of about 83% (1 -&#xA;&gt; 50%*33%).&#xA;&gt;&#xA;&gt;  &gt; Proof of Stake requires other trade-offs which are incompatible with&#xA;&gt; Bitcoin&#39;s objective (to be a trustless digital cash) — specifically the&#xA;&gt; famous &#34;security vs. liveness&#34; guarantee&#xA;&gt;&#xA;&gt; Do you have a good source that talks about why you think proof of stake&#xA;&gt; cannot be used for a trustless digital cash?&#xA;&gt;&#xA;&gt; &gt; You cannot gain tokens without someone choosing to give up those coins -&#xA;&gt; a form of permission.&#xA;&gt;&#xA;&gt; This is not a practical constraint. Just like in mining, some nodes may&#xA;&gt; reject you, but there will likely be more that will accept you, some&#xA;&gt; sellers may reject you, but most would accept your money as payment for&#xA;&gt; bitcoins. I don&#39;t think requiring the &#34;permission&#34; of one of millions of&#xA;&gt; people in the market can be reasonably considered a &#34;permissioned&#xA;&gt; currency&#34;.&#xA;&gt;&#xA;&gt; &gt; 2. Proof of stake must have a trusted means of timestamping to regulate&#xA;&gt; overproduction of blocks&#xA;&gt;&#xA;&gt; Both PoW and PoS could mine/mint blocks twice as fast if everyone agreed&#xA;&gt; to double their clock speeds. Both systems rely on an honest majority&#xA;&gt; sticking to standard time.&#xA;&gt;&#xA;&gt;&#xA;&gt; On Wed, May 19, 2021 at 5:32 AM Michael Dubrovsky via bitcoin-dev &lt;&#xA;&gt; bitcoin-dev at lists.linuxfoundation.org&gt; wrote:&#xA;&gt;&#xA;&gt;&gt; Ah sorry, I didn&#39;t realize this was, in fact, a different thread! :)&#xA;&gt;&gt;&#xA;&gt;&gt; On Wed, May 19, 2021 at 10:07 AM Michael Dubrovsky &lt;mike at powx.org&gt; wrote:&#xA;&gt;&gt;&#xA;&gt;&gt;&gt; Folks, I suggest we keep the discussion to PoW, oPoW, and the BIP&#xA;&gt;&gt;&gt; itself. PoS, VDFs, and so on are interesting but I guess there are other&#xA;&gt;&gt;&gt; threads going on these topics already where they would be relevant.&#xA;&gt;&gt;&gt;&#xA;&gt;&gt;&gt; Also, it&#39;s important to distinguish between oPoW and these other&#xA;&gt;&gt;&gt; &#34;alternatives&#34; to Hashcash. oPoW is a true Proof of Work that doesn&#39;t alter&#xA;&gt;&gt;&gt; the core game theory or security assumptions of Hashcash and actually&#xA;&gt;&gt;&gt; contains SHA (can be SHA3, SHA256, etc hash is interchangeable).&#xA;&gt;&gt;&gt;&#xA;&gt;&gt;&gt; Cheers,&#xA;&gt;&gt;&gt; Mike&#xA;&gt;&gt;&gt;&#xA;&gt;&gt;&gt; On Tue, May 18, 2021 at 4:55 PM Erik Aronesty via bitcoin-dev &lt;&#xA;&gt;&gt;&gt; bitcoin-dev at lists.linuxfoundation.org&gt; wrote:&#xA;&gt;&gt;&gt;&#xA;&gt;&gt;&gt;&gt; 1. i never suggested vdf&#39;s to replace pow.&#xA;&gt;&gt;&gt;&gt;&#xA;&gt;&gt;&gt;&gt; 2. my suggestion was specifically *in the context of* a working&#xA;&gt;&gt;&gt;&gt; proof-of-burn protocol&#xA;&gt;&gt;&gt;&gt;&#xA;&gt;&gt;&gt;&gt; - vdfs used only for timing (not block height)&#xA;&gt;&gt;&gt;&gt; - blind-burned coins of a specific age used to replace proof of work&#xA;&gt;&gt;&gt;&gt; - the required &#34;work&#34; per block would simply be a competition to&#xA;&gt;&gt;&gt;&gt; acquire rewards, and so miners would have to burn coins, well in&#xA;&gt;&gt;&gt;&gt; advance, and hope that their burned coins got rewarded in some far&#xA;&gt;&gt;&gt;&gt; future&#xA;&gt;&gt;&gt;&gt; - the point of burned coins is to mimic, in every meaningful way, the&#xA;&gt;&gt;&gt;&gt; value gained from proof of work... without some of the security&#xA;&gt;&gt;&gt;&gt; drawbacks&#xA;&gt;&gt;&gt;&gt; - the miner risks losing all of his burned coins (like all miners risk&#xA;&gt;&gt;&gt;&gt; losing their work in each block)&#xA;&gt;&gt;&gt;&gt; - new burns can&#39;t be used&#xA;&gt;&gt;&gt;&gt; - old burns age out (like ASICs do)&#xA;&gt;&gt;&gt;&gt; - other requirements on burns might be needed to properly mirror the&#xA;&gt;&gt;&gt;&gt; properties of PoW and the incentives Bitcoin uses to mine honestly.&#xA;&gt;&gt;&gt;&gt;&#xA;&gt;&gt;&gt;&gt; 3. i do believe it is *possible* that a &#34;burned coin + vdf system&#34;&#xA;&gt;&gt;&gt;&gt; might be more secure in the long run, and that if the entire space&#xA;&gt;&gt;&gt;&gt; agreed that such an endeavor was worthwhile, a test net could be spun&#xA;&gt;&gt;&gt;&gt; up, and a hard-fork could be initiated.&#xA;&gt;&gt;&gt;&gt;&#xA;&gt;&gt;&gt;&gt; 4. i would never suggest such a thing unless i believed it was&#xA;&gt;&gt;&gt;&gt; possible that consensus was possible.  so no, this is not an &#34;alt&#xA;&gt;&gt;&gt;&gt; coin&#34;&#xA;&gt;&gt;&gt;&gt;&#xA;&gt;&gt;&gt;&gt; On Tue, May 18, 2021 at 10:02 AM Zac Greenwood &lt;zachgrw at gmail.com&gt;&#xA;&gt;&gt;&gt;&gt; wrote:&#xA;&gt;&gt;&gt;&gt; &gt;&#xA;&gt;&gt;&gt;&gt; &gt; Hi ZmnSCPxj,&#xA;&gt;&gt;&gt;&gt; &gt;&#xA;&gt;&gt;&gt;&gt; &gt; Please note that I am not suggesting VDFs as a means to save energy,&#xA;&gt;&gt;&gt;&gt; but solely as a means to make the time between blocks more constant.&#xA;&gt;&gt;&gt;&gt; &gt;&#xA;&gt;&gt;&gt;&gt; &gt; Zac&#xA;&gt;&gt;&gt;&gt; &gt;&#xA;&gt;&gt;&gt;&gt; &gt;&#xA;&gt;&gt;&gt;&gt; &gt; On Tue, 18 May 2021 at 12:42, ZmnSCPxj &lt;ZmnSCPxj at protonmail.com&gt;&#xA;&gt;&gt;&gt;&gt; wrote:&#xA;&gt;&gt;&gt;&gt; &gt;&gt;&#xA;&gt;&gt;&gt;&gt; &gt;&gt; Good morning Zac,&#xA;&gt;&gt;&gt;&gt; &gt;&gt;&#xA;&gt;&gt;&gt;&gt; &gt;&gt; &gt; VDFs might enable more constant block times, for instance by&#xA;&gt;&gt;&gt;&gt; having a two-step PoW:&#xA;&gt;&gt;&gt;&gt; &gt;&gt; &gt;&#xA;&gt;&gt;&gt;&gt; &gt;&gt; &gt; 1. Use a VDF that takes say 9 minutes to resolve (VDF being&#xA;&gt;&gt;&gt;&gt; subject to difficulty adjustments similar to the as-is). As per the&#xA;&gt;&gt;&gt;&gt; property of VDFs, miners are able show proof of work.&#xA;&gt;&gt;&gt;&gt; &gt;&gt; &gt;&#xA;&gt;&gt;&gt;&gt; &gt;&gt; &gt; 2. Use current PoW mechanism with lower difficulty so finding a&#xA;&gt;&gt;&gt;&gt; block takes 1 minute on average, again subject to as-is difficulty&#xA;&gt;&gt;&gt;&gt; adjustments.&#xA;&gt;&gt;&gt;&gt; &gt;&gt; &gt;&#xA;&gt;&gt;&gt;&gt; &gt;&gt; &gt; As a result, variation in block times will be greatly reduced.&#xA;&gt;&gt;&gt;&gt; &gt;&gt;&#xA;&gt;&gt;&gt;&gt; &gt;&gt; As I understand it, another weakness of VDFs is that they are not&#xA;&gt;&gt;&gt;&gt; inherently progress-free (their sequential nature prevents that; they are&#xA;&gt;&gt;&gt;&gt; inherently progress-requiring).&#xA;&gt;&gt;&gt;&gt; &gt;&gt;&#xA;&gt;&gt;&gt;&gt; &gt;&gt; Thus, a miner which focuses on improving the amount of energy that&#xA;&gt;&gt;&gt;&gt; it can pump into the VDF circuitry (by overclocking and freezing the&#xA;&gt;&gt;&gt;&gt; circuitry), could potentially get into a winner-takes-all situation,&#xA;&gt;&gt;&gt;&gt; possibly leading to even *worse* competition and even *more* energy&#xA;&gt;&gt;&gt;&gt; consumption.&#xA;&gt;&gt;&gt;&gt; &gt;&gt; After all, if you can start mining 0.1s faster than the competition,&#xA;&gt;&gt;&gt;&gt; that is a 0.1s advantage where *only you* can mine *in the entire world*.&#xA;&gt;&gt;&gt;&gt; &gt;&gt;&#xA;&gt;&gt;&gt;&gt; &gt;&gt; Regards,&#xA;&gt;&gt;&gt;&gt; &gt;&gt; ZmnSCPxj&#xA;&gt;&gt;&gt;&gt; _______________________________________________&#xA;&gt;&gt;&gt;&gt; bitcoin-dev mailing list&#xA;&gt;&gt;&gt;&gt; bitcoin-dev at lists.linuxfoundation.org&#xA;&gt;&gt;&gt;&gt; https://lists.linuxfoundation.org/mailman/listinfo/bitcoin-dev&#xA;&gt;&gt;&gt;&gt;&#xA;&gt;&gt;&gt;&#xA;&gt;&gt;&gt;&#xA;&gt;&gt;&gt; --&#xA;&gt;&gt;&gt; Michael Dubrovsky&#xA;&gt;&gt;&gt; Founder; PoWx&#xA;&gt;&gt;&gt; www.PoWx.org &lt;http://www.powx.org/&gt;&#xA;&gt;&gt;&gt;&#xA;&gt;&gt;&#xA;&gt;&gt;&#xA;&gt;&gt; --&#xA;&gt;&gt; Michael Dubrovsky&#xA;&gt;&gt; Founder; PoWx&#xA;&gt;&gt; www.PoWx.org &lt;http://www.powx.org/&gt;&#xA;&gt;&gt; _______________________________________________&#xA;&gt;&gt; bitcoin-dev mailing list&#xA;&gt;&gt; bitcoin-dev at lists.linuxfoundation.org&#xA;&gt;&gt; https://lists.linuxfoundation.org/mailman/listinfo/bitcoin-dev&#xA;&gt;&gt;&#xA;&gt; _______________________________________________&#xA;&gt; bitcoin-dev mailing list&#xA;&gt; bitcoin-dev at lists.linuxfoundation.org&#xA;&gt; https://lists.linuxfoundation.org/mailman/listinfo/bitcoin-dev&#xA;&gt;&#xA;-------------- next part --------------&#xA;An HTML attachment was scrubbed...&#xA;URL: &lt;http://lists.linuxfoundation.org/pipermail/bitcoin-dev/attachments/20210523/732fa3c5/attachment-0001.html&gt;</html></oembed>