Return-Path: Received: from smtp1.linuxfoundation.org (smtp1.linux-foundation.org [172.17.192.35]) by mail.linuxfoundation.org (Postfix) with ESMTPS id 7BCACCB7 for ; Sat, 30 Jan 2016 15:49:04 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from azure.erisian.com.au (cerulean.erisian.com.au [106.187.51.212]) by smtp1.linuxfoundation.org (Postfix) with ESMTPS id 14A8479 for ; Sat, 30 Jan 2016 15:49:04 +0000 (UTC) Received: from aj@azure.erisian.com.au (helo=sapphire.erisian.com.au) by azure.erisian.com.au with esmtpsa (Exim 4.84 #2 (Debian)) id 1aPXll-0003Pl-0h; Sun, 31 Jan 2016 01:49:02 +1000 Received: by sapphire.erisian.com.au (sSMTP sendmail emulation); Sun, 31 Jan 2016 01:48:57 +1000 Date: Sun, 31 Jan 2016 01:48:57 +1000 From: Anthony Towns To: Peter Todd , bitcoin-dev@lists.linuxfoundation.org Message-ID: <20160130154857.GA13217@sapphire.erisian.com.au> References: <20160128185124.GA5140@savin.petertodd.org> <20160130153226.GA9757@sapphire.erisian.com.au> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="YZ5djTAD1cGYuMQK" Content-Disposition: inline In-Reply-To: <20160130153226.GA9757@sapphire.erisian.com.au> User-Agent: Mutt/1.5.24 (2015-08-30) X-Spam-Score: -1.9 X-Spam-Score-int: -18 X-Spam-Bar: - X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD, UNPARSEABLE_RELAY 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] Segwit Upgrade Procedures & Block Extension Data 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: Sat, 30 Jan 2016 15:49:04 -0000 --YZ5djTAD1cGYuMQK Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Sun, Jan 31, 2016 at 01:32:26AM +1000, Anthony Towns via bitcoin-dev wrote: > On Thu, Jan 28, 2016 at 01:51:24PM -0500, Peter Todd via bitcoin-dev wrote: > > While Pieter Wuille's segwit branch(1) doesn't yet implement a fix for > > the above problem, the obvious thing to do is to add a new service bit > > such as NODE_SEGWIT, and/or bump the protocol version, and for outgoing > > peers only connect to peers with segwit support. > If I'm following the code right, the segwit branch has a fHaveWitness > flag for each connection, which is set when a HAVEWITNESS message comes > from the peer, and HAVEWITNESS is sent as part of handshaking. BIP144 > suggests maybe this should be changed to a service bit though: Oh, there's a PR to change this to a NODE_WITNESS service bit: https://github.com/sipa/bitcoin/pull/55 Cheers, aj --YZ5djTAD1cGYuMQK Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIcBAEBCAAGBQJWrNtpAAoJEGF3s1WCqNimjuIQAKmFGlhe8qgl8yxcRWZPOTUi sD3NxOIYV713JZMnJBVB27Eevg/evf5wKnbPbeJGejJlWoQ2yfh8FA06+Ti90KGy Lyox+Tiq6D0n2LblHVVuTNjt6ckzMMDExMaFmDTx+MH3OeqNpM9TGznGlKoiqZ4C UspW08ZwdLoJUiWIy9ukKUPGFubKraafJCNjvXr1n3SQb53X2tqR62T09K4HGIeD m9UgnjbY+6nCPukcchpP6kmEFiUYvnPcYQZUAE+yb0VQkzK8NBxOz1W8MIExPRvY Dq1dtXXbBoAZ+Agl9rj0m7biXx3lE705g6Sm0vpTLjfMArkeft1p6L0eeHJH370n RUL08iQ6e7B/uMuTImKmYExIhTDUlSJVf7z6BxVxCG+DoVdKecjaW7sVaszI9Ljs EaQynbuvHtXAVvmJvkN5+9yROFiH65tsFFb6exN0SMh3K2UBKKaIhAARD63Cz4ET D6scIgE5tU0AHTwyA/VeIK1Zd243w1CPc55kRs/UI7Vw14dHpO7/A2aoSefdBqC7 GkvdYzp2osLUs//yO494T+NX5Hcnhoc7CdkLqOkrz+b8XbWQIynszDkFClyDIUte u+aYkhbfU0w3Cpzah83UGs04WKM5K1rgvNg0tSPNXEG/coyLGPEN4xO6TU8GZcDa uvFYyTY1HCCjXETx0QEb =62Bl -----END PGP SIGNATURE----- --YZ5djTAD1cGYuMQK--