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 ADAB5BD4 for ; 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 ; 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 To: Toby Padilla Message-ID: <20160202170752.GD18604@muck> References: <201601260224.16917.luke@dashjr.org> 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: 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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-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--