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 5142F1DCB for ; Wed, 30 Sep 2015 17:14:10 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from mout.perfora.net (mout.perfora.net [74.208.4.194]) by smtp1.linuxfoundation.org (Postfix) with ESMTPS id 079318C for ; Wed, 30 Sep 2015 17:14:09 +0000 (UTC) Received: from mail-ig0-f171.google.com ([209.85.213.171]) by mrelay.perfora.net (mreueus002) with ESMTPSA (Nemesis) id 0LqSvP-1aLKbo0Obx-00e31b for ; Wed, 30 Sep 2015 19:14:09 +0200 Received: by igbkq10 with SMTP id kq10so106828994igb.0 for ; Wed, 30 Sep 2015 10:14:08 -0700 (PDT) MIME-Version: 1.0 X-Received: by 10.50.83.34 with SMTP id n2mr31909133igy.21.1443633248449; Wed, 30 Sep 2015 10:14:08 -0700 (PDT) Received: by 10.50.32.164 with HTTP; Wed, 30 Sep 2015 10:14:08 -0700 (PDT) In-Reply-To: References: <20150927185031.GA20599@savin.petertodd.org> <20150929200302.GA5051@amethyst.visucore.com> <87wpv8ft61.fsf@rustcorp.com.au> Date: Wed, 30 Sep 2015 13:14:08 -0400 Message-ID: From: Adam Back To: Mike Hearn Content-Type: multipart/alternative; boundary=089e01294646f5be9c0520fa0e53 X-Provags-ID: V03:K0:UPI19rSF/r3bR4nkVN4X+ztqc3JNScMac8J6dpPRxyjafI8MpZM zCJtfzkwbsRaqE3Pbm9kAuLBfOY211j7nqQdtX012+RWoZH20wouXgV5YGGFag6XGZ4UPkR 1DzWL6t1rXUN0Vh/MZfPzCXg/fGC03xf/R+otUs23rUCtepvkiqRIbMAZS4Iy/vY5XEGVV/ F+FltXAcUDIMHAN2fb6Jw== X-UI-Out-Filterresults: notjunk:1;V01:K0:TFf47mcFaxE=:2O6FiwCf4Se0yh9SJBONV6 //MKcJ11H3eOJaRKpwHzkTcgPct/CnvzSApTLDNN0tkrBdM0z9r+XuGdjtUJ7xxa6uWiKUiSK DVWwC020HawGKqjFpoScv3/a6XU9CTUIQ/ipmADvhW9rd9LoiitT1HLMncwUHhF5DEZJPlhhE wry7JptIES72utZAD5R2zoiFZ3mqKSBfWoTSaUyh/n47yEQiOHv9Ak16FVAy2t/KsgROVUA9G IcKJhYEYzG04aVmxJv7Rkk7a1xs/N8QUacRyejLpTjx7y+1mppYLcX949AZGwzg9/lCvADLfd 7kGPoAoIelkCPZaJE+iuFExRc2VEkqnQOJrQncXsu3bsYXLKTjdpI+FMdPA8RRYRlSh5Qe9w2 xN2A1sQPDsJwSVMMgXHZshwBnGdRfk9gbTWqT+veZVVTQJPpVjEmOIECWFRzeZRivj6npdMbo cremGtE37E85yReDc7LUSt8dlgpjjLvCuTSy8MsmvSsJiMRKNjU+p/slSlFRPPUFbBQjCNG+D +qtN2dZoTaSX7caDxigGeBihU5hOjJBLEBTVVsM1C38H7nLtXmnPNL80ELdNMPHXV1JdmsFpc NgK6VQs/oDFTk3TjgeYI/dWms7MV0GO8G7wrEtTW1z36a3qhtqghcpcURO4mM4Fdejg04Y4Dq /Xpr2SI9lRZ+kDsFuoIJ3pLdststNwV6Pf6n2F3CZ4/9uZTGl2Zu36mZsOK58XOQB/UCs/F+K dhA/O5eu3xBL+MJ4 X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,HTML_MESSAGE, RCVD_IN_DNSWL_NONE 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 Subject: Re: [bitcoin-dev] Let's deploy BIP65 CHECKLOCKTIMEVERIFY! 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, 30 Sep 2015 17:14:10 -0000 --089e01294646f5be9c0520fa0e53 Content-Type: text/plain; charset=UTF-8 I was talking about the versionBits from Rusty's email (pasted below) and simplifying that by XT adopting the patch as Gavin had seemed agreeable to. Adam Rusty wrote: > Agreed. Unfortunately, a simple "block version >= 4" check is > insufficient, due to XT which sets version bits 001....111. > > Given that, I suggest using the simple test: > > if (pstart->nVersion & 0x8) > ++nFound; > > Which means: > 1) XT won't trigger it. > 2) It won't trigger XT. > 3) You can simply set block nVersion to 8 for now. > 4) We can still use versionbits in parallel later. --089e01294646f5be9c0520fa0e53 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable

I was talking about the versionBits from Ru= sty's email (pasted below) and simplifying that by XT adopting the patc= h as Gavin had seemed agreeable to.

Adam

Rusty wrote:
> Agreed.=C2=A0 Unfortunately, a simple "block version >=3D 4&qu= ot; check is
> insufficient, due to XT which sets version bits 001....111.
>
> Given that, I suggest using the simple test:
>
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0if (pstart->nVersion & 0x8) >=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0++nFound;
>
> Which means:
> 1) XT won't trigger it.
> 2) It won't trigger XT.
> 3) You can simply set block nVersion to 8 for now.
> 4) We can still use versionbits in parallel later.

--089e01294646f5be9c0520fa0e53--