From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp3.osuosl.org (smtp3.osuosl.org [140.211.166.136]) by lists.linuxfoundation.org (Postfix) with ESMTP id 3F3D8C0001 for ; Mon, 24 May 2021 20:44:15 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp3.osuosl.org (Postfix) with ESMTP id 1A8F960A95 for ; Mon, 24 May 2021 20:44:15 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org X-Spam-Flag: NO X-Spam-Score: -2.098 X-Spam-Level: X-Spam-Status: No, score=-2.098 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no Authentication-Results: smtp3.osuosl.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from smtp3.osuosl.org ([127.0.0.1]) by localhost (smtp3.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 4TsCAJRqkJt0 for ; Mon, 24 May 2021 20:44:12 +0000 (UTC) X-Greylist: whitelisted by SQLgrey-1.8.0 Received: from mail-ej1-x62e.google.com (mail-ej1-x62e.google.com [IPv6:2a00:1450:4864:20::62e]) by smtp3.osuosl.org (Postfix) with ESMTPS id F2C3960A93 for ; Mon, 24 May 2021 20:44:11 +0000 (UTC) Received: by mail-ej1-x62e.google.com with SMTP id k14so40358281eji.2 for ; Mon, 24 May 2021 13:44:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=eeoHnnnVUV6twa6o5AsrWN0ORb4/GwwK2UzZmWU1rvE=; b=ZUXvmwkeXisb+vSYaytvyUu7tlz2a3oOztqukpgZ2ZkNhHKYoMsizW9NFgw3/tleSH EcWby0FeXPEuDX2zmgh809mU8kusJdjLVJjwcbsyU72EmSKzDEL2I5avqsoJ72qntPP9 WveX1tkAFQVsHgWMIp06Fv2taHyXOeSTiLZ343B7NhWb8XnUcfS5AgeY47hNobKvXc/C FlI7d/IzxhQHu+jQQXli64jnFWDDTL5oAWW5Uk0JoOOnXl2hvminTY9yevRH4MWmUL/R NdHL3ENsgxzS1KAFq6RDoj7WQMsI9BMqaKmk/4FWr6poThmsPbXI1XMa96d1+Gtrk/xP rtJg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=eeoHnnnVUV6twa6o5AsrWN0ORb4/GwwK2UzZmWU1rvE=; b=HRD7ob5m8Qp842DtkqsOAYxg3M0I8fmL3LvoIZcWIvvna7vpUq2PUNLbJL2bZLAQcT 5hDNtdSv1jmYcNJNSBb0LY7Vv4i5jnA9QaR1gaie++EpZudqG2yzMKQeqx3zHMRbIQK/ 918O4GZ3KXhdfARDz9NXDudlMrhCTtIgQ3ofWEwccjE0BT/6w2Jpi0OczcfmG15rXfsb JLuIBwwKzhx8UfW47WViYFFngqEccSE9Y2237mfgDK2cUBHxaM5jFp+2nk14teKsOVV6 AlKuwEV9zMFK677ZAlt604KqdxKRFkby16vRxMcBHZSDX/0bHegMBiQ50rAlIrTHvU9u g9dA== X-Gm-Message-State: AOAM532+6gtlMWixkMJ0w6tsapuYlgD26StUI/iTMlHnbJbr6uT4uXMM DXoKA5DuADg47qVhZIyDI5WAQWJC25vLWclsUiE= X-Google-Smtp-Source: ABdhPJwfwk6uzmLVSDFN4ur9ahZrbmQ/4GR9vOgWIOd5nau2LcscTdQ3MpXAwCwfj7VIdOuto6SnsFXpnc1HBfovdAc= X-Received: by 2002:a17:906:1e15:: with SMTP id g21mr24977326ejj.241.1621889050008; Mon, 24 May 2021 13:44:10 -0700 (PDT) MIME-Version: 1.0 References: <6do5xN2g5LPnFeM55iJ-4C4MyXOu_KeXxy68Xt4dJQMhi3LJ8ZrLICmEUlh8JGfDmsDG12m1JDAh0e0huwK_MlyKpdfn22ru3zsm7lYLfBo=@protonmail.com> <30li5MRxkBhzLxLmzRnHkCdn8n3Feqegi-FLZ5VDyIX2uRJfq4kVtrsLxw6dUtsM1atYV25IfIfDaQp4s2Dn2vc8LvYkhbAsn0v_Fwjerpw=@protonmail.com> In-Reply-To: From: Billy Tetrud Date: Mon, 24 May 2021 10:43:53 -1000 Message-ID: To: Erik Aronesty Content-Type: multipart/alternative; boundary="000000000000b0e17605c3197878" X-Mailman-Approved-At: Mon, 24 May 2021 20:49:13 +0000 Cc: Bitcoin Protocol Discussion , SatoshiSingh Subject: Re: [bitcoin-dev] Opinion on proof of stake in future X-BeenThere: bitcoin-dev@lists.linuxfoundation.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: Bitcoin Protocol Discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 24 May 2021 20:44:15 -0000 --000000000000b0e17605c3197878 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable > proof of burn clearly solves this, since nothing is held online Well.. the coins to be burned need to be online when they're burned. But yes, only a small fraction of the total coins need to be online. > your burn investment is always "at stake", any redaction can result in a loss-of-burn, because burns can be tied, precisely, to block-heights So you're saying that if say someone tries to mine a block on a shorter chain, that requires them to send a transaction burning their coins, and that transaction could also be spent on the longest chain, which means their coins are burned even if the chain they tried to mine on doesn't win? I'm fuzzy on how proof of burn works. > proof of burn can be more secure than proof-of-stake FYI, proof of stake can be done without the "nothing at stake" problem. You can simply punish people who mint on shorter chains (by rewarding people who publish proofs of this happening on the main chain). In quorum-based PoS, you can punish people in the quorum that propose or sign multiple blocks for the same height. The "nothing at stake" problem is a solved problem at this point for PoS. On Mon, May 24, 2021 at 3:47 AM Erik Aronesty wrote: > > I don't see a way to get around the conflicting requirement that the > keys for large amounts of coins should be kept offline but those are > exactly the coins we need online to make the scheme secure. > > proof of burn clearly solves this, since nothing is held online > > > how does proof of burn solve the "nothing at stake" problem in your > view? > > definition of nothing at stake: in the event of a fork, whether the > fork is accidental or a malicious, the optimal strategy for any miner > is to mine on every chain, so that the miner gets their reward no > matter which fork wins. indeed in proof-of-stake, the proofs are > published on the very chains mines, so the incentive is magnified. > > in proof-of-burn, your burn investment is always "at stake", any > redaction can result in a loss-of-burn, because burns can be tied, > precisely, to block-heights > > as a result, miners no longer have an incentive to mine all chains > > in this way proof of burn can be more secure than proof-of-stake, and > even more secure than proof of work > > > > > > > > > > > On Sun, May 23, 2021 at 3:52 AM Lloyd Fournier via bitcoin-dev > wrote: > > > > Hi Billy, > > > > I was going to write a post which started by dismissing many of the wea= k > arguments that are made against PoS made in this thread and elsewhere. > > Although I don't agree with all your points you have done a decent job > here so I'll focus on the second part: why I think Proof-of-Stake is > inappropriate for a Bitcoin-like system. > > > > Proof of stake is not fit for purpose for a global settlement layer in = a > pure digital asset (i.e. "digital gold") which is what Bitcoin is trying = to > be. > > PoS necessarily gives responsibilities to the holders of coins that the= y > do not want and cannot handle. > > In Bitcoin, large unsophisticated coin holders can put their coins in > cold storage without a second thought given to the health of the underlyi= ng > ledger. > > As much as hardcore Bitcoiners try to convince them to run their own > node, most don't, and that's perfectly acceptable. > > At no point do their personal decisions affect the underlying consensus > -- it only affects their personal security assurance (not that of the > system itself). > > In PoS systems this clean separation of responsibilities does not exist= . > > > > I think that the more rigorously studied PoS protocols will work fine > within the security claims made in their papers. > > People who believe that these protocols are destined for catastrophic > consensus failure are certainly in for a surprise. > > But the devil is in the detail. > > Let's look at what the implications of using the leading proof of stake > protocols would have on Bitcoin: > > > > ### Proof of SquareSpace (Cardano, Polkdadot) > > > > Cardano is a UTXO based PoS coin based on Ouroboros Praos[3] with an > inbuilt on-chain delegation system[5]. > > In these protocols, coin holders who do not want to run their node with > their hot keys in it delegate it to a "Stake Pool". > > I call the resulting system Proof-of-SquareSpace since most will choose > a pool by looking around for one with a nice website and offering the > largest share of the block reward. > > On the surface this might sound no different than someone with an minin= g > rig shopping around for a good mining pool but there are crucial > differences: > > > > 1. The person making the decision is forced into it just because they > own the currency -- someone with a mining rig has purchased it with the > intent to make profit by participating in consensus. > > > > 2. When you join a mining pool your systems are very much still online. > You are just partaking in a pool to reduce your profit variance. You stil= l > see every block that you help create and *you never help create a block > without seeing it first*. > > > > 3. If by SquareSpace sybil attack you gain a dishonest majority and > start censoring transactions how are the users meant to redelegate their > stake to honest pools? > > I guess they can just send a transaction delegating to another pool...o= h > wait I guess that might be censored too! This seems really really bad. > > In Bitcoin, miners can just join a different pool at a whim. There is > nothing the attacker can do to stop them. A temporary dishonest majority > heals relatively well. > > > > There is another severe disadvantage to this on-chain delegation system= : > every UTXO must indicate which staking account this UTXO belongs to so th= e > appropriate share of block rewards can be transferred there. > > Being able to associate every UTXO to an account ruins one of the main > privacy advantages of the UTXO model. > > It also grows the size of the blockchain significantly. > > > > ### "Pure" proof of stake (Algorand) > > > > Algorand's[4] approach is to only allow online stake to participate in > the protocol. > > Theoretically, This means that keys holding funds have to be online in > order for them to author blocks when they are chosen. > > Of course in reality no one wants to keep their coin holding keys onlin= e > so in Alogorand you can authorize a set of "participation keys"[1] that > will be used to create blocks on your coin holding key's behalf. > > Hopefully you've spotted the problem. > > You can send your participation keys to any malicious party with a nice > website (see random example [2]) offering you a good return. > > Damn it's still Proof-of-SquareSpace! > > The minor advantage is that at least the participation keys expire afte= r > a certain amount of time so eventually the SquareSpace attacker will lose > their hold on consensus. > > Importantly there is also less junk on the blockchain because the > participation keys are delegated off-chain and so are not making as much = of > a mess. > > > > ### Conclusion > > > > I don't see a way to get around the conflicting requirement that the > keys for large amounts of coins should be kept offline but those are > exactly the coins we need online to make the scheme secure. > > If we allow delegation then we open up a new social attack surface and > it degenerates to Proof-of-SquareSpace. > > > > For a "digital gold" like system like Bitcoin we optimize for simplicit= y > and desperately want to avoid extraneous responsibilities for the holder = of > the coin. > > After all, gold is an inert element on the periodic table that doesn't > confer responsibilities on the holder to maintain the quality of all the > other bars of gold out there. > > Bitcoin feels like this too and in many ways is more inert and > beautifully boring than gold. > > For Bitcoin to succeed I think we need to keep it that way and > Proof-of-Stake makes everything a bit too exciting. > > > > I suppose in the end the market will decide what is real digital gold > and whether these bad technical trade offs are worth being able to say it > uses less electricity. It goes without saying that making bad technical > decisions to appease the current political climate is an anathema to > Bitcoin. > > > > Would be interested to know if you or others think differently on these > points. > > > > [1]: > https://developer.algorand.org/docs/run-a-node/participate/generate_keys/ > > [2]: https://staking.staked.us/algorand-staking > > [3]: https://eprint.iacr.org/2017/573.pdf > > [4]: > https://algorandcom.cdn.prismic.io/algorandcom%2Fece77f38-75b3-44de-bc7f-= 805f0e53a8d9_theoretical.pdf > > [5]: > https://hydra.iohk.io/build/790053/download/1/delegation_design_spec.pdf > > > > Cheers, > > > > LL > > > > On Fri, 21 May 2021 at 19:21, Billy Tetrud via bitcoin-dev < > bitcoin-dev@lists.linuxfoundation.org> wrote: > >> > >> I think there is a lot of misinformation and bias against Proof of > Stake. Yes there have been lots of shady coins that use insecure PoS > mechanisms. Yes there have been massive issues with distribution of PoS > coins (of course there have also been massive issues with PoW coins as > well). However, I want to remind everyone that there is a difference > between "proved to be impossible" and "have not achieved recognized succe= ss > yet". Most of the arguments levied against PoS are out of date or rely on > unproven assumptions or extrapolation from the analysis of a particular P= oS > system. I certainly don't think we should experiment with bitcoin by > switching to PoS, but from my research, it seems very likely that there i= s > a proof of stake consensus protocol we could build that has substantially > higher security (cost / capital required to execute an attack) while at t= he > same time costing far less resources (which do translate to fees on the > network) *without* compromising any of the critical security properties > bitcoin relies on. I think the critical piece of this is the disagreement= s > around hardcoded checkpoints, which is a critical piece solving attacks > that could be levied on a PoS chain, and how that does (or doesn't) affec= t > the security model. > >> > >> @Eric Your proof of stake fallacy seems to be saying that PoS is worse > when a 51% attack happens. While I agree, I think that line of thinking > omits important facts: > >> * The capital required to 51% attack a PoS chain can be made > substantially greater than on a PoS chain. > >> * The capital the attacker stands to lose can be substantially greater > as well if the attack is successful. > >> * The effectiveness of paying miners to raise the honest fraction of > miners above 50% may be quite bad. > >> * Allowing a 51% attack is already unacceptable. It should be > considered whether what happens in the case of a 51% may not be > significantly different. The currency would likely be critically damaged = in > a 51% attack regardless of consensus mechanism. > >> > >> > Proof-of-stake tends towards oligopolistic control > >> > >> People repeat this often, but the facts support this. There is no > centralization pressure in any proof of stake mechanism that I'm aware of= . > IE if you have 10 times as much coin that you use to mint blocks, you > should expect to earn 10x as much minting revenue - not more than 10x. By > contrast, proof of work does in fact have clear centralization pressure - > this is not disputed. Our goal in relation to that is to ensure that the > centralization pressure remains insignifiant. Proof of work also clearly > has a lot more barriers to entry than any proof of stake system does. Bot= h > of these mean the tendency towards oligopolistic control is worse for PoW= . > >> > >> > Energy usage, in-and-of-itself, is nothing to be ashamed of!! > >> > >> I certainly agree. Bitcoin's energy usage at the moment is I think > quite warranted. However, the question is: can we do substantially better= . > I think if we can, we probably should... eventually. > >> > >> > Proof of Stake is only resilient to =E2=85=93 of the network demonst= rating a > Byzantine Fault, whilst Proof of Work is resilient up to the =C2=BD thres= hold > >> > >> I see no mention of this in the pos.pdf you linked to. I'm not aware o= f > any proof that all PoS systems have a failure threshold of 1/3. I know th= at > staking systems like Casper do in fact have that 1/3 requirement. However > there are PoS designs that should exceed that up to nearly 50% as far as > I'm aware. Proof of work is not in fact resilient up to the 1/2 threshold > in the way you would think. IE, if 100% of miners are currently honest an= d > have a collective 100 exahashes/s hashpower, an attacker does not need to > obtain 100 exahashes/s, but actually only needs to accumulate 50 > exahashes/s. This is because as the attacker accumulates hashpower, it > drives honest miners out of the market as the difficulty increases to > beyond what is economically sustainable. Also, its been shown that the be= st > proof of work can do is require an attacker to obtain 33% of the hashpowe= r > because of the selfish mining attack discussed in depth in this paper: > https://arxiv.org/abs/1311.0243. Together, both of these things reduce > PoW's security by a factor of about 83% (1 - 50%*33%). > >> > >> > Proof of Stake requires other trade-offs which are incompatible wit= h > Bitcoin's objective (to be a trustless digital cash) =E2=80=94 specifical= ly the > famous "security vs. liveness" guarantee > >> > >> Do you have a good source that talks about why you think proof of stak= e > cannot be used for a trustless digital cash? > >> > >> > You cannot gain tokens without someone choosing to give up those > coins - a form of permission. > >> > >> This is not a practical constraint. Just like in mining, some nodes ma= y > reject you, but there will likely be more that will accept you, some > sellers may reject you, but most would accept your money as payment for > bitcoins. I don't think requiring the "permission" of one of millions of > people in the market can be reasonably considered a "permissioned currenc= y". > >> > >> > 2. Proof of stake must have a trusted means of timestamping to > regulate overproduction of blocks > >> > >> Both PoW and PoS could mine/mint blocks twice as fast if everyone > agreed to double their clock speeds. Both systems rely on an honest > majority sticking to standard time. > >> > >> > >> On Wed, May 19, 2021 at 5:32 AM Michael Dubrovsky via bitcoin-dev < > bitcoin-dev@lists.linuxfoundation.org> wrote: > >>> > >>> Ah sorry, I didn't realize this was, in fact, a different thread! :) > >>> > >>> On Wed, May 19, 2021 at 10:07 AM Michael Dubrovsky > wrote: > >>>> > >>>> Folks, I suggest we keep the discussion to PoW, oPoW, and the BIP > itself. PoS, VDFs, and so on are interesting but I guess there are other > threads going on these topics already where they would be relevant. > >>>> > >>>> Also, it's important to distinguish between oPoW and these other > "alternatives" to Hashcash. oPoW is a true Proof of Work that doesn't alt= er > the core game theory or security assumptions of Hashcash and actually > contains SHA (can be SHA3, SHA256, etc hash is interchangeable). > >>>> > >>>> Cheers, > >>>> Mike > >>>> > >>>> On Tue, May 18, 2021 at 4:55 PM Erik Aronesty via bitcoin-dev < > bitcoin-dev@lists.linuxfoundation.org> wrote: > >>>>> > >>>>> 1. i never suggested vdf's to replace pow. > >>>>> > >>>>> 2. my suggestion was specifically *in the context of* a working > >>>>> proof-of-burn protocol > >>>>> > >>>>> - vdfs used only for timing (not block height) > >>>>> - blind-burned coins of a specific age used to replace proof of wor= k > >>>>> - the required "work" per block would simply be a competition to > >>>>> acquire rewards, and so miners would have to burn coins, well in > >>>>> advance, and hope that their burned coins got rewarded in some far > >>>>> future > >>>>> - the point of burned coins is to mimic, in every meaningful way, t= he > >>>>> value gained from proof of work... without some of the security > >>>>> drawbacks > >>>>> - the miner risks losing all of his burned coins (like all miners > risk > >>>>> losing their work in each block) > >>>>> - new burns can't be used > >>>>> - old burns age out (like ASICs do) > >>>>> - other requirements on burns might be needed to properly mirror th= e > >>>>> properties of PoW and the incentives Bitcoin uses to mine honestly. > >>>>> > >>>>> 3. i do believe it is *possible* that a "burned coin + vdf system" > >>>>> might be more secure in the long run, and that if the entire space > >>>>> agreed that such an endeavor was worthwhile, a test net could be sp= un > >>>>> up, and a hard-fork could be initiated. > >>>>> > >>>>> 4. i would never suggest such a thing unless i believed it was > >>>>> possible that consensus was possible. so no, this is not an "alt > >>>>> coin" > >>>>> > >>>>> On Tue, May 18, 2021 at 10:02 AM Zac Greenwood > wrote: > >>>>> > > >>>>> > Hi ZmnSCPxj, > >>>>> > > >>>>> > Please note that I am not suggesting VDFs as a means to save > energy, but solely as a means to make the time between blocks more consta= nt. > >>>>> > > >>>>> > Zac > >>>>> > > >>>>> > > >>>>> > On Tue, 18 May 2021 at 12:42, ZmnSCPxj > wrote: > >>>>> >> > >>>>> >> Good morning Zac, > >>>>> >> > >>>>> >> > VDFs might enable more constant block times, for instance by > having a two-step PoW: > >>>>> >> > > >>>>> >> > 1. Use a VDF that takes say 9 minutes to resolve (VDF being > subject to difficulty adjustments similar to the as-is). As per the > property of VDFs, miners are able show proof of work. > >>>>> >> > > >>>>> >> > 2. Use current PoW mechanism with lower difficulty so finding = a > block takes 1 minute on average, again subject to as-is difficulty > adjustments. > >>>>> >> > > >>>>> >> > As a result, variation in block times will be greatly reduced. > >>>>> >> > >>>>> >> As I understand it, another weakness of VDFs is that they are no= t > inherently progress-free (their sequential nature prevents that; they are > inherently progress-requiring). > >>>>> >> > >>>>> >> Thus, a miner which focuses on improving the amount of energy > that it can pump into the VDF circuitry (by overclocking and freezing the > circuitry), could potentially get into a winner-takes-all situation, > possibly leading to even *worse* competition and even *more* energy > consumption. > >>>>> >> After all, if you can start mining 0.1s faster than the > competition, that is a 0.1s advantage where *only you* can mine *in the > entire world*. > >>>>> >> > >>>>> >> Regards, > >>>>> >> ZmnSCPxj > >>>>> _______________________________________________ > >>>>> bitcoin-dev mailing list > >>>>> bitcoin-dev@lists.linuxfoundation.org > >>>>> https://lists.linuxfoundation.org/mailman/listinfo/bitcoin-dev > >>>> > >>>> > >>>> > >>>> -- > >>>> Michael Dubrovsky > >>>> Founder; PoWx > >>>> www.PoWx.org > >>> > >>> > >>> > >>> -- > >>> Michael Dubrovsky > >>> Founder; PoWx > >>> www.PoWx.org > >>> _______________________________________________ > >>> bitcoin-dev mailing list > >>> bitcoin-dev@lists.linuxfoundation.org > >>> https://lists.linuxfoundation.org/mailman/listinfo/bitcoin-dev > >> > >> _______________________________________________ > >> bitcoin-dev mailing list > >> bitcoin-dev@lists.linuxfoundation.org > >> https://lists.linuxfoundation.org/mailman/listinfo/bitcoin-dev > > > > _______________________________________________ > > bitcoin-dev mailing list > > bitcoin-dev@lists.linuxfoundation.org > > https://lists.linuxfoundation.org/mailman/listinfo/bitcoin-dev > --000000000000b0e17605c3197878 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
>=C2=A0 proof of burn clearly solves this, since nothing is held online

Well.. the coins to be burned need to be online when they're bu= rned. But yes, only a small fraction of the total coins need to be online.= =C2=A0

> your burn investment is always "a= t stake", any redaction can result in a loss-of-burn, because burns ca= n be tied, precisely, to block-heights

So you'= re saying that if say someone tries to mine a block on a shorter chain, tha= t requires them to send a transaction burning their coins, and that transac= tion could also be spent on the longest chain, which means their coins are = burned even if the chain they tried to mine on doesn't win? I'm fuz= zy on how proof of burn works.

> proof of burn = can be more secure than proof-of-stake

FYI, proof = of stake can be done without the "nothing at stake" problem. You = can simply punish people who mint on shorter chains (by rewarding people wh= o publish proofs of this happening on the main chain). In quorum-based PoS,= you can punish people in the quorum that propose or sign multiple blocks f= or the same height. The "nothing at stake" problem is a solved pr= oblem at this point for PoS.



<= div class=3D"gmail_quote">
On Mon, May= 24, 2021 at 3:47 AM Erik Aronesty <erik= @q32.com> wrote:
> I don't see a way to get around the conflicting requiremen= t that the keys for large amounts of coins should be kept offline but those= are exactly the coins we need online to make the scheme secure.

proof of burn clearly solves this, since nothing is held online

>=C2=A0 how does proof of burn solve the "nothing at stake" pr= oblem in your view?

definition of nothing at stake: in the event of a fork, whether the
fork is accidental or a malicious, the optimal strategy for any miner
is to mine on every chain, so that the miner gets their reward no
matter which fork wins.=C2=A0 =C2=A0indeed in proof-of-stake, the proofs ar= e
published on the very chains mines, so the incentive is magnified.

in proof-of-burn, your burn investment is always "at stake", any<= br> redaction can result in a loss-of-burn, because burns can be tied,
precisely, to block-heights

as a result, miners no longer have an incentive to mine all chains

in this way proof of burn can be more secure than proof-of-stake, and
even more secure than proof of work







>

On Sun, May 23, 2021 at 3:52 AM Lloyd Fournier via bitcoin-dev
<bitcoin-dev@lists.linuxfoundation.org> wrote:
>
> Hi Billy,
>
> I was going to write a post which started by dismissing many of the we= ak arguments that are made against PoS made in this thread and elsewhere. > Although I don't agree with all your points you have done a decent= job here so I'll focus on the second part: why I think Proof-of-Stake = is inappropriate for a Bitcoin-like system.
>
> Proof of stake is not fit for purpose for a global settlement layer in= a pure digital asset (i.e. "digital gold") which is what Bitcoin= is trying to be.
> PoS necessarily gives responsibilities to the holders of coins that th= ey do not want and cannot handle.
> In Bitcoin, large unsophisticated coin holders can put their coins in = cold storage without a second thought given to the health of the underlying= ledger.
> As much as hardcore Bitcoiners try to convince them to run their own n= ode, most don't, and that's perfectly acceptable.
> At no point do their personal decisions affect the underlying consensu= s -- it only affects their personal security assurance (not that of the sys= tem itself).
> In PoS systems this clean separation of responsibilities does not exis= t.
>
> I think that the more rigorously studied PoS protocols will work fine = within the security claims made in their papers.
> People who believe that these protocols are destined for catastrophic = consensus failure are certainly in for a surprise.
> But the devil is in the detail.
> Let's look at what the implications of using the leading proof of = stake protocols would have on Bitcoin:
>
> ### Proof of SquareSpace (Cardano, Polkdadot)
>
> Cardano is a UTXO based PoS coin based on Ouroboros Praos[3] with an i= nbuilt on-chain delegation system[5].
> In these protocols, coin holders who do not want to run their node wit= h their hot keys in it delegate it to a "Stake Pool".
> I call the resulting system Proof-of-SquareSpace since most will choos= e a pool by looking around for one with a nice website and offering the lar= gest share of the block reward.
> On the surface this might sound no different than someone with an mini= ng rig shopping around for a good mining pool but there are crucial differe= nces:
>
> 1. The person making the decision is forced into it just because they = own the currency -- someone with a mining rig has purchased it with the int= ent to make profit by participating in consensus.
>
> 2. When you join a mining pool your systems are very much still online= . You are just partaking in a pool to reduce your profit variance. You stil= l see every block that you help create and *you never help create a block w= ithout seeing it first*.
>
> 3. If by SquareSpace sybil attack you gain a dishonest majority and st= art censoring transactions how are the users meant to redelegate their stak= e to honest pools?
> I guess they can just send a transaction delegating to another pool...= oh wait I guess that might be censored too! This seems really really bad. > In Bitcoin, miners can just join a different pool at a whim. There is = nothing the attacker can do to stop them. A temporary dishonest majority he= als relatively well.
>
> There is another severe disadvantage to this on-chain delegation syste= m: every UTXO must indicate which staking account this UTXO belongs to so t= he appropriate share of block rewards can be transferred there.
> Being able to associate every UTXO to an account ruins one of the main= privacy advantages of the UTXO model.
> It also grows the size of the blockchain significantly.
>
> ### "Pure" proof of stake (Algorand)
>
> Algorand's[4] approach is to only allow online stake to participat= e in the protocol.
> Theoretically, This means that keys holding funds have to be online in= order for them to author blocks when they are chosen.
> Of course in reality no one wants to keep their coin holding keys onli= ne so in Alogorand you can authorize a set of "participation keys"= ;[1] that will be used to create blocks on your coin holding key's beha= lf.
> Hopefully you've spotted the problem.
> You can send your participation keys to any malicious party with a nic= e website (see random example [2]) offering you a good return.
> Damn it's still Proof-of-SquareSpace!
> The minor advantage is that at least the participation keys expire aft= er a certain amount of time so eventually the SquareSpace attacker will los= e their hold on consensus.
> Importantly there is also less junk on the blockchain because the part= icipation keys are delegated off-chain and so are not making as much of a m= ess.
>
> ### Conclusion
>
> I don't see a way to get around the conflicting requirement that t= he keys for large amounts of coins should be kept offline but those are exa= ctly the coins we need online to make the scheme secure.
> If we allow delegation then we open up a new social attack surface and= it degenerates to Proof-of-SquareSpace.
>
> For a "digital gold" like system like Bitcoin we optimize fo= r simplicity and desperately want to avoid extraneous responsibilities for = the holder of the coin.
> After all, gold is an inert element on the periodic table that doesn&#= 39;t confer responsibilities on the holder to maintain the quality of all t= he other bars of gold out there.
> Bitcoin feels like this too and in many ways is more inert and beautif= ully boring than gold.
> For Bitcoin to succeed I think we need to keep it that way and Proof-o= f-Stake makes everything a bit too exciting.
>
> I suppose in the end the market will decide what is real digital gold = and whether these bad technical trade offs are worth being able to say it u= ses less electricity. It goes without saying that making bad technical deci= sions to appease the current political climate is an anathema to Bitcoin. >
> Would be interested to know if you or others think differently on thes= e points.
>
> [1]: https://developer= .algorand.org/docs/run-a-node/participate/generate_keys/
> [2]: https://staking.staked.us/algorand-staking > [3]: https://eprint.iacr.org/2017/573.pdf
> [4]: https://algorandcom.cdn.prismic.io/algorandcom%2Fece77f38-75b3-= 44de-bc7f-805f0e53a8d9_theoretical.pdf
> [5]: https://hydra.iohk= .io/build/790053/download/1/delegation_design_spec.pdf
>
> Cheers,
>
> LL
>
> On Fri, 21 May 2021 at 19:21, Billy Tetrud via bitcoin-dev <bitcoin= -dev@lists.linuxfoundation.org> wrote:
>>
>> I think there is a lot of misinformation and bias against Proof of= Stake. Yes there have been lots of shady coins that use insecure PoS mecha= nisms. Yes there have been massive issues with distribution of PoS coins (o= f course there have also been massive issues with PoW coins as well). Howev= er, I want to remind everyone that there is a difference between "prov= ed to be impossible" and "have not achieved recognized success ye= t". Most of the arguments levied against PoS are out of date or rely o= n unproven assumptions or extrapolation from the analysis of a particular P= oS system. I certainly don't think we should experiment with bitcoin by= switching to PoS, but from my research, it seems very likely that there is= a proof of stake consensus protocol we could build that has substantially = higher security (cost / capital required to execute an attack) while at the= same time costing far less resources (which do translate to fees on the ne= twork) *without* compromising any of the critical security properties bitco= in relies on. I think the critical piece of this is the disagreements aroun= d hardcoded checkpoints, which is a critical piece solving attacks that cou= ld be levied on a PoS chain, and how that does (or doesn't) affect the = security model.
>>
>> @Eric Your proof of stake fallacy seems to be saying that PoS is w= orse when a 51% attack happens. While I agree, I think that line of thinkin= g omits important facts:
>> * The capital required to 51% attack a PoS chain can be made subst= antially greater than on a PoS chain.
>> * The capital the attacker stands to lose can be substantially gre= ater as well if the attack is successful.
>> * The effectiveness of paying miners to raise the honest fraction = of miners above 50% may be quite bad.
>> * Allowing a 51% attack is already unacceptable. It should be cons= idered whether what happens in the case of a 51% may not be significantly d= ifferent. The currency would likely be critically damaged in a 51% attack r= egardless of consensus mechanism.
>>
>> > Proof-of-stake tends towards oligopolistic control
>>
>> People repeat this often, but the facts support this. There is no = centralization pressure in any proof of stake mechanism that I'm aware = of. IE if you have 10 times as much coin that you use to mint blocks, you s= hould expect to earn 10x as much minting revenue - not more than 10x. By co= ntrast, proof of work does in fact have clear centralization pressure - thi= s is not disputed. Our goal in relation to that is to ensure that the centr= alization pressure remains insignifiant. Proof of work also clearly has a l= ot more barriers to entry than any proof of stake system does. Both of thes= e mean the tendency towards oligopolistic control is worse for PoW.
>>
>> > Energy usage, in-and-of-itself, is nothing to be ashamed of!!=
>>
>> I certainly agree. Bitcoin's energy usage at the moment is I t= hink quite warranted. However, the question is: can we do substantially bet= ter. I think if we can, we probably should... eventually.
>>
>> > Proof of Stake is only resilient to =E2=85=93 of the network = demonstrating a Byzantine Fault, whilst Proof of Work is resilient up to th= e =C2=BD threshold
>>
>> I see no mention of this in the pos.pdf you linked to. I'm not= aware of any proof that all PoS systems have a failure threshold of 1/3. I= know that staking systems like Casper do in fact have that 1/3 requirement= . However there are PoS designs that should exceed that up to nearly 50% as= far as I'm aware. Proof of work is not in fact resilient up to the 1/2= threshold in the way you would think. IE, if 100% of miners are currently = honest and have a collective 100 exahashes/s hashpower, an attacker does no= t need to obtain 100 exahashes/s, but actually only needs to accumulate 50 = exahashes/s. This is because as the attacker accumulates hashpower, it driv= es honest miners out of the market as the difficulty increases to beyond wh= at is economically sustainable. Also, its been shown that the best proof of= work can do is require an attacker to obtain 33% of the hashpower because = of the selfish mining attack discussed in depth in this paper: https:= //arxiv.org/abs/1311.0243. Together, both of these things reduce PoW= 9;s security by a factor of about 83% (1 - 50%*33%).
>>
>>=C2=A0 > Proof of Stake requires other trade-offs which are inco= mpatible with Bitcoin's objective (to be a trustless digital cash) =E2= =80=94 specifically the famous "security vs. liveness" guarantee<= br> >>
>> Do you have a good source that talks about why you think proof of = stake cannot be used for a trustless digital cash?
>>
>> > You cannot gain tokens without someone choosing to give up th= ose coins - a form of permission.
>>
>> This is not a practical constraint. Just like in mining, some node= s may reject you, but there will likely be more that will accept you, some = sellers may reject you, but most would accept your money as payment for bit= coins. I don't think requiring the "permission" of one of mil= lions of people in the market can be reasonably considered a "permissi= oned currency".
>>
>> > 2. Proof of stake must have a trusted means of timestamping t= o regulate overproduction of blocks
>>
>> Both PoW and PoS could mine/mint blocks twice as fast if everyone = agreed to double their clock speeds. Both systems rely on an honest majorit= y sticking to standard time.
>>
>>
>> On Wed, May 19, 2021 at 5:32 AM Michael Dubrovsky via bitcoin-dev = <bitcoin-dev@lists.linuxfoundation.org> wrote:
>>>
>>> Ah sorry, I didn't realize this was, in fact, a different = thread! :)
>>>
>>> On Wed, May 19, 2021 at 10:07 AM Michael Dubrovsky <mike@powx.org> wrote: >>>>
>>>> Folks, I suggest we keep the discussion to PoW, oPoW, and = the BIP itself. PoS, VDFs, and so on are interesting but I guess there are = other threads going on these topics already where they would be relevant. >>>>
>>>> Also, it's important to distinguish between oPoW and t= hese other "alternatives" to Hashcash. oPoW is a true Proof of Wo= rk that doesn't alter the core game theory or security assumptions of H= ashcash and actually contains SHA (can be SHA3, SHA256, etc hash is interch= angeable).
>>>>
>>>> Cheers,
>>>> Mike
>>>>
>>>> On Tue, May 18, 2021 at 4:55 PM Erik Aronesty via bitcoin-= dev <bitcoin-dev@lists.linuxfoundation.org> wrote:
>>>>>
>>>>> 1. i never suggested vdf's to replace pow.
>>>>>
>>>>> 2. my suggestion was specifically *in the context of* = a working
>>>>> proof-of-burn protocol
>>>>>
>>>>> - vdfs used only for timing (not block height)
>>>>> - blind-burned coins of a specific age used to replace= proof of work
>>>>> - the required "work" per block would simply= be a competition to
>>>>> acquire rewards, and so miners would have to burn coin= s, well in
>>>>> advance, and hope that their burned coins got rewarded= in some far
>>>>> future
>>>>> - the point of burned coins is to mimic, in every mean= ingful way, the
>>>>> value gained from proof of work... without some of the= security
>>>>> drawbacks
>>>>> - the miner risks losing all of his burned coins (like= all miners risk
>>>>> losing their work in each block)
>>>>> - new burns can't be used
>>>>> - old burns age out (like ASICs do)
>>>>> - other requirements on burns might be needed to prope= rly mirror the
>>>>> properties of PoW and the incentives Bitcoin uses to m= ine honestly.
>>>>>
>>>>> 3. i do believe it is *possible* that a "burned c= oin + vdf system"
>>>>> might be more secure in the long run, and that if the = entire space
>>>>> agreed that such an endeavor was worthwhile, a test ne= t could be spun
>>>>> up, and a hard-fork could be initiated.
>>>>>
>>>>> 4. i would never suggest such a thing unless i believe= d it was
>>>>> possible that consensus was possible.=C2=A0 so no, thi= s is not an "alt
>>>>> coin"
>>>>>
>>>>> On Tue, May 18, 2021 at 10:02 AM Zac Greenwood <zachgrw@gmail.com&g= t; wrote:
>>>>> >
>>>>> > Hi ZmnSCPxj,
>>>>> >
>>>>> > Please note that I am not suggesting VDFs as a me= ans to save energy, but solely as a means to make the time between blocks m= ore constant.
>>>>> >
>>>>> > Zac
>>>>> >
>>>>> >
>>>>> > On Tue, 18 May 2021 at 12:42, ZmnSCPxj <ZmnSCPxj@protonmail.= com> wrote:
>>>>> >>
>>>>> >> Good morning Zac,
>>>>> >>
>>>>> >> > VDFs might enable more constant block ti= mes, for instance by having a two-step PoW:
>>>>> >> >
>>>>> >> > 1. Use a VDF that takes say 9 minutes to= resolve (VDF being subject to difficulty adjustments similar to the as-is)= . As per the property of VDFs, miners are able show proof of work.
>>>>> >> >
>>>>> >> > 2. Use current PoW mechanism with lower = difficulty so finding a block takes 1 minute on average, again subject to a= s-is difficulty adjustments.
>>>>> >> >
>>>>> >> > As a result, variation in block times wi= ll be greatly reduced.
>>>>> >>
>>>>> >> As I understand it, another weakness of VDFs = is that they are not inherently progress-free (their sequential nature prev= ents that; they are inherently progress-requiring).
>>>>> >>
>>>>> >> Thus, a miner which focuses on improving the = amount of energy that it can pump into the VDF circuitry (by overclocking a= nd freezing the circuitry), could potentially get into a winner-takes-all s= ituation, possibly leading to even *worse* competition and even *more* ener= gy consumption.
>>>>> >> After all, if you can start mining 0.1s faste= r than the competition, that is a 0.1s advantage where *only you* can mine = *in the entire world*.
>>>>> >>
>>>>> >> Regards,
>>>>> >> ZmnSCPxj
>>>>> _______________________________________________
>>>>> bitcoin-dev mailing list
>>>>> bitcoin-dev@lists.linuxfoundation.org
>>>>> https://lists.lin= uxfoundation.org/mailman/listinfo/bitcoin-dev
>>>>
>>>>
>>>>
>>>> --
>>>> Michael Dubrovsky
>>>> Founder; PoWx
>>>> www.PoWx.org
>>>
>>>
>>>
>>> --
>>> Michael Dubrovsky
>>> Founder; PoWx
>>> www.PoWx.org
>>> _______________________________________________
>>> bitcoin-dev mailing list
>>> bitcoin-dev@lists.linuxfoundation.org
>>> https://lists.linuxfounda= tion.org/mailman/listinfo/bitcoin-dev
>>
>> _______________________________________________
>> bitcoin-dev mailing list
>> bitcoin-dev@lists.linuxfoundation.org
>> https://lists.linuxfoundation= .org/mailman/listinfo/bitcoin-dev
>
> _______________________________________________
> bitcoin-dev mailing list
> bitcoin-dev@lists.linuxfoundation.org
> https://lists.linuxfoundation.org= /mailman/listinfo/bitcoin-dev
--000000000000b0e17605c3197878--