Return-Path: Received: from smtp1.linuxfoundation.org (smtp1.linux-foundation.org [172.17.192.35]) by mail.linuxfoundation.org (Postfix) with ESMTPS id 2B5101B97 for ; Mon, 28 Sep 2015 13:41:58 +0000 (UTC) X-Greylist: whitelisted by SQLgrey-1.7.6 Received: from mail-ig0-f176.google.com (mail-ig0-f176.google.com [209.85.213.176]) by smtp1.linuxfoundation.org (Postfix) with ESMTPS id 7DCF7170 for ; Mon, 28 Sep 2015 13:41:57 +0000 (UTC) Received: by igcpb10 with SMTP id pb10so55538438igc.1 for ; Mon, 28 Sep 2015 06:41:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=vinumeris.com; s=google; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=2Gz5gcAL8lLJ6RCxG0J6jysqv6GFSnKwCwyBf/bn0ZA=; b=TPt07JK50gQRhWgKSPiup2QF5+9c+OY+Rrdi2R1fXJQ7qVH+mdVhWjJ492oGM4Z7Z9 7qKu5my142HJFlk7b4DjqDJWeHRu26SLLWF9JnI1us8f1HT2DAiEqmTLUkMfeBwYe54x 6lQqZA+k8V9Eias6uBuvNBVrc1yv14ApSwZ2s= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=2Gz5gcAL8lLJ6RCxG0J6jysqv6GFSnKwCwyBf/bn0ZA=; b=MPd8TVYl9lf7beWR0q33Y9DjpNbPmxOlgcnL8v6KgnceiZj9MHduaaKtB8cVr2o4eY 4uSb1GPPRLydzf/ihns/9wMUO2s5XidYhJUMAY8jnM5L/1cAO/e3+KkWqPU8aSk68nQI TWdPQkeCnsJx6l0WM0Ws2c2N5VrvxUscU5D64HmnOHw4g9TyQx8MbEzpkoQWDTZEHxxS rpdjpBSurTlMLxeBdMkLWwXbHfQRPLl+JiKQD5MxXQe9WSlykEs8N3W8/f2HCBBV0biN Tv+RYHutE+GKMRAGV3EW2Db/kABqQm454M6LoHesty9ygEXLCqFECdVFHmJL7RwptBbn LgXA== X-Gm-Message-State: ALoCoQmPTW5+FYepkadFZyHT9iWBd7OygDzAOP5K+fc/YrFBFPQYs8XfdZam+wpaBPveu7MiR3Uw MIME-Version: 1.0 X-Received: by 10.50.66.146 with SMTP id f18mr16201825igt.83.1443447716957; Mon, 28 Sep 2015 06:41:56 -0700 (PDT) Received: by 10.50.226.144 with HTTP; Mon, 28 Sep 2015 06:41:56 -0700 (PDT) In-Reply-To: <20150928132127.GA4829@savin.petertodd.org> References: <20150927185031.GA20599@savin.petertodd.org> <20150928132127.GA4829@savin.petertodd.org> Date: Mon, 28 Sep 2015 15:41:56 +0200 Message-ID: From: Mike Hearn To: Peter Todd Content-Type: multipart/alternative; boundary=047d7bdc09f66c0db80520cedc60 X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HTML_MESSAGE,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 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: Mon, 28 Sep 2015 13:41:58 -0000 --047d7bdc09f66c0db80520cedc60 Content-Type: text/plain; charset=UTF-8 > > 1) Do you agree that CLTV should be added to the Bitcoin protocol? > > Ignoring the question how exactly it is added, hard-fork or soft-fork. > The opcode definition seems OK. > 2) Will you add a IsSuperMajority() CLTV soft-fork to Bitcoin XT if it > is added to Bitcoin Core? > Yes. It might be worth putting the version bit change behind a command line flag though: the BIP, as written, has problems (with deployment). > 3) Will you add soft-fork detection to bitcoinj, to allow SPV clients to detect advertised soft-forks and correctly handle them? > I'd really hate to do that. It'd be a Rube Goldberg machine: https://krypt3ia.files.wordpress.com/2011/11/rube.jpg There's no really good way to do what you propose, and we already have a perfectly workable mechanism to tell SPV clients about chain forks: the block chain itself. This has the advantage of being already implemented, already deployed, and it works correctly. Attempting to strap a different mechanism on top to try and make soft forks more like hard forks would be a large and pointless waste of people's time and effort, not just mine (bitcoinj is not the only widely used SPV implementation nowadays). You may as well go straight to the correct outcome instead of trying to simulate it with ever more complex mechanisms. --047d7bdc09f66c0db80520cedc60 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
1) Do you agree that CLTV should be added to the Bitcoin proto= col?

Ignoring the question how exactly it is added, hard-fork or soft-fork.
<= /blockquote>

The opcode definition seems OK.
= =C2=A0
2) Will you add a IsSuperMajority() CLTV soft-= fork to Bitcoin XT if it
=C2=A0 =C2=A0is added to Bitcoin Core?

= Yes. It might be worth putting the version bit change behind a command line= flag though: the BIP, as written, has problems (with deployment).
=C2=A0
3) Will you add soft-fork detection to bitco= inj, to allow SPV clients to=C2=A0
=C2=A0 =C2= =A0detect advertised soft-forks and correctly handle them?
=

I'd really hate to do that. It'd be a Rube Gold= berg machine:


There's no reall= y good way to do what you propose, and we already have a perfectly workable= mechanism to tell SPV clients about chain forks: the block chain itself. T= his has the advantage of being already implemented, already deployed, and i= t works correctly.

Attempting to strap a different= mechanism on top to try and make soft forks more like hard forks would be = a large and pointless waste of people's time and effort, not just mine = (bitcoinj is not the only widely used SPV implementation nowadays). You may= as well go straight to the correct outcome instead of trying to simulate i= t with ever more complex mechanisms.
--047d7bdc09f66c0db80520cedc60--