Return-Path: Received: from smtp1.linuxfoundation.org (smtp1.linux-foundation.org [172.17.192.35]) by mail.linuxfoundation.org (Postfix) with ESMTPS id 9D0F21805 for ; Wed, 30 Sep 2015 06:19:58 +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 2A5BECB for ; Wed, 30 Sep 2015 06:19:58 +0000 (UTC) Received: from mail-ig0-f176.google.com ([209.85.213.176]) by mrelay.perfora.net (mreueus001) with ESMTPSA (Nemesis) id 0MSsJ1-1a8Hsm0P8H-00RnNI for ; Wed, 30 Sep 2015 08:19:57 +0200 Received: by igcrk20 with SMTP id rk20so94686040igc.1 for ; Tue, 29 Sep 2015 23:19:56 -0700 (PDT) MIME-Version: 1.0 X-Received: by 10.50.57.84 with SMTP id g20mr27300818igq.18.1443593996436; Tue, 29 Sep 2015 23:19:56 -0700 (PDT) Received: by 10.50.32.164 with HTTP; Tue, 29 Sep 2015 23:19:56 -0700 (PDT) In-Reply-To: <87wpv8ft61.fsf@rustcorp.com.au> References: <20150927185031.GA20599@savin.petertodd.org> <20150929200302.GA5051@amethyst.visucore.com> <87wpv8ft61.fsf@rustcorp.com.au> Date: Wed, 30 Sep 2015 02:19:56 -0400 Message-ID: From: Adam Back To: Rusty Russell Content-Type: text/plain; charset=UTF-8 X-Provags-ID: V03:K0:JZk6/Va0tbRZImd4B0lnegYnp8X5KUfSFIkA+97q5Roy1v3WnaB tYnet8YNEOWUtWxmSAeLbRdeRgIVmDLaci0jVXCvJqGWMVKFQlcPzEvIEhqTsQY0DMf95wO AnHFUPvNBh09cNb+1y7oqQsfIs9VCMN/ElB4ptOqKmK3sSyWxGyH+J7oUWq73V9u0RyceAu Pg0DncbFW5TGnYz9j7NEQ== X-UI-Out-Filterresults: notjunk:1;V01:K0:vamw5cRHrcs=:vsAhdA/1A9j94GqJ6HZkys 5z/Nl9qgEgLSOwYHNauwla/XqXrY46IoIHsrBsHndGIsdfK23nRQvpWsQVom8WQ+c+0hxJbXC MzLcu8yyJ4X5dciOXDdz4LG7CtqDOkAwGm4YJO3GA/DnF+lmQff4Z1hvorvC4Qg4f+wQKXZdB LBq4LM/Tbsia1i5lrPidf3snEvxCubVk1/W1saMjvUmWSKgCJu/gaK/FJtfS7rD9UFAiZBXEY emd82jpJav/F6gEi05gvaeNKOVlmfwg/X1EgWtEh4Ivz5CNQXdHqpKzsK3tnWz8K1wBPqIPrv dCn+Z8Cx+or1tpRERc3KoErZ1DDLg6rIsYQgZLhtzCD+NSbSTk3uhlEtlMbn73cXnD5e5oKIx 29JTxxvyOAQuDiD1AU0ElGzd5M0rAlnIrkSKvn30hsCobUhfu454zFP6cV4n1djASJBygO4ev Qd6dLJNOptmr9/v0wuqk1pnJpNjeR0DYV19XZ1PwpW4+P+XxYSycP/iRUdWX7UHPH1uMhnw11 KhLfsQyEYrxh+ryGBUlb4aa8WQLAu65qS+CEY6zAmhEmEn6Ntmxez1XCt7t3G/XkRfzo/yb/L AG/iHslqn3nPbezo3pK0zBsYrP3MyFQ5cGhy8xPD+L6ComNd8mFWOyhJfuw58U45E4608YCt7 bQsh6p82i+NUBQxRgjb+L8JMcw4AaxXAnTzLNjRmvpp9BilNCTcXfwEOKA1xPfDSFgH7/KbM3 IaMJpIFW6W99XVEA X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,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 06:19:58 -0000 I think from discussion with Gavin sometime during the montreal scaling bitcoin workshop, XT maybe willing to make things easy and adapt what it's doing. For example in relation to versionBits Gavin said he'd be willing to update XT with an updated/improved versionBits, for example. It seems more sensible to do what is simple and clean and have both core do that, and XT follow if there is no particular philosophy debate on a given technical topic. This seems a quite constructive approach. Adam On 30 September 2015 at 00:05, Rusty Russell via bitcoin-dev wrote: > "Wladimir J. van der Laan via bitcoin-dev" > writes: >> On Sun, Sep 27, 2015 at 02:50:31PM -0400, Peter Todd via bitcoin-dev wrote: >> >>> It's time to deploy BIP65 CHECKLOCKTIMEVERIFY. >> >> There appears to be common agreement on that. >> >> The only source of some controversy is how to deploy: versionbits versus >> IsSuperMajority. I think the versionbits proposal should first have code >> out there for longer before we consider it for concrete softforks. Haste-ing >> along versionbits because CLTV is wanted would be risky. > > 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. > > Cheers, > Rusty. > _______________________________________________ > bitcoin-dev mailing list > bitcoin-dev@lists.linuxfoundation.org > https://lists.linuxfoundation.org/mailman/listinfo/bitcoin-dev