Received: from sog-mx-1.v43.ch3.sourceforge.com ([172.29.43.191] helo=mx.sourceforge.net) by sfs-ml-3.v29.ch3.sourceforge.com with esmtp (Exim 4.76) (envelope-from ) id 1XpW49-00014y-6v for bitcoin-development@lists.sourceforge.net; Sat, 15 Nov 2014 05:38:33 +0000 Received-SPF: pass (sog-mx-1.v43.ch3.sourceforge.com: domain of haskoin.com designates 217.115.119.205 as permitted sender) client-ip=217.115.119.205; envelope-from=root@haskoin.com; helo=galactica.xeno-genesis.com; Received: from galactica.xeno-genesis.com ([217.115.119.205]) by sog-mx-1.v43.ch3.sourceforge.com with esmtps (TLSv1:AES256-SHA:256) (Exim 4.76) id 1XpW47-0002fN-QO for bitcoin-development@lists.sourceforge.net; Sat, 15 Nov 2014 05:38:33 +0000 Received: from localhost (localhost [127.0.0.1]) by galactica.xeno-genesis.com (Postfix) with ESMTP id 2A89413C6B6A for ; Sat, 15 Nov 2014 04:43:48 +0000 (GMT) X-Virus-Scanned: Debian amavisd-new at haskoin.com Received: from galactica.xeno-genesis.com ([127.0.0.1]) by localhost (galactica.xeno-genesis.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id Ftyn0wjS0lDL for ; Sat, 15 Nov 2014 04:43:45 +0000 (GMT) Received: from [192.168.1.57] (c-76-102-12-150.hsd1.ca.comcast.net [76.102.12.150]) (using TLSv1 with cipher ECDHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: xeno) by galactica.xeno-genesis.com (Postfix) with ESMTPSA id 547C113C472C for ; Sat, 15 Nov 2014 04:43:45 +0000 (GMT) Message-ID: <5466D9FF.3030105@haskoin.com> Date: Fri, 14 Nov 2014 20:43:43 -0800 From: Jean-Pierre Rupp Organization: Haskoin User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.2.0 MIME-Version: 1.0 To: bitcoin-development@lists.sourceforge.net References: <20141106213215.GA12918@savin.petertodd.org> <545BF0C2.3030201@bluematt.me> <545BFAD6.1000504@riseup.net> <20141106232649.GD26859@savin.petertodd.org> <545C0617.7020300@riseup.net> In-Reply-To: <545C0617.7020300@riseup.net> OpenPGP: id=310A8A5B Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="DiJxDPkJPopa8CFIbABlLMLQmBlkLWDnc" X-Spam-Score: -1.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 SPF_PASS SPF: sender matches SPF record X-Headers-End: 1XpW47-0002fN-QO Subject: Re: [Bitcoin-development] The difficulty of writing consensus critical code: the SIGHASH_SINGLE bug 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: Sat, 15 Nov 2014 05:38:33 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --DiJxDPkJPopa8CFIbABlLMLQmBlkLWDnc Content-Type: multipart/mixed; boundary="------------020502080400090805090308" This is a multi-part message in MIME format. --------------020502080400090805090308 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Jean-Pierre Rupp from Haskoin here. I support a hard fork to fix consensus bugs. The Bitcoin protocol should= eventually get to a state where it is documented in a clear and understa= ndable fashion. Bugs are bugs, and are the enemy. We should not attempt= to live with them. We should be opening a process of thoroughly documen= ting and reparing consensus bugs on a separate branch, and eventually sch= edule a hard fork. There are two good things that will come out of that: 1. Known bugs will be gone, and 2. We will have a process in place to get rid of future bugs in eventual = future hard forks. We do not need to become paranoid about the ramifications of a hard fork,= or how it will open the door for unwanted changes in the protocol. We a= re discussing about removing bugs, and bugs that could be used to exploit= the network in ways that may not be immediately obvious. There are 144 blocks generated per day by groups of miners that are mostl= y identified. It is not going to be a titanic task to get consensus from= the main mining pools on fixing this at the mining level. We must addre= ss how the fixes for some of these bugs affect other types of software su= ch as wallets. I can think that fixing the bug where OP_CHECKMULTISIG po= ps an extra value from the stash could be more traumatic, since it requir= es anything that creates and validates multi-signature transactions to ch= ange the way it works. Hardware wallets could be impacted. But most of = the consensus bugs would not affect the way the vast majority of bitcoin = transactions that are currently created. Therefore it should not be trau= matic at all for users, but only really affect mining pools, who would on= ly need to be convinced to upgrade their bitcoind well in advance, which = seems to me that it is not an issue at all. We should not compare doing a Bitcoin hard-fork with doing something like= deploying IPv6 world-wide or enforcing TLS and SPF on every SMTP connect= ion. We should not conflate Bitcoin with other network protocols. The B= itcoin protocol is actually relatively easy to upgrade at this point. Le= t's take advantage of this fact. On 06/11/14 15:36, Justus Ranvier wrote: > Because Bitcoin has a extra consensus requirements, requirements which > are really rare in engineering, the necessity of fixing bugs is even > greater. --=20 Be Happy :) --------------020502080400090805090308 Content-Type: application/pgp-keys; name="0x310A8A5B.asc" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="0x310A8A5B.asc" -----BEGIN PGP PUBLIC KEY BLOCK----- Version: GnuPG v1 mQENBFOTIuMBCADBFllGqwyErvrlzSAW8sxKzH834XFtSR13VzGXgERIiWQrvGGD iIIDkOgZmQ4jGm5eT5aGP8fC9CvK301rXDHzZ/B8wFfBfN2OR3AU1C/q4NUHBGF0 q13Fey7jNaLOOVj+i1EJC1H/fIMsiqcNX7RJsrYX2dv6m2xJjZh8JG+RAYZGVlqU k1rlVfz4Lic3uNNj1r3jOqJuJgxU8PIwVticcBnMrKMChivxfSlsp7JThHSF8KLW 2+LcCOfNsmrV/KkGpG4DpKWj+XQvEYCjD7Iwuouyg+Uo6691G+uCNd8P1sjRgP8g hMNqjJ/HzhqI44UHTgBNBR9/N0WolgUcY1mtABEBAAG0K0plYW4tUGllcnJlIFJ1 cHAgKHhlbm9nKSA8cm9vdEBoYXNrb2luLmNvbT6JATsEEwECACUCGwMGCwkIBwMC BhUIAgkKCwQWAgMBAh4BAheABQJTzm/gAhkBAAoJEF1L4IYxCopbFjgH/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+uN12Lbjh/gyoW8E8kS2vhnUOTkbJNweZpynJlnfwppp5d wLxuWIZf3oJobc7mafygER3tTYMewe7fWgjs/U25izgtKPfPFi26c00e+SkiptW9 IvUdaucP6Dw2rwC+nynJZ1caX8vjwASU7nJIVaWFW0HZlcUBaf1+RNUuGgZu/MGL grcfowPvctIHtOiZrfKO74Y=3D =3DKj8k -----END PGP PUBLIC KEY BLOCK----- --------------020502080400090805090308-- --DiJxDPkJPopa8CFIbABlLMLQmBlkLWDnc Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQEcBAEBAgAGBQJUZtn/AAoJEF1L4IYxCopbgOsH/jFQxtR4oeZE5qZ1KUQmP93d DUqCHuNHJR4tF/6GufZbd70Ia7rJXnk73Kw9Brx1sq+cu24xMzMDrotDqFEiB1qR vZh51hoATn04isVLo2/jAW7lFF0O/or2b15FjxChG3fdtGeVJpYJ0CPm6TVyDjqy CngD7rYmgZV3GqBsl7jh+p0048qxsVW5Nt3mTrJ3Y/slUqdcYU9EkWs+oHjTC240 L65VFQcDmuO9IWu5OPf285uPrEzKx++v8ipXcaz5tswfhOepEhc96RAOTzvR+aUQ k6+j+S2XrccA4stf7QdDg62QRv/TLYsm0/7r1PT82Tc2yYXtd9OK6nuPl7AvsaQ= =Ng3C -----END PGP SIGNATURE----- --DiJxDPkJPopa8CFIbABlLMLQmBlkLWDnc--