From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp1.linuxfoundation.org (smtp1.linux-foundation.org [172.17.192.35]) by mail.linuxfoundation.org (Postfix) with ESMTPS id ADDE9941 for ; Wed, 17 Aug 2016 02:30:18 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from outmail148113.authsmtp.com (outmail148113.authsmtp.com [62.13.148.113]) by smtp1.linuxfoundation.org (Postfix) with ESMTP id C1BF6252 for ; Wed, 17 Aug 2016 02:30:17 +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 u7H2UFwF030619; Wed, 17 Aug 2016 03:30:15 +0100 (BST) 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 u7H2UCuw030571 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 17 Aug 2016 03:30:13 +0100 (BST) Received: from [127.0.0.1] (localhost [127.0.0.1]) by petertodd.org (Postfix) with ESMTPSA id A8BCA4010C; Wed, 17 Aug 2016 02:27:07 +0000 (UTC) Received: by localhost (Postfix, from userid 1000) id C3EF420B3A; Tue, 16 Aug 2016 19:30:07 -0700 (PDT) Date: Tue, 16 Aug 2016 19:30:07 -0700 From: Peter Todd To: "Russell O'Connor" , Bitcoin Protocol Discussion Message-ID: <20160817023007.GA7296@fedora-21-dvm> References: <1736097121.90204.1471369988809@privateemail.com> <201608161937.20748.luke@dashjr.org> <20160816194332.GA5888@fedora-21-dvm> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="lrZ03NoBR/3+SXJZ" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.23 (2014-03-12) X-Server-Quench: 86ccbfe1-6422-11e6-829e-00151795d556 X-AuthReport-Spam: If SPAM / abuse - report it at: http://www.authsmtp.com/abuse X-AuthRoute: OCd2Yg0TA1ZNQRgX IjsJECJaVQIpKltL GxAVKBZePFsRUQkR aQdMdwUUGUATAgsB AmAbW1deU117WGA7 bghPaBtcak9QXgdq T0pMXVMcUQIQA3ly Q1keURl3cAQIcX9w ZwhqWCMIDhIvdFt7 RkxWCGwHMGF9YGIW BV1YdwJRcQRDe0tA b1YxNiYHcQ5VPz4z GA41ejw8IwAXDilK CissFQBabUsCGj86 SFgdHCkvVWo9cAQd ZxUgJhY7JHE3FXkT HzlpXFscNxIbAAxa Hl1cSC5fb2FbeBEL ZQAA 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 Subject: Re: [bitcoin-dev] New BIP: Dealing with OP_IF and OP_NOTIF malleability in P2WSH 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: Wed, 17 Aug 2016 02:30:18 -0000 --lrZ03NoBR/3+SXJZ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Aug 16, 2016 at 08:27:54PM -0400, Russell O'Connor via bitcoin-dev = wrote: > Okay. >=20 > I'm not really opposed to this BIP, but I am worried that fighting script > malleability is a battle that can never be won; even leaving one avenue of > malleability open is probably just as bad as having many avenues of > malleability, so it just doesn't seem worthwhile to me. At least some types of malleability are less harmful than others: changing a few bits with some weird ECC transformation isn't as likely to cause proble= ms as being able to append arbitrary data to a transaction's input script. And= of course, we do prevent the latter with the cleanstack rule - consensus enfor= ced in segwit. --=20 https://petertodd.org 'peter'[:-1]@petertodd.org --lrZ03NoBR/3+SXJZ Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- iQEcBAEBCAAGBQJXs8wsAAoJEGOZARBE6K+y8HwH/A511FbE5EIirMrmrB/xaRh5 ADy15Gf0wFbJMQf4IQziFnpbVyd/klkiiOuALU/2g+/vCXgkXBOvpwzm4uFb0ta4 3CooFe5KfGkern1lxoGdk2vd6+wlHr02O7Omx+55Wd7647RBqwi3wtwjnR9iInJ+ 8f7c6H4t4dINblI8nALQ4F0NSw9+oHSmfBayHRdyXK3UyTrrGqzzOP4Z84sg/gWU q54KNfjiLrtc2MxO61ROZUTHqg08Bw5IZXQQQF/bAPt7eAQEgdGXCyGJjZjNPuuK 74wihV011IG+XyZ0Pk3XwnjOybuf0qbzq9jl/kRer5cCd7guqfrB3rpTCH76v9U= =VqSD -----END PGP SIGNATURE----- --lrZ03NoBR/3+SXJZ--