Received: from sog-mx-1.v43.ch3.sourceforge.com ([172.29.43.191] helo=mx.sourceforge.net) by sfs-ml-1.v29.ch3.sourceforge.com with esmtp (Exim 4.76) (envelope-from ) id 1WxZHM-00033m-2O for bitcoin-development@lists.sourceforge.net; Thu, 19 Jun 2014 10:09:12 +0000 Received-SPF: pass (sog-mx-1.v43.ch3.sourceforge.com: domain of petertodd.org designates 62.13.149.75 as permitted sender) client-ip=62.13.149.75; envelope-from=pete@petertodd.org; helo=outmail149075.authsmtp.net; Received: from outmail149075.authsmtp.net ([62.13.149.75]) by sog-mx-1.v43.ch3.sourceforge.com with esmtp (Exim 4.76) id 1WxZHK-0000yE-87 for bitcoin-development@lists.sourceforge.net; Thu, 19 Jun 2014 10:09:12 +0000 Received: from mail-c237.authsmtp.com (mail-c237.authsmtp.com [62.13.128.237]) by punt14.authsmtp.com (8.14.2/8.14.2) with ESMTP id s5JA92W3012174; Thu, 19 Jun 2014 11:09:02 +0100 (BST) Received: from savin (76-10-178-109.dsl.teksavvy.com [76.10.178.109]) (authenticated bits=128) by mail.authsmtp.com (8.14.2/8.14.2/) with ESMTP id s5JA8wvO078115 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO); Thu, 19 Jun 2014 11:09:00 +0100 (BST) Date: Thu, 19 Jun 2014 06:09:09 -0400 From: Peter Todd To: Gavin Andresen Message-ID: <20140619100909.GA3544@savin> References: <20140618001503.GA8360@savin> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="VS++wcV0S1rZb1Fb" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) X-Server-Quench: bc4d6209-f799-11e3-9f74-002590a135d3 X-AuthReport-Spam: If SPAM / abuse - report it at: http://www.authsmtp.com/abuse X-AuthRoute: OCd2Yg0TA1ZNQRgX IjsJECJaVQIpKltL GxAVKBZePFsRUQkR aAdMdwsUEkAaAgsB AmIbWlVeUFR7WWI7 bAxPbAVDY01GQQRq WVdMSlVNFUsrBGZw DllYLRl1fwRHfTB5 Y0dnECIIWBB8d0Z0 XxhTHGQbZGY1a30W BkdcagNUcgZDfk5E aVUrVz1vNG8XDQg5 AwQ0PjZ0MThBJSBS WgQAK04nCX4RGSY7 XBkGT301EEkMV20v LxFuC0UnAE8XPkwo PRM7RFYVKFccDRc8 V3kXOw8RO0MIQTEi Bh9bWkgFeAAA X-Authentic-SMTP: 61633532353630.1024:706 X-AuthFastPath: 0 (Was 255) X-AuthSMTP-Origin: 76.10.178.109/587 X-AuthVirus-Status: No virus detected - but ensure you scan with your own anti-virus system. 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: 1WxZHK-0000yE-87 Cc: Bitcoin Dev Subject: Re: [Bitcoin-development] Proposal: relax the IsStandard rules for P2SH transactions 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, 19 Jun 2014 10:09:12 -0000 --VS++wcV0S1rZb1Fb Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Jun 18, 2014 at 08:52:22AM -0400, Gavin Andresen wrote: > RE: most of Peter Todd's comments: >=20 > All of that should be separate pull requests. Big Honking Pull Requests > are harder to review and are more likely to be bike-shedded to death. Well, just doing one and not the rest isn't necessarily a good idea. The malleability protection definitely seems like a good idea, and has had quite a bit of review. > RE: not relaying/mining transactions with OP_NOPs so miners don't mine > up-version transactions that are invalid under future-new-rules: I'm not > convinced it is worth adding more code (more potential for bugs) to prote= ct > against something that isn't going to happen because up-version > transactions are non-standard (due to version check) in any case. Do we have consensus that future soft-forks to add new opcodes will always be done in conjunction with a transaction nVersion bump? If so, then that's ok, if not, then we should have a whitelist. The code to restrict the opcodes to the softfork-safe subset is trivial, a GetOp() loop and a switch statement. It can always be removed later. Something that comes to mind is if we do always bump nVersion then OP_NOPx always will have a parallel "do-nothing" behavior, which means EvalScript() will always have to have code enabling that backwards compatible behavior. --=20 'peter'[:-1]@petertodd.org 000000000000000004e51d8d00eedb31ec1505d245f48960896b79f0e7193c2a --VS++wcV0S1rZb1Fb Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.14 (GNU/Linux) iQGrBAEBCACVBQJTorbCXhSAAAAAABUAQGJsb2NraGFzaEBiaXRjb2luLm9yZzAw MDAwMDAwMDAwMDAwMDAwNGU1MWQ4ZDAwZWVkYjMxZWMxNTA1ZDI0NWY0ODk2MDg5 NmI3OWYwZTcxOTNjMmEvFIAAAAAAFQARcGthLWFkZHJlc3NAZ251cGcub3JncGV0 ZUBwZXRlcnRvZC5vcmcACgkQJIFAPaXwkfsZqQgAk+atVJhjNkUK1P8+Cw1tgNeb WQ2mP16FMYwCv9pi/QTXUItfQgxxsY7iUcpmmLIyI7PRfEZh0ybBGTerWS4BjlRe 016ceuLuS/vdISkER2qocjBWhb/6WSIa/MhTartxFPOU48/30cHIxSOgSApEX4gx SpPxuQLjITeovBGPvjyipV4DZDuAhcAh6Cj28o5vO4AiRs2KvMPcnKiWEX1GcEKn sT5smtXa2nDgowHTD4MFunrwu97WypFWv9VlRjnvgvHuwxPTKgy9RX9QsRUlydjo yBtl/Mji9JnFbcsOBZJQ5FazbzqvQG6QA3SCZWZguaRcyxXrIiVsqZwCvipQSQ== =KVfC -----END PGP SIGNATURE----- --VS++wcV0S1rZb1Fb--