Received: from sog-mx-3.v43.ch3.sourceforge.com ([172.29.43.193] helo=mx.sourceforge.net) by sfs-ml-2.v29.ch3.sourceforge.com with esmtp (Exim 4.76) (envelope-from ) id 1YLvTw-0008EK-LT for bitcoin-development@lists.sourceforge.net; Thu, 12 Feb 2015 15:15:08 +0000 Received-SPF: pass (sog-mx-3.v43.ch3.sourceforge.com: domain of gmail.com designates 209.85.212.177 as permitted sender) client-ip=209.85.212.177; envelope-from=mh.in.england@gmail.com; helo=mail-wi0-f177.google.com; Received: from mail-wi0-f177.google.com ([209.85.212.177]) by sog-mx-3.v43.ch3.sourceforge.com with esmtps (TLSv1:RC4-SHA:128) (Exim 4.76) id 1YLvTv-0003Bt-3k for bitcoin-development@lists.sourceforge.net; Thu, 12 Feb 2015 15:15:08 +0000 Received: by mail-wi0-f177.google.com with SMTP id bs8so5121406wib.4 for ; Thu, 12 Feb 2015 07:15:01 -0800 (PST) MIME-Version: 1.0 X-Received: by 10.180.108.178 with SMTP id hl18mr6890641wib.92.1423754101066; Thu, 12 Feb 2015 07:15:01 -0800 (PST) Sender: mh.in.england@gmail.com Received: by 10.194.188.11 with HTTP; Thu, 12 Feb 2015 07:15:00 -0800 (PST) In-Reply-To: References: <20150212064719.GA6563@savin.petertodd.org> Date: Thu, 12 Feb 2015 16:15:00 +0100 X-Google-Sender-Auth: Zf1GArs_GTNAhst5phpYP4LSE-U Message-ID: From: Mike Hearn To: Alex Mizrahi Content-Type: multipart/alternative; boundary=e89a8f3ba0fd711275050ee5954a X-Spam-Score: -0.5 (/) X-Spam-Report: Spam Filtering performed by mx.sourceforge.net. See http://spamassassin.org/tag/ for more details. -1.5 SPF_CHECK_PASS SPF reports sender host as permitted sender for sender-domain 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (mh.in.england[at]gmail.com) -0.0 SPF_PASS SPF: sender matches SPF record 0.0 HTML_OBFUSCATE_05_10 BODY: Message is 5% to 10% HTML obfuscation 1.0 HTML_MESSAGE BODY: HTML included in message 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature -0.0 AWL AWL: Adjusted score from AWL reputation of From: address X-Headers-End: 1YLvTv-0003Bt-3k Cc: Bitcoin Dev Subject: Re: [Bitcoin-development] replace-by-fee v0.10.0rc4 X-BeenThere: bitcoin-development@lists.sourceforge.net X-Mailman-Version: 2.1.9 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Feb 2015 15:15:08 -0000 --e89a8f3ba0fd711275050ee5954a Content-Type: text/plain; charset=UTF-8 > > So anyway, in my opinion, it is actually great that Bitcoin is still > relatively small: we have an opportunity to analyze and improve things. > But you seem to be hostile to people who do that (and who do not share > your opinion), which is kinda uncool. > To clarify once more, I'm all for people researching and building ways to make Bitcoin better and safer. And debating that here is cool too. The "replace by fee" patches don't do this; as you said yourself the whole scorched earth thing makes no sense. It's not a solution to anything and it's important people realise that. Perhaps it will help if I spell out why this whole approach won't work (but can easily damage bitcoin a lot along the way). Normal Bitcoin nodes pick which transaction to put into a block by simply selecting whichever they saw arrive first, as determined by the arrival order of network packets. This rule is simple and has multiple advantages for people using Bitcoin to buy and sell things. Replace-by-fee changes this so nodes select whichever chain of unconfirmed transactions pays the highest miner fees. Up until the point that a transaction appears in a block, anyone can broadcast a double spend (or a spend of an unconfirmed transaction) which pays higher fees than before, causing that tx chain to become the candidate for chain inclusion. Peter argues that this is stable and makes unconfirmed transactions safe because a fraudster can buy something, walk out of the shop, and broadcast a double spend with a higher fee. But then the merchant can re-spend the original payment back to themselves with an *even* higher fee than that. Then the fraudster can re-spend their double spend with an *even* higher fee than that, and so on back and forth, until *all* the money has been spent to miner fees. Thus the merchant loses their goods but the fraudster has still "paid" in some sense because they don't get the money either. This argument makes no sense for two reasons. The first is that this setup means miners can steal arbitrary payments if they work together with the sender of the money. The model assumes this collaboration won't happen, but it will. Because no existing wallet has a "double spend this" button, to make the scheme work the dishonest miners must create and distribute such a wallet that implements the whole scorched-earth protocol. At that point it's easy for miners to reward the payment fraudster with some of the stolen money the merchant lost, meaning it now makes sense for the fraudster to always do this. The situation isn't stable at all. The second is that it incentivises competitors to engage in payment fraud against each other. A big rich coffee shop chain that is facing competition from a small, scrappy newcomer can simply walk into the new shop and buy things, then trigger the "scorched earth". Even with no miner collaboration, this means the big company is down the cost of the product *but* so is the little company who lost everything. Whoever can outspend the other wins. We don't really need game theory to tell us that this plan is a bad idea. Just imagine trying to explain it to an actual shop keeper. They would think you were crazy. Bitcoin is already a hard enough concept to understand without throwing into the mix "anyone can burn the money they gave you after walking out of the shop". --e89a8f3ba0fd711275050ee5954a Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
So anyway, in my opinion, it is actually great = that Bitcoin is still relatively small: we have an opportunity to analyze a= nd improve things.
But you seem to be hostile to people who do th= at (and who do not share your opinion), which is kinda uncool.
<= /div>

To clarify once more, I'm a= ll for people researching and building ways to make Bitcoin better and safe= r. And debating that here is cool too.

The "r= eplace by fee" patches don't do this; as you said yourself the who= le scorched earth thing makes no sense. It's not a solution to anything= and it's important people realise that.

Perha= ps it will help if I spell out why this whole approach won't work (but = can easily damage bitcoin a lot along the way).

No= rmal Bitcoin nodes pick which transaction to put into a block by simply sel= ecting whichever they saw arrive first, as determined by the arrival order = of network packets. This rule is simple and has multiple advantages for peo= ple using Bitcoin to buy and sell things.

Replace-= by-fee changes this so nodes select whichever chain of unconfirmed transact= ions pays the highest miner fees. Up until the point that a transaction app= ears in a block, anyone can broadcast a double spend (or a spend of an unco= nfirmed transaction) which pays higher fees than before, causing that tx ch= ain to become the candidate for chain inclusion.

P= eter argues that this is stable and makes unconfirmed transactions safe bec= ause a fraudster can buy something, walk out of the shop, and broadcast a d= ouble spend with a higher fee. But then the merchant can re-spend the origi= nal payment back to themselves with an even=C2=A0higher fee than tha= t. Then the fraudster can re-spend their double spend with an even= =C2=A0higher fee than that, and so on back and forth, until all=C2= =A0the money has been spent to miner fees. Thus the merchant loses their go= ods but the fraudster has still "paid" in some sense because they= don't get the money either.

This argument mak= es no sense for two reasons.

The first is that thi= s setup means miners can steal arbitrary payments if they work together wit= h the sender of the money. The model assumes this collaboration won't h= appen, but it will. Because no existing wallet has a "double spend thi= s" button, to make the scheme work the dishonest miners must create an= d distribute such a wallet that implements the whole scorched-earth protoco= l. At that point it's easy for miners to reward the payment fraudster w= ith some of the stolen money the merchant lost, meaning it now makes sense = for the fraudster to always do this. The situation isn't stable at all.=

The second is that it incentivises competitors to= engage in payment fraud against each other. A big rich coffee shop chain t= hat is facing competition from a small, scrappy newcomer can simply walk in= to the new shop and buy things, then trigger the "scorched earth"= . Even with no miner collaboration, this means the big company is down the = cost of the product but=C2=A0so is the little company who lost every= thing. Whoever can outspend the other wins.


We don't really need game theory to tell us that this plan is = a bad idea. Just imagine trying to explain it to an actual shop keeper. The= y would think you were crazy. Bitcoin is already a hard enough concept to u= nderstand without throwing into the mix "anyone can burn the money the= y gave you after walking out of the shop".
--e89a8f3ba0fd711275050ee5954a--