Return-Path: Received: from smtp1.linuxfoundation.org (smtp1.linux-foundation.org [172.17.192.35]) by mail.linuxfoundation.org (Postfix) with ESMTPS id 3885040F for ; Sun, 9 Apr 2017 14:01:04 +0000 (UTC) X-Greylist: whitelisted by SQLgrey-1.7.6 Received: from mail-wm0-f45.google.com (mail-wm0-f45.google.com [74.125.82.45]) by smtp1.linuxfoundation.org (Postfix) with ESMTPS id 2203B14F for ; Sun, 9 Apr 2017 14:01:03 +0000 (UTC) Received: by mail-wm0-f45.google.com with SMTP id u2so20421146wmu.0 for ; Sun, 09 Apr 2017 07:01:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=Yt+uqItP2KNuSq8r29zrq48w+o42EMKIfP1jZp0TkXQ=; b=ewmriYuZykjnWWUn07CCba8tIZIZUkjdLgteMZCW4wIuZPzxVyhTTQEv8HqDVKulz5 1Cm/7Tl+L/h8tAGh28hIZ83o5JeGaCG9ExcJ2p2ufv2EP89nOzjCksvNPLa7Mxd5Apax /X+HeFhX/AkfD6j35Gt1AXZ7vH+T1fj+XxdqnkxGpPANMRS22cxcIJaLZy2MHHruMva1 OR4oqZZJiDx0yQnJnWU6LKoRZS9c5UbxOuGkU5NISyGxIMHwC0RzExIHt23HvwOoLM8j PJOEmKCm5nFvES4zOPOLLLeJlmXdHmr4enFAGGuWBEDf/E1vDg/QltUxpSfHe77X57s9 fw6Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=Yt+uqItP2KNuSq8r29zrq48w+o42EMKIfP1jZp0TkXQ=; b=lFcI1he5n5wYPfzC+TrSaNvOBpTxGsLLpRmTu4CbJYgekQ1nf0KkGtBMt4p6bwBHoG TRm0ew2xTPDUnBvcrx3dvAFmitNhXnAu3nQc56fW0SwYz3u1NrhFVgzvQuZgcbZwJr19 obQqNnjp/H7xC4fwNDdr2x9LWGHpQvTW+wPHNFhFxgn2s+ckorZGbDv7O/WX6UTsSJHV mPDd6mr9+oJCeiLOxWDAUSZSva6xRj9vg5ZgMPzDhfj76Z8XqtQPdzocnjxKH0A2qcCN QOZ1s2rmE1zMEQiPsaSrjAyIsWuT0x4Bo0xl3bWk+CtEwlxF7v1JW9oCgSa9y09KQ5Vf 3eHg== X-Gm-Message-State: AN3rC/7KVUjf1OGe8nom8BZMHIL4Q6+V0MrNMwBttYSKByIILruryewKcX574Cx9YDapKcMklXKirSdndOnYZw== X-Received: by 10.28.111.3 with SMTP id k3mr6326767wmc.39.1491746461764; Sun, 09 Apr 2017 07:01:01 -0700 (PDT) MIME-Version: 1.0 Received: by 10.223.134.243 with HTTP; Sun, 9 Apr 2017 07:01:01 -0700 (PDT) In-Reply-To: References: From: Jimmy Song Date: Sun, 9 Apr 2017 09:01:01 -0500 Message-ID: To: =?UTF-8?B?Sm9yZ2UgVGltw7Nu?= Content-Type: multipart/alternative; boundary=001a1147cae4f2d3f1054cbc49ec X-Spam-Status: No, score=-0.3 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, FREEMAIL_FROM, HTML_MESSAGE, RCVD_IN_DNSWL_NONE, URIBL_BLACK autolearn=no version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on smtp1.linux-foundation.org X-Mailman-Approved-At: Sun, 09 Apr 2017 14:25:13 +0000 Cc: Bitcoin Dev Subject: Re: [bitcoin-dev] A Small Modification to Segwit X-BeenThere: bitcoin-dev@lists.linuxfoundation.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Bitcoin Protocol Discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 09 Apr 2017 14:01:04 -0000 --001a1147cae4f2d3f1054cbc49ec Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Jorge, Why won't the attacker use asicboost too? (Please don't say because of > patents) > > We're assuming the ASIC optimization in my example is incompatible with ASICBoost. But if the new optimization were compatible with ASICBoost, you're right, the network would be in an equivalent situation whether ASICBoost was banned or not. I want to point out again that overt ASICBoost can be used on the network today. My proposal is to bring ASICBoost usage out into the open vs hiding it. Banning ASICBoost via protocol changes is another issue completely. Jimmy > On 9 Apr 2017 12:26 am, "Jimmy Song" wrote: > >> Jorge, >> >> Suppose someone figures out an ASIC optimization that's completely >> unrelated that gives X% speed boost over your non-ASICBoosted >> implementation. If you ban ASICBoost, someone with this optimization can >> get 51% of the network by adding N machines with their new optimization.= If >> you allow ASICBoost and assuming this gets a 20% speed boost over >> non-ASICBoosted hardware, someone with this optimization would need 1.2N >> machines to get 51%. The network in that sense is 20% stronger against t= his >> attack in terms of cost. >> >> Jimmy >> >> On Sat, Apr 8, 2017 at 12:22 PM, Jorge Tim=C3=B3n wro= te: >> >>> To be more specific, why "being higher will secure the Bitcoin network >>> better against newer optimizations"? >>> Or, to be more clear, let's forget about future "optimizations", let's >>> just think of an attacker. Does asicboost being used by all miners >>> make the system more secure against an attacker? No, for the attacker >>> can use asicboost too. >>> What about the case when not all the miners are using asicboost? Then >>> the attacker can actually get an advantage by suing asicboost. >>> >>> Sometimes people compare asicboost with the use of asics in general as >>> both providing more security for the network and users. But I don't >>> think this is accurate. The existence of sha256d asics makes an attack >>> with general purpose computing hardware (or even more specialized >>> architectures like gpgpu) much more expensive and unlikely. As an >>> alternative the attacker can spend additional resources investing in >>> asics himself (again, making many attacks more expensive and >>> unlikely). >>> >>> But as far as I know, asicboost can be implemented with software >>> running on general purpose hardware that integrates with regular >>> sha256d asics. There is probably an advantage on having the asicboost >>> implementation "in the same box" as the sha256d, yet again the >>> attacker can invest in hardware with the competitive advantage from >>> having asicboost more intergrated with the sha256d asics too. >>> >>> To reiterate, whether all miners use asicboost or only a subset of >>> them, I remain unconvinced that provides any additional security to >>> the network (to be more precise whether that makes "tx history harder >>> to rewrite"), even if it results on the hashrate charts looking "more >>> secure". >>> >>> >>> On Sat, Apr 8, 2017 at 6:27 PM, Jorge Tim=C3=B3n wro= te: >>> > >>> > >>> > On 8 Apr 2017 5:06 am, "Jimmy Song via bitcoin-dev" >>> > wrote: >>> > >>> > Praxeology Guy, >>> > >>> >> Why would the actual end users of Bitcoin (the long term and short >>> term >>> >> owners of bitcoins) who run fully verifying nodes want to change >>> Bitcoin >>> >> policy in order to make their money more vulnerable to 51% attack? >>> > >>> > >>> > Certainly, if only one company made use of the extra nonce space, the= y >>> would >>> > have an advantage. But think of it this way, if some newer ASIC >>> optimization >>> > comes up, would you rather have a non-ASICBoosted hash rate to defend >>> with >>> > or an ASICBoosted hash rate? Certainly, the latter, being higher will >>> secure >>> > the Bitcoin network better against newer optimizations. >>> > >>> > >>> > Why? >>> >> >> --001a1147cae4f2d3f1054cbc49ec Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Jorge,

Why won't th= e attacker use asicboost too? (Please don't say because of patents)


We're assuming the ASI= C optimization in my example is incompatible with ASICBoost. But if the new= optimization were compatible with ASICBoost, you're right, the network= would be in an equivalent situation whether ASICBoost was banned or not.

I want to point out again that overt ASICBoost can = be used on the network today. My proposal is to bring ASICBoost usage out i= nto the open vs hiding it. Banning ASICBoost via protocol changes is anothe= r issue completely.

Jimmy
=C2=A0
On 9 Apr 2017 12:26 am, &qu= ot;Jimmy Song" <jaejoon@gmail.com> wrote:
Jorge,

Suppose someone= figures out an ASIC optimization that's completely unrelated that give= s X% speed boost over your non-ASICBoosted implementation. If you ban ASICB= oost, someone with this optimization can get 51% of the network by adding N= machines with their new optimization. If you allow ASICBoost and assuming = this gets a 20% speed boost over non-ASICBoosted hardware, someone with thi= s optimization would need 1.2N machines to get 51%. The network in that sen= se is 20% stronger against this attack in terms of cost.

Jimmy

On Sat, Apr 8, 2017 at 12:22 PM, Jorge Tim=C3=B3n = <jtimon@jtimon.cc<= /a>> wrote:
To be more specific= , why "being higher will secure the Bitcoin network
better against newer optimizations"?
Or, to be more clear, let's forget about future "optimizations&quo= t;, let's
just think of an attacker. Does asicboost being used by all miners
make the system more secure against an attacker? No, for the attacker
can use asicboost too.
What about the case when not all the miners are using asicboost? Then
the attacker can actually get an advantage by suing asicboost.

Sometimes people compare asicboost with the use of asics in general as
both providing more security for the network and users. But I don't
think this is accurate. The existence of sha256d asics makes an attack
with general purpose computing hardware (or even more specialized
architectures like gpgpu) much more expensive and unlikely. As an
alternative the attacker can spend additional resources investing in
asics himself (again, making many attacks more expensive and
unlikely).

But as far as I know, asicboost can be implemented with software
running on general purpose hardware that integrates with regular
sha256d asics. There is probably an advantage on having the asicboost
implementation "in the same box" as the sha256d, yet again the attacker can invest in hardware with the competitive advantage from
having asicboost more intergrated with the sha256d asics too.

To reiterate, whether all miners use asicboost or only a subset of
them, I remain unconvinced that provides any additional security to
the network (to be more precise whether that makes "tx history harder<= br> to rewrite"), even if it results on the hashrate charts looking "= more
secure".


On Sat, Apr 8, 2017 at 6:27 PM, Jorge Tim=C3=B3n <jtimon@jtimon.cc> w= rote:
>
>
> On 8 Apr 2017 5:06 am, "Jimmy Song via bitcoin-dev"
> <
bitcoin-dev@lists.linuxfoundation.org> wrote:
>
> Praxeology Guy,
>
>> Why would the actual end users of Bitcoin (the long term and short= term
>> owners of bitcoins) who run fully verifying nodes want to change B= itcoin
>> policy in order to make their money more vulnerable to 51% attack?=
>
>
> Certainly, if only one company made use of the extra nonce space, they= would
> have an advantage. But think of it this way, if some newer ASIC optimi= zation
> comes up, would you rather have a non-ASICBoosted hash rate to defend = with
> or an ASICBoosted hash rate? Certainly, the latter, being higher will = secure
> the Bitcoin network better against newer optimizations.
>
>
> Why?


--001a1147cae4f2d3f1054cbc49ec--