Return-Path: Received: from smtp1.linuxfoundation.org (smtp1.linux-foundation.org [172.17.192.35]) by mail.linuxfoundation.org (Postfix) with ESMTPS id 226FF728 for ; Thu, 17 Nov 2016 00:13:43 +0000 (UTC) X-Greylist: whitelisted by SQLgrey-1.7.6 Received: from mail-pg0-f53.google.com (mail-pg0-f53.google.com [74.125.83.53]) by smtp1.linuxfoundation.org (Postfix) with ESMTPS id 65499CE for ; Thu, 17 Nov 2016 00:13:42 +0000 (UTC) Received: by mail-pg0-f53.google.com with SMTP id x23so81796330pgx.1 for ; Wed, 16 Nov 2016 16:13:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=voskuil-org.20150623.gappssmtp.com; s=20150623; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to; bh=suNElvc+7d2FoKBV7icKxcGGb60tdUJfGn40WHTPrsk=; b=jOPKSIZeJo70H7Ce9Odvu9fmrBSLKuPeefa+1fSSoK0F01bGR2UXwpnJemrTj2I6ls OssSgiuR1O2c84NWnp5I7uPlNXsAAJMnJah8+2K8T6oiAZ3+kofvauT1x9+6nFMKId/9 wrKWHjdnfuATSpWW/u2mn0KFrKKQlXtMAS6FgohlWAP4NtVsL6t+r1ZlnHGq1UUujBnZ lvckqdmWG3MGP7tNxOJNmhUA8Dn6w1rK2mNNTE1ylEgIZopURzEYfP5N6ToGlt6qMpRu YdcJXAVgH+Soi3ftjEm/hh7LWoXYWLN4WSLVA7WoH6WTrW1tYIEfACW8RHiNY1bj2LQ0 Lvgw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to; bh=suNElvc+7d2FoKBV7icKxcGGb60tdUJfGn40WHTPrsk=; b=WiDDPNffCR0JoKY2+PmpdLyrBGbGEIKGYK9tO5mpGIlQPL0+Z+0DquxDkUfj3LKCb5 1yMPZOpp0WVaudryWJ0l9Jkhc76kWi3WQeVLNbhfBQF7PHVWboV4WXz1V+TqnZz7l5GT KkuPEBOOoESFepC7U+nMBjbVRoyRkTaZIZNQ4lh/V0j9c0isU1/lvz5Tf2BId5x55CJ+ OqddSD4mqgoYKJ+IqtzgSEqiQBKtKtmJ0srLfm2rNEiGskOyGyxC81Et3T0AKR7TNkAi 7POvdkU4hacOpupmLlhefQMUArJypCeoBT1FTpD2cHJTN9VzAcd4IPG1UHlvWqNM9cpm NJgA== X-Gm-Message-State: ABUngvf+432PklxFkOFMYnsMvEcgEEzT4yyvura4xoM4LgUcuA84fADZqo2pmjsjFRQB0g== X-Received: by 10.99.123.87 with SMTP id k23mr672441pgn.101.1479341621599; Wed, 16 Nov 2016 16:13:41 -0800 (PST) Received: from ?IPv6:2601:600:9000:d69e:8084:4206:2529:776d? ([2601:600:9000:d69e:8084:4206:2529:776d]) by smtp.gmail.com with ESMTPSA id c128sm344654pfc.39.2016.11.16.16.13.40 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 16 Nov 2016 16:13:41 -0800 (PST) To: Thomas Kerin , Bitcoin Protocol Discussion References: <33BFC318-0BB4-48DB-B5DC-08247FAC6E5A@voskuil.org> From: Eric Voskuil X-Enigmail-Draft-Status: N1110 Message-ID: <8e7c78eb-29f7-7235-422a-9adcd50b8ac9@voskuil.org> Date: Wed, 16 Nov 2016 16:13:42 -0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.3.0 MIME-Version: 1.0 In-Reply-To: Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="q9CPKNo2GEdXLToCVcvwuS3tglNbS9Ovo" X-Spam-Status: No, score=-1.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, RCVD_IN_DNSWL_NONE, RCVD_IN_SORBS_SPAM autolearn=no version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on smtp1.linux-foundation.org X-Mailman-Approved-At: Thu, 17 Nov 2016 00:17:00 +0000 Subject: Re: [bitcoin-dev] [BIP Proposal] Buried Deployments X-BeenThere: bitcoin-dev@lists.linuxfoundation.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Bitcoin Protocol Discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 Nov 2016 00:13:43 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --q9CPKNo2GEdXLToCVcvwuS3tglNbS9Ovo Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 11/16/2016 06:18 AM, Thomas Kerin wrote: > BIP30 actually was given similar treatment after a reasonable amount of= > time had passed. > https://github.com/bitcoin/bitcoin/blob/master/src/main.cpp#L2392 BIP30 was the resolution to a catostrophic protocol flaw that would impact any block whether above or below the point where the rule was applied. Applying it to all future blocks, regardless of whether there is a reorg back to genesis, was the only option as far as I can tell. So the comparison to an unnecessary fork is hardly apt. > You are also missing BIP50: 'March 2013 Chain For Post-Mortem', which > neither benefited nor improved bitcoin, but did document an event for > posterity. BIP50 documents the release of an "unexpected" hard fork to a large number of users. Given that Core code is considered by some to be the *definition* of the true protocol, this led to two "legitimate" Bitcoin chains. Leveraging the centralized state of Bitcoin mining, the development team was able to kill the newer chain. This was simply an altcoin that didn't survive because people stopped using it. Anyone can create an altcoin - the question here is specifically, why would we want to do so in this case. > This is not a hard fork. Removing ISM just means we've committed to > those soft-forks only locking into the chain we use now. There didn't seem to be any confusion among the implementers that it is a hard fork. I will correct one implication I made below. The heights in the proposal are required in the absence of BIP34-style activation so that the soft fork validation rules can be properly enforced at those points (whether or not a deep reorg happens). e > On 11/16/2016 01:58 PM, Eric Voskuil via bitcoin-dev wrote: >> This sort of statement represents one consequence of the >> aforementioned bad precedent. >> >> Are checkpoints good now? Are hard forks okay now? >> >> What is the maximum depth of a reorg allowed by this non-machine >> consensus? >> >> Shouldn't we just define a max depth so that all cruft deeper than >> that can just be discarded on a regular basis? >> >> Why are there activation heights defined by this hard fork if it's not= >> possible to reorg back to them? >> >> The "BIP" is neither a Proposal (it's been decided, just documenting >> for posterity), nor an Improvement (there is no actual benefit, just >> some tidying up in the notoriously obtuse satoshi code base), nor >> Bitcoin (a hard fork defines an alt coin, so from Aug 4 forward it has= >> been CoreCoin). >> >> e >> >> On Nov 16, 2016, at 5:29 AM, Jameson Lopp > > wrote: >> >>> Since "buried deployments" are specifically in reference to >>> historical consensus changes, I think the question is more one of >>> human consensus than machine consensus. Is there any disagreement >>> amongst Bitcoin users that BIP34 activated at block 227931, BIP65 >>> activated at block 388381, and BIP66 activated at block 363725? >>> Somehow I doubt it. >>> >>> It seems to me that this change is merely cementing into place a few >>> attributes of the blockchain's history that are not in dispute. >>> >>> - Jameson >>> >>> On Tue, Nov 15, 2016 at 5:42 PM, Eric Voskuil via bitcoin-dev >>> >> > wrote: >>> >>> Actually this does nothing to provide justification for this >>> consensus rule change. It is just an attempt to deflect criticism= >>> from the fact that it is such a change. >>> >>> e >>> >>> > On Nov 15, 2016, at 9:45 AM, Btc Drak >> > wrote: >>> > >>> > I think this is already covered in the BIP text:- >>> > >>> > "As of November 2016, the most recent of these changes (BIP 65,= >>> > enforced since December 2015) has nearly 50,000 blocks built on= >>> top of >>> > it. The occurrence of such a reorg that would cause the activat= ing >>> > block to be disconnected would raise fundamental concerns about= the >>> > security assumptions of Bitcoin, a far bigger issue than any >>> > non-backwards compatible change. >>> > >>> > So while this proposal could theoretically result in a consensu= s >>> > split, it is extremely unlikely, and in particular any such >>> > circumstances would be sufficiently damaging to the Bitcoin >>> network to >>> > dwarf any concerns about the effects of this proposed change." >>> > >>> > >>> > On Mon, Nov 14, 2016 at 6:47 PM, Eric Voskuil via bitcoin-dev >>> > >> > wrote: >>> >> NACK >>> >> >>> >> Horrible precedent (hardcoding rule changes based on the >>> assumption that >>> >> large forks indicate a catastrophic failure), extremely poor >>> process >>> >> (already shipped, now the discussion), and not even a material= >>> performance >>> >> optimization (the checks are avoidable once activated until a >>> sufficiently >>> >> deep reorg deactivates them). >>> >> >>> >> e >>> >> >>> >> On Nov 14, 2016, at 10:17 AM, Suhas Daftuar via bitcoin-dev >>> >> >> > wrote: >>> >> >>> >> Hi, >>> >> >>> >> Recently Bitcoin Core merged a simplification to the consensus= >>> rules >>> >> surrounding deployment of BIPs 34, 66, and 65 >>> >> (https://github.com/bitcoin/bitcoin/pull/8391 >>> ), and though the >>> change is a >>> >> minor one, I thought it was worth documenting the rationale in= >>> a BIP for >>> >> posterity. >>> >> >>> >> Here's the abstract: >>> >> >>> >> Prior soft forks (BIP 34, BIP 65, and BIP 66) were activated >>> via miner >>> >> signaling in block version numbers. Now that the chain has >>> long since passed >>> >> the blocks at which those consensus rules have triggered, we >>> can (as a >>> >> simplification and optimization) replace the trigger mechanism= >>> by caching >>> >> the block heights at which those consensus rules became enforc= ed. >>> >> >>> >> The full draft can be found here: >>> >> >>> >> >>> https://github.com/sdaftuar/bips/blob/buried-deployments/bip-buri= ed-deployments.mediawiki >>> >>> >> >>> >> _______________________________________________ >>> >> bitcoin-dev mailing list >>> >> bitcoin-dev@lists.linuxfoundation.org >>> >>> >> https://lists.linuxfoundation.org/mailman/listinfo/bitcoin-dev= >>> >>> >> >>> >> >>> >> _______________________________________________ >>> >> bitcoin-dev mailing list >>> >> bitcoin-dev@lists.linuxfoundation.org >>> >>> >> https://lists.linuxfoundation.org/mailman/listinfo/bitcoin-dev= >>> >>> >> >>> _______________________________________________ >>> bitcoin-dev mailing list >>> bitcoin-dev@lists.linuxfoundation.org >>> >>> https://lists.linuxfoundation.org/mailman/listinfo/bitcoin-dev >>> >>> >>> >> >> >> _______________________________________________ >> bitcoin-dev mailing list >> bitcoin-dev@lists.linuxfoundation.org >> https://lists.linuxfoundation.org/mailman/listinfo/bitcoin-dev >=20 --q9CPKNo2GEdXLToCVcvwuS3tglNbS9Ovo Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (GNU/Linux) iQEcBAEBAgAGBQJYLPY2AAoJEDzYwH8LXOFO0CkH/i/V+TYfHPFc9RLEnyIX85bS ACEYuhcWQ+IgPKQ0jzEn62AqWDqc/FdsmqDeEKIoIgJdU45/IjtPKtRoQQ8txryB ZXpcvQWFcrX7RyjOg2Pk62LQbz8o1dhDcFI5J7mSRERRNdk4OVOIg4YM7bPbOfg0 QrJ1dUXKtv83HXzGKGYoFNbgnleBXLi64Zc/pkb7Wrko74w84/o91RKfVl23g1gr ysPrp0E1jt05JXUEqdGytP3zNJWixuSU03AfKaxiIV6wFHuoNWbi0mKaIoTw7fwM AIUJkgFl3r0vPMkDyfPIrNuF0+d+Lj/R0BLE4geAXROQ5XeFNiGXZOWFefoemkQ= =AEJT -----END PGP SIGNATURE----- --q9CPKNo2GEdXLToCVcvwuS3tglNbS9Ovo--