diff options
author | Peter Todd <pete@petertodd.org> | 2016-02-02 12:07:52 -0500 |
---|---|---|
committer | bitcoindev <bitcoindev@gnusha.org> | 2016-02-02 17:07:58 +0000 |
commit | e23ea245a95133ebe198c096dd4767efeb0179c5 (patch) | |
tree | 2714b079772ac32272b85e39410475243796dc63 | |
parent | 4289104f50dcd2df611bff65c64d98f798b58887 (diff) | |
download | pi-bitcoindev-e23ea245a95133ebe198c096dd4767efeb0179c5.tar.gz pi-bitcoindev-e23ea245a95133ebe198c096dd4767efeb0179c5.zip |
Re: [bitcoin-dev] [BIP Draft] Allow zero value OP_RETURN in Payment Protocol
-rw-r--r-- | 02/39571956cc1c5a1c24f372d5e8b31de1de3f41 | 120 |
1 files changed, 120 insertions, 0 deletions
diff --git a/02/39571956cc1c5a1c24f372d5e8b31de1de3f41 b/02/39571956cc1c5a1c24f372d5e8b31de1de3f41 new file mode 100644 index 000000000..0b1c60258 --- /dev/null +++ b/02/39571956cc1c5a1c24f372d5e8b31de1de3f41 @@ -0,0 +1,120 @@ +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 ADAB5BD4 + for <bitcoin-dev@lists.linuxfoundation.org>; + Tue, 2 Feb 2016 17:07:58 +0000 (UTC) +X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 +Received: from outmail149082.authsmtp.co.uk (outmail149082.authsmtp.co.uk + [62.13.149.82]) + by smtp1.linuxfoundation.org (Postfix) with ESMTP id 050DE19D + for <bitcoin-dev@lists.linuxfoundation.org>; + Tue, 2 Feb 2016 17:07:57 +0000 (UTC) +Received: from mail-c247.authsmtp.com (mail-c247.authsmtp.com [62.13.128.247]) + by punt20.authsmtp.com (8.14.2/8.14.2/) with ESMTP id u12H7uYg020020; + Tue, 2 Feb 2016 17:07:56 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 u12H7sPL005478 + (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); + Tue, 2 Feb 2016 17:07:55 GMT +Received: from [127.0.0.1] (localhost [127.0.0.1]) + by petertodd.org (Postfix) with ESMTPSA id 6272540185; + Tue, 2 Feb 2016 17:04:44 +0000 (UTC) +Date: Tue, 2 Feb 2016 12:07:52 -0500 +From: Peter Todd <pete@petertodd.org> +To: Toby Padilla <tobypadilla@gmail.com> +Message-ID: <20160202170752.GD18604@muck> +References: <CAGcHOzzde_T3xJwJL2Ehyw7U1FgxEEBJR30VBLdSZMj=W49hSg@mail.gmail.com> + <201601260224.16917.luke@dashjr.org> + <CAGcHOzziBsF6DhX=TrgDJdYiOLHT-zwwX3FAUUkvfi1_4OmPKw@mail.gmail.com> + <n880a6$i5v$1@ger.gmane.org> + <CAGcHOzyQ4d_oPey=7bMcm8mA4QWAcBrkCu3CY=_BVjrbbd03Sw@mail.gmail.com> +MIME-Version: 1.0 +Content-Type: multipart/signed; micalg=pgp-sha256; + protocol="application/pgp-signature"; boundary="Xm/fll+QQv+hsKip" +Content-Disposition: inline +In-Reply-To: <CAGcHOzyQ4d_oPey=7bMcm8mA4QWAcBrkCu3CY=_BVjrbbd03Sw@mail.gmail.com> +X-Server-Quench: 804c2a9d-c9cf-11e5-bcde-0015176ca198 +X-AuthReport-Spam: If SPAM / abuse - report it at: + http://www.authsmtp.com/abuse +X-AuthRoute: OCd2Yg0TA1ZNQRgX IjsJECJaVQIpKltL GxAVKBZePFsRUQkR + aAdMdgAUHlAWAgsB AmAbWlNeUFp7XGY7 bghPaBtcak9QXgdq + T0pMXVMcUQRqeRtC ZmIeUhx2cA0IfX15 bQhqXnQIXhVzIVsu + Sx0CCGwHMGJ9OjNL BV1YdwJRcQRMLU5E Y1gxNiYHcQ5VPz4z + GA41ejw8IwAXGw50 ekkhN1scXXNDNzo4 QA9KDzg1GgUbTiEu + IlQBEmkmMXosCGN6 MF1pYVsJNhIUFm8W J1tKHChSIF1p +X-Authentic-SMTP: 61633532353630.1038: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 +Cc: bitcoin-dev@lists.linuxfoundation.org +Subject: Re: [bitcoin-dev] [BIP Draft] Allow zero value OP_RETURN in Payment + Protocol +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: Tue, 02 Feb 2016 17:07:59 -0000 + + +--Xm/fll+QQv+hsKip +Content-Type: text/plain; charset=us-ascii +Content-Disposition: inline +Content-Transfer-Encoding: quoted-printable + +On Tue, Jan 26, 2016 at 09:41:01AM -0800, Toby Padilla via bitcoin-dev wrot= +e: +> The wording is a little strange and I think it *should* work as you state, +> but Bitcoin Core will actually reject any output that has zero value (even +> a single OP_RETURN output -- I just tested again to make sure). +>=20 +> Here's the blocking code: +>=20 +> https://github.com/bitcoin/bitcoin/blob/master/src/qt/paymentserver.cpp#L= +584 +>=20 +> I agree that this should be made more clear in my BIP though, I'll clean = +up +> the language. + +Note that because the dust limit is ignored completely for OP_RETURN +outputs, you can work around this by setting the OP_RETURN outputs to 1 +satoshi instead. + +--=20 +https://petertodd.org 'peter'[:-1]@petertodd.org +000000000000000008320874843f282f554aa2436290642fcfa81e5a01d78698 + +--Xm/fll+QQv+hsKip +Content-Type: application/pgp-signature; name="signature.asc" +Content-Description: Digital signature + +-----BEGIN PGP SIGNATURE----- + +iQGrBAEBCACVBQJWsOJlXhSAAAAAABUAQGJsb2NraGFzaEBiaXRjb2luLm9yZzAw +MDAwMDAwMDAwMDAwMDAwODMyMDg3NDg0M2YyODJmNTU0YWEyNDM2MjkwNjQyZmNm +YTgxZTVhMDFkNzg2OTgvFIAAAAAAFQARcGthLWFkZHJlc3NAZ251cGcub3JncGV0 +ZUBwZXRlcnRvZC5vcmcACgkQwIXyHOf0udwYMwf/dDvMo+QVg7IguF13zvKSmu/n +rsuJgvkusPVcSqH/5KhJpSViATS+ItmI/Of160Zr/DbrZ2bKimlIKwhIGos9gPps +/slbW3P2zjoROLbsVIXiLqFyOs6CSWdJ0VEahgHf6Dnz0HPDeTmhkXl0Zf9Abjbo +DrOtS/l/NW5v3KAta3FV1i10xcRtebaBtvFyLUcMJidfMHxzYr+FVk9k/KWT8Nm7 +GVCQTtkrLYtM7qcbr7QORRmo+gLV4RiTL3DUUpl3OhJ5Kg61EZxC87Ddo5ASPbrN +fbtThgT++ikzwevGA6jK7nG974yqxmCv1dub4SeAfsb4TMEiv2CDSdRxYm21og== +=rb7s +-----END PGP SIGNATURE----- + +--Xm/fll+QQv+hsKip-- + |