Received: from sog-mx-4.v43.ch3.sourceforge.com ([172.29.43.194] helo=mx.sourceforge.net) by sfs-ml-1.v29.ch3.sourceforge.com with esmtp (Exim 4.76) (envelope-from ) id 1YxwYL-0007KW-TM for bitcoin-development@lists.sourceforge.net; Thu, 28 May 2015 12:04:49 +0000 Received-SPF: pass (sog-mx-4.v43.ch3.sourceforge.com: domain of petertodd.org designates 62.13.149.81 as permitted sender) client-ip=62.13.149.81; envelope-from=pete@petertodd.org; helo=outmail149081.authsmtp.net; Received: from outmail149081.authsmtp.net ([62.13.149.81]) by sog-mx-4.v43.ch3.sourceforge.com with esmtp (Exim 4.76) id 1YxwYK-0002wj-Mi for bitcoin-development@lists.sourceforge.net; Thu, 28 May 2015 12:04:49 +0000 Received: from mail-c235.authsmtp.com (mail-c235.authsmtp.com [62.13.128.235]) by punt18.authsmtp.com (8.14.2/8.14.2/) with ESMTP id t4SC4dbg056485; Thu, 28 May 2015 13:04:39 +0100 (BST) Received: from savin.petertodd.org (75-119-251-161.dsl.teksavvy.com [75.119.251.161]) (authenticated bits=128) by mail.authsmtp.com (8.14.2/8.14.2/) with ESMTP id t4SC4ZMr073473 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO); Thu, 28 May 2015 13:04:37 +0100 (BST) Date: Thu, 28 May 2015 08:04:34 -0400 From: Peter Todd To: Tier Nolan Message-ID: <20150528120434.GA31349@savin.petertodd.org> References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="4Ckj6UjgE2iN1+kY" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) X-Server-Quench: b6c40e12-0531-11e5-b396-002590a15da7 X-AuthReport-Spam: If SPAM / abuse - report it at: http://www.authsmtp.com/abuse X-AuthRoute: OCd2Yg0TA1ZNQRgX IjsJECJaVQIpKltL GxAVKBZePFsRUQkR aAdMdAoUFVQNAgsB AmMbWldeUFl7Wms7 bA9PbARUfEhLXhtr VklWR1pVCwQmRRhi dRp0L1tycAZCf30+ ZEZgXXkVDkIpcUYo Q0xJFWgFZHphaTUa TRJbfgVJcANIexZF O1F6ACIKLwdSbGoL NQ4vNDcwO3BTJTpY RgYVKF8UXXNDNTk6 XB0EBig0WEADSSIp JBEqYkIGFUAKO04u MFwnEUgVKxsbAQBb EkdRYmdHJlBJXCcy EA5cVkNWFiBYSypG GXUA X-Authentic-SMTP: 61633532353630.1023:706 X-AuthFastPath: 0 (Was 255) X-AuthSMTP-Origin: 75.119.251.161/587 X-AuthVirus-Status: No virus detected - but ensure you scan with your own anti-virus system. X-Spam-Score: -1.5 (-) X-Spam-Report: Spam Filtering performed by mx.sourceforge.net. See http://spamassassin.org/tag/ for more details. -1.5 SPF_CHECK_PASS SPF reports sender host as permitted sender for sender-domain -0.0 SPF_PASS SPF: sender matches SPF record -0.0 AWL AWL: Adjusted score from AWL reputation of From: address X-Headers-End: 1YxwYK-0002wj-Mi Cc: Bitcoin Development Subject: Re: [Bitcoin-development] Consensus-enforced transaction replacement via sequence numbers X-BeenThere: bitcoin-development@lists.sourceforge.net X-Mailman-Version: 2.1.9 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 28 May 2015 12:04:50 -0000 --4Ckj6UjgE2iN1+kY Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, May 28, 2015 at 11:30:18AM +0100, Tier Nolan wrote: > Can you update it so that it only applies to transactions with version > number 3 and higher. Changing the meaning of a field is exactly what the > version numbers are for. >=20 > You could even decode version 3 transactions like that. >=20 > Version 3 transactions have a sequence number of 0xFFFFFFFF and the > sequence number field is re-purposed for relative lock time. >=20 > This means that legacy transactions that have already been signed but have > a locktime in the future will still be able to enter the blockchain > (without having to wait significantly longer than expected). For that matter, we probably don't want to treat this as a *version* change, but rather a *feature* flag. For instance, nSequence is potentially useful for co-ordinating multiple signatures to ensure they can only be used in certain combinations, a use-case not neccesarily compatible with this idea of a relative lock. Similarly it's potentially useful for dealing with malleability. nSequence is currently the *only* thing in CTxIn's that the signature signs that can be freely changed; I won't be surprised if we find other uses for it. Of course, all of the above is assuming this proposal is useful; that's not clear to me yet and won't be without fleshed out examples. --=20 'peter'[:-1]@petertodd.org 000000000000000008464a6a19387029fa99edace15996d06a6343a8345d6167 --4Ckj6UjgE2iN1+kY Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- iQGrBAEBCACVBQJVZwROXhSAAAAAABUAQGJsb2NraGFzaEBiaXRjb2luLm9yZzAw MDAwMDAwMDAwMDAwMDAwODQ2NGE2YTE5Mzg3MDI5ZmE5OWVkYWNlMTU5OTZkMDZh NjM0M2E4MzQ1ZDYxNjcvFIAAAAAAFQARcGthLWFkZHJlc3NAZ251cGcub3JncGV0 ZUBwZXRlcnRvZC5vcmcACgkQJIFAPaXwkfsVlwgAj2NRv7mGiE0bPvfUQmCgG+GN oFPT6cYugxnYxPfEY1dVQwDvbGKbs1UEkSft6r0CX6TSU4AeFOjdNk57ftPHOIbI BZQ2S5XvJktSvOYKeu6i7tpJ7q3S1ggjJs8eS5o6AHtvJWob5u/sY+z2+dwjyfJE tQHTAoScXI9qtJzDAzRbmsO2ATqOfRNc40fsNdDQRRDGTp5kFYNnlWBShwqLTpvt KkD+Q12/4GglXbnGwtgM33QjsbAAAO6n3ddISff0kJN7UaPMYRxWpTqSuj2AN6wb RgJ45w7NS7W8+PtFChUGT7E5q8RMGRj0Vq5J30jkTZFrx2Xl42i9QxE1x/pA+w== =avxm -----END PGP SIGNATURE----- --4Ckj6UjgE2iN1+kY--