diff options
author | Peter Todd <pete@petertodd.org> | 2016-08-16 19:30:07 -0700 |
---|---|---|
committer | bitcoindev <bitcoindev@gnusha.org> | 2016-08-17 02:30:18 +0000 |
commit | cc469b6e6b96c8af4111ef063d9f3c0e93ff877d (patch) | |
tree | 672345cbe74d9f1b837671cf8e9e186bd3637451 | |
parent | 7feb3659094c47819442f1180eab52e0be9563c5 (diff) | |
download | pi-bitcoindev-cc469b6e6b96c8af4111ef063d9f3c0e93ff877d.tar.gz pi-bitcoindev-cc469b6e6b96c8af4111ef063d9f3c0e93ff877d.zip |
Re: [bitcoin-dev] New BIP: Dealing with OP_IF and OP_NOTIF malleability in P2WSH
-rw-r--r-- | 6e/d23125121dabed7e4822eb298725a7bef23eea | 123 |
1 files changed, 123 insertions, 0 deletions
diff --git a/6e/d23125121dabed7e4822eb298725a7bef23eea b/6e/d23125121dabed7e4822eb298725a7bef23eea new file mode 100644 index 000000000..05289916f --- /dev/null +++ b/6e/d23125121dabed7e4822eb298725a7bef23eea @@ -0,0 +1,123 @@ +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 ADDE9941 + for <bitcoin-dev@lists.linuxfoundation.org>; + 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 <bitcoin-dev@lists.linuxfoundation.org>; + 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 <pete@petertodd.org> +To: "Russell O'Connor" <roconnor@blockstream.io>, + Bitcoin Protocol Discussion <bitcoin-dev@lists.linuxfoundation.org> +Message-ID: <20160817023007.GA7296@fedora-21-dvm> +References: <1736097121.90204.1471369988809@privateemail.com> + <201608161937.20748.luke@dashjr.org> + <20160816194332.GA5888@fedora-21-dvm> + <CAMZUoKkAkGRFxpyGMxQMz76L7uW6fsQAYVxkrxi5MQCiBtNnqw@mail.gmail.com> + <CAPg+sBi30SgHHXCyipbNpiMRHYWPCRYz6ejQYKrDg3MLJp39EQ@mail.gmail.com> + <CAMZUoKktS=Ku4kpD0bocR4X__ZpWXrkPkdOyXBaYxjq+mr9Pmw@mail.gmail.com> + <CAPg+sBhykn8BU1LAr1izH0z6nFuOv0PzWjuqq7YJX5r35LDa9Q@mail.gmail.com> + <CAMZUoKnebdULkJXqM38i-SkzoD6ufcxdEhcBD1PG5C78qyjFOw@mail.gmail.com> + <CAAS2fgQ66mQQ6Bdcm7C=CSzjkk3CwZCFLdSsDFdiDaRXhLiO=Q@mail.gmail.com> + <CAMZUoKm2VX=kL7c3QsenQmQeKnR86APwvdNduDOUtOrtzL2B6A@mail.gmail.com> +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: <CAMZUoKm2VX=kL7c3QsenQmQeKnR86APwvdNduDOUtOrtzL2B6A@mail.gmail.com> +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 <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: 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-- + |