summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Todd <pete@petertodd.org>2016-02-12 10:34:53 -0500
committerbitcoindev <bitcoindev@gnusha.org>2016-02-12 15:35:11 +0000
commit82799bb179c44982c7548ed6956e92fb2be755a0 (patch)
tree2e35e4dd971c2754574145efc6f300e08fdbf67a
parent29db01c2cf6bb879712a257f7469d8a0112fdee9 (diff)
downloadpi-bitcoindev-82799bb179c44982c7548ed6956e92fb2be755a0.tar.gz
pi-bitcoindev-82799bb179c44982c7548ed6956e92fb2be755a0.zip
Re: [bitcoin-dev] Soft fork fix for block withholding attacks
-rw-r--r--09/cacb0123ffa381d1b865756130536a891549c5128
1 files changed, 128 insertions, 0 deletions
diff --git a/09/cacb0123ffa381d1b865756130536a891549c5 b/09/cacb0123ffa381d1b865756130536a891549c5
new file mode 100644
index 000000000..641459c8e
--- /dev/null
+++ b/09/cacb0123ffa381d1b865756130536a891549c5
@@ -0,0 +1,128 @@
+Return-Path: <pete@petertodd.org>
+Received: from smtp1.linuxfoundation.org (smtp1.linux-foundation.org
+ [172.17.192.35])
+ by mail.linuxfoundation.org (Postfix) with ESMTPS id 98FC3E0B
+ for <bitcoin-dev@lists.linuxfoundation.org>;
+ Fri, 12 Feb 2016 15:35:11 +0000 (UTC)
+X-Greylist: from auto-whitelisted by SQLgrey-1.7.6
+Received: from outmail148154.authsmtp.co.uk (outmail148154.authsmtp.co.uk
+ [62.13.148.154])
+ by smtp1.linuxfoundation.org (Postfix) with ESMTP id BBAE890
+ for <bitcoin-dev@lists.linuxfoundation.org>;
+ Fri, 12 Feb 2016 15:35:10 +0000 (UTC)
+Received: from mail-c232.authsmtp.com (mail-c232.authsmtp.com [62.13.128.232])
+ by punt21.authsmtp.com (8.14.2/8.14.2/) with ESMTP id u1CFZ88B070508;
+ Fri, 12 Feb 2016 15:35:08 GMT
+Received: from petertodd.org (ec2-52-5-185-120.compute-1.amazonaws.com
+ [52.5.185.120]) (authenticated bits=0)
+ by mail.authsmtp.com (8.14.2/8.14.2/) with ESMTP id u1CFZ25O095534
+ (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO);
+ Fri, 12 Feb 2016 15:35:03 GMT
+Received: from [127.0.0.1] (localhost [127.0.0.1])
+ by petertodd.org (Postfix) with ESMTPSA id 961C640012;
+ Fri, 12 Feb 2016 15:31:44 +0000 (UTC)
+Received: by savin (Postfix, from userid 1000)
+ id 07D3913FC08; Fri, 12 Feb 2016 10:35:01 -0500 (EST)
+Received: by savin (hashcash-sendmail, from uid 1000);
+ Fri, 12 Feb 2016 10:34:53 -0500
+Date: Fri, 12 Feb 2016 10:34:53 -0500
+From: Peter Todd <pete@petertodd.org>
+To: gladoscc <admin+g@glados.cc>
+Message-ID: <20160212153453.GA4976@savin.petertodd.org>
+References: <CAL7-sS0NdZ4E7qwSs9TQdvsyqrzY0q847oM2cnwEYA3ciXCs4g@mail.gmail.com>
+ <CAL7-sS3QFGg_uj0UN+vPSE1Y3-XTj3HeCaPxERznpMfhvaj28A@mail.gmail.com>
+ <CAL7-sS2DqPF0Y7+UT7qGp==MJBmHmbQW5em+XFY8ZkVPuzCPcQ@mail.gmail.com>
+ <CAL7-sS2TMUg1KTPgitzMq61-4+ppzpZ7E_aEsbLXOuBYqU_q-g@mail.gmail.com>
+ <CAL7-sS1JhXAJ_hjUpLvnPWiwsf2hOwsaZdrq9negDPZiGs4nmg@mail.gmail.com>
+ <CAL7-sS2vb5Aid-pTHHgJ0N9O8QYP=OR3HE1bVGw32LPm6W9SUA@mail.gmail.com>
+MIME-Version: 1.0
+Content-Type: multipart/signed; micalg=pgp-sha256;
+ protocol="application/pgp-signature"; boundary="CE+1k2dSO48ffgeK"
+Content-Disposition: inline
+In-Reply-To: <CAL7-sS2vb5Aid-pTHHgJ0N9O8QYP=OR3HE1bVGw32LPm6W9SUA@mail.gmail.com>
+X-Hashcash: 1:28:160212:admin+g@glados.cc::xR8ggBS38mhHWnB8:00000000000000000000
+ 000000000000000000000003KR7R
+X-Hashcash: 1:28:160212:bitcoin-dev@lists.linuxfoundation.org::1cUQl8F64utcb5zj:
+ 0000000000000000000000014xkT
+X-Server-Quench: 2facbcfb-d19e-11e5-829e-00151795d556
+X-AuthReport-Spam: If SPAM / abuse - report it at:
+ http://www.authsmtp.com/abuse
+X-AuthRoute: OCd2Yg0TA1ZNQRgX IjsJECJaVQIpKltL GxAVKBZePFsRUQkR
+ aAdMdwAUHlAWAgsB AmAbWlFeU1h7WWA7 bghPaBtcak9QXgdq
+ T0pMXVMcUQQbd3YD A2EeWxx3dAEIfndx ZwhgCCEIDhcsJ1sp
+ Q0cBCGwHMGJ9YGIW BV1YdwJRcQRDe0tA b1YxNiYHcQ5VPz4z
+ GA41ejw8IwAXEyNb XkkDKkgRCUgKDnYy QApKFzEoFk5NWCQv
+ LxwhLlIdGklZO1ku OFAiQjp/
+X-Authentic-SMTP: 61633532353630.1037:706
+X-AuthFastPath: 0 (Was 255)
+X-AuthSMTP-Origin: 52.5.185.120/25
+X-AuthVirus-Status: No virus detected - but ensure you scan with your own
+ anti-virus system.
+X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_LOW
+ autolearn=ham version=3.3.1
+X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on
+ smtp1.linux-foundation.org
+X-Mailman-Approved-At: Fri, 12 Feb 2016 15:36:22 +0000
+Cc: Bitcoin Dev <bitcoin-dev@lists.linuxfoundation.org>
+Subject: Re: [bitcoin-dev] Soft fork fix for block withholding attacks
+X-BeenThere: bitcoin-dev@lists.linuxfoundation.org
+X-Mailman-Version: 2.1.12
+Precedence: list
+List-Id: Bitcoin Development Discussion <bitcoin-dev.lists.linuxfoundation.org>
+List-Unsubscribe: <https://lists.linuxfoundation.org/mailman/options/bitcoin-dev>,
+ <mailto:bitcoin-dev-request@lists.linuxfoundation.org?subject=unsubscribe>
+List-Archive: <http://lists.linuxfoundation.org/pipermail/bitcoin-dev/>
+List-Post: <mailto:bitcoin-dev@lists.linuxfoundation.org>
+List-Help: <mailto:bitcoin-dev-request@lists.linuxfoundation.org?subject=help>
+List-Subscribe: <https://lists.linuxfoundation.org/mailman/listinfo/bitcoin-dev>,
+ <mailto:bitcoin-dev-request@lists.linuxfoundation.org?subject=subscribe>
+X-List-Received-Date: Fri, 12 Feb 2016 15:35:11 -0000
+
+
+--CE+1k2dSO48ffgeK
+Content-Type: text/plain; charset=us-ascii
+Content-Disposition: inline
+Content-Transfer-Encoding: quoted-printable
+
+On Fri, Feb 12, 2016 at 10:31:56PM +1100, gladoscc via bitcoin-dev wrote:
+> Here's a method of fixing block withholding attacks with a soft fork:
+
+So, while you're technique I believe works, it's not a soft-fork, at
+least under the definition most of the Bitcoin dev/research community
+have been using.
+
+The reason is if it's adopted by a majority of hashing power, less than
+a majority of hashing power can create a chain that appears to be the
+most-work chain, from the perspective of non-adopting nodes. Those nodes
+would then be following a weaker chain.
+
+A better term for what you're proposing might be a "pseudo-soft-fork",
+given that you don't quite meet the requirements for a true soft-fork.
+Having said that, it may be the case that overall your technique still
+reduces risk compared to a simpler hard-fork implementation of the idea;
+more analysis is needed there.
+
+--=20
+https://petertodd.org 'peter'[:-1]@petertodd.org
+000000000000000006d243cee301d792809a7d4d00c13ac24b43d5e9548625e4
+
+--CE+1k2dSO48ffgeK
+Content-Type: application/pgp-signature; name="signature.asc"
+Content-Description: Digital signature
+
+-----BEGIN PGP SIGNATURE-----
+
+iQGrBAEBCACVBQJWvfuZXhSAAAAAABUAQGJsb2NraGFzaEBiaXRjb2luLm9yZzAw
+MDAwMDAwMDAwMDAwMDAwNmQyNDNjZWUzMDFkNzkyODA5YTdkNGQwMGMxM2FjMjRi
+NDNkNWU5NTQ4NjI1ZTQvFIAAAAAAFQARcGthLWFkZHJlc3NAZ251cGcub3JncGV0
+ZUBwZXRlcnRvZC5vcmcACgkQJIFAPaXwkfu0zAf/VFd40EtGxhDJlWv5i8s4zEz7
+9CtjCWMqflJnpegNniPig05nTFDrGxhU/f3C8/mDk05Ooh/22AT3B3Q+F/iUlE/v
+Y6M/Kh+GJ9mdPT65JTLeX1loCExR9355bRQtW+ObENnTbMDg3O/EdTPfKO44NskN
+AXp9cUZV/2s68fFI6rMuvx7XMWaEgMWnoXMvpISP2ms4Z46i72VaDUJFcOnNK0ty
+fETnLdW6DB9QYNwNVc5Jocb1FkHTX86zCg0pbOIkVAKm5jybFo0CJbqD8+HROldB
+V4bW5aE9hgI6vlEiu2K9H0Am2Ko5E8tB7/0E5h8uZflOBmmhKERnQQvcNEZLoQ==
+=OY79
+-----END PGP SIGNATURE-----
+
+--CE+1k2dSO48ffgeK--
+