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 6491085 for ; Wed, 2 Dec 2015 09:27:50 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from outmail148111.authsmtp.net (outmail148111.authsmtp.net [62.13.148.111]) by smtp1.linuxfoundation.org (Postfix) with ESMTP id 8812E115 for ; Wed, 2 Dec 2015 09:27:49 +0000 (UTC) Received: from mail-c247.authsmtp.com (mail-c247.authsmtp.com [62.13.128.247]) by punt23.authsmtp.com (8.14.2/8.14.2/) with ESMTP id tB29RlDx035423; Wed, 2 Dec 2015 09:27:47 GMT Received: from muck ([210.13.100.19]) (authenticated bits=128) by mail.authsmtp.com (8.14.2/8.14.2/) with ESMTP id tB29Re5R086466 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO); Wed, 2 Dec 2015 09:27:44 GMT Date: Wed, 2 Dec 2015 17:27:39 +0800 From: Peter Todd To: Chris Message-ID: <20151202092739.GA19610@muck> References: <20151117004218.GB6302@savin.petertodd.org> <565BC352.4080001@gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="liOOAslEiF7prFVr" Content-Disposition: inline In-Reply-To: <565BC352.4080001@gmail.com> X-Server-Quench: f25f98d3-98d6-11e5-bcde-0015176ca198 X-AuthReport-Spam: If SPAM / abuse - report it at: http://www.authsmtp.com/abuse X-AuthRoute: OCd2Yg0TA1ZNQRgX IjsJECJaVQIpKltL GxAVKBZePFsRUQkR aAdMdgAUHFAXAgsB AmMbW11eUlp7XWU7 aQtRcwRefEtOXxtr WVdMSlVNFUsscx4I ZEsbMBl6cQFAfjB1 ZEFmECZZWRJzfRJ+ X0dcQWsbZGY1bX1N AxQNagNUcQZLeRkW O1F2XD1vNG8XDSg5 AwQ0PjZ0MThBHWxy Wh1ILFRab1sPGnYG SggGFD4iWGcUAgs+ IlRmBEMYGAMrGGtz WY83 X-Authentic-SMTP: 61633532353630.1038:706 X-AuthFastPath: 0 (Was 255) X-AuthSMTP-Origin: 210.13.100.19/587 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] Opt-in Full Replace-By-Fee (Full-RBF) 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: Wed, 02 Dec 2015 09:27:50 -0000 --liOOAslEiF7prFVr Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Nov 29, 2015 at 10:32:34PM -0500, Chris via bitcoin-dev wrote: > On 11/16/2015 07:42 PM, Peter Todd via bitcoin-dev wrote: > > Sequence is used for opting in as it is the only "free-form" field > > available for that purpose. Opt-in per output was proposed as well by > > Luke-Jr, however the CTxOut data structure simply doesn't contain any > > extra fields to use for that purpose. > What is wrong with using they same scheme as sighash_single? >=20 > If input 0 has nSequence < maxint-1 then output 0 is replaceable. >=20 > For fee bumps you would just stick the change in position zero and > reduce the value. >=20 > You get FFS functionality without the hassle of addition other inputs. Again, you're giving the whole world information about what's your change address; that's simply unacceptable for privacy. The only way to solve this is by a scheme where you pre-commit via a hash, and reveal that later, which is extremely complex and not easily feasible given the current tx data structure. --=20 'peter'[:-1]@petertodd.org 0000000000000000019a7c015d7b61baa25e8afd4f1dcade4133d8a1d6b7445d --liOOAslEiF7prFVr Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- iQGrBAEBCACVBQJWXrmIXhSAAAAAABUAQGJsb2NraGFzaEBiaXRjb2luLm9yZzAw MDAwMDAwMDAwMDAwMDAwMTlhN2MwMTVkN2I2MWJhYTI1ZThhZmQ0ZjFkY2FkZTQx MzNkOGExZDZiNzQ0NWQvFIAAAAAAFQARcGthLWFkZHJlc3NAZ251cGcub3JncGV0 ZUBwZXRlcnRvZC5vcmcACgkQwIXyHOf0udxLdgf/VHkyH62xR5WA/odqEY2hmPeH dGt56R2pERJpbn3GyimHeOgOftf78dS+NgDGFHlSv9fWVLyyreH2Ba75tbf7DWUv kRPbwEZVongYXDKtZpWAjLjCPTxhC1A4CswG9eJnWrzpEJ4/pqIc3ucklUoRe58x 1L0SmckxP6GbFg1hgAC9CFncKtDK3S5P49niu2Q8pt6/rkZVkXg68/XgMJ8vUia0 mrp+7iqgWjnUEYBlYtIXIRuHhCbwiCP7U2FgNsAh0Bt1Gb5SZxGzZrTCf9Oc4j3j nVyNwy6Hh2cAnFXgin+pg4wZ+wbySOGWSx4aBFOP4b1OWxEPZawsmHrgpRkzQQ== =Jyy7 -----END PGP SIGNATURE----- --liOOAslEiF7prFVr--