Return-Path: Received: from smtp1.osuosl.org (smtp1.osuosl.org [140.211.166.138]) by lists.linuxfoundation.org (Postfix) with ESMTP id C412FC000D for ; Thu, 14 Oct 2021 23:52:19 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp1.osuosl.org (Postfix) with ESMTP id A47E783B38 for ; Thu, 14 Oct 2021 23:52:19 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org X-Spam-Flag: NO X-Spam-Score: -1.499 X-Spam-Level: X-Spam-Status: No, score=-1.499 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, KHOP_HELO_FCRDNS=0.398, SPF_HELO_NONE=0.001, SPF_NONE=0.001, UNPARSEABLE_RELAY=0.001] autolearn=no autolearn_force=no Received: from smtp1.osuosl.org ([127.0.0.1]) by localhost (smtp1.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id EShKU_FKlR-R for ; Thu, 14 Oct 2021 23:52:19 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.8.0 Received: from azure.erisian.com.au (cerulean.erisian.com.au [139.162.42.226]) by smtp1.osuosl.org (Postfix) with ESMTPS id EC6D283B37 for ; Thu, 14 Oct 2021 23:52:18 +0000 (UTC) Received: from aj@azure.erisian.com.au (helo=sapphire.erisian.com.au) by azure.erisian.com.au with esmtpsa (Exim 4.92 #3 (Debian)) id 1mbAWD-00017F-M0; Fri, 15 Oct 2021 09:52:15 +1000 Received: by sapphire.erisian.com.au (sSMTP sendmail emulation); Fri, 15 Oct 2021 09:52:07 +1000 Date: Fri, 15 Oct 2021 09:52:07 +1000 From: Anthony Towns To: Jeremy , Bitcoin Protocol Discussion Message-ID: <20211014235207.GB6451@erisian.com.au> References: MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.10.1 (2018-07-13) X-Spam-Score-int: -18 X-Spam-Bar: - Subject: Re: [bitcoin-dev] On the regularity of soft forks X-BeenThere: bitcoin-dev@lists.linuxfoundation.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: Bitcoin Protocol Discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Oct 2021 23:52:19 -0000 On Mon, Oct 11, 2021 at 12:12:58PM -0700, Jeremy via bitcoin-dev wrote: > > ... in this post I will argue against frequent soft forks with a single or > minimal > > set of features and instead argue for infrequent soft forks with batches > > of features. > I think this type of development has been discussed in the past and has been > rejected. > AJ: - improvements: changes might not make everyone better off, but we >    don't want changes to screw anyone over either -- pareto >    improvements in economics, "first, do no harm", etc. (if we get this >    right, there's no need to make compromises and bundle multiple >    flawed proposals so that everyone's an equal mix of happy and >    miserable) I don't think your conclusion above matches my opinion, for what it's worth. If you've got two features, A and B, where the game theory is: If A happens, I'm +100, You're -50 If B happens, I'm -50, You're +100 then even though A+B is +50, +50, then I do think the answer should generally be "think harder and come up with better proposals" rather than "implement A+B as a bundle that makes us both +50". _But_ if the two features are more like: If C happens, I'm +100, You're +/- 0 If D happens, I'm +/- 0, You're +100 then I don't have a problem with bundling them together as a single simultaneous activation of both C and D. Also, you can have situations where things are better together, that is: If E happens, we're both at +100 If F happens, we're both at +50 If E+F both happen, we're both at +9000 In general, I think combining proposals when the combination is better than the individual proposals were is obviously good; and combining related proposals into a single activation can be good if it is easier to think about the ideas as a set. It's only when you'd be rejecting the proposal on its own merits that I think combining it with others is a bad idea in principle. For specific examples, we bundled schnorr, Taproot, MAST, OP_SUCCESSx and CHECKSIGADD together because they do have synergies like that; we didn't bundle ANYPREVOUT and graftroot despite the potential synergies because those features needed substantially more study. The nulldummy soft-fork (bip 147) was deployed concurrently with the segwit soft-fork (bip 141, 143), but I don't think there was any particular synergy or need for those things to be combined, it just reduced the overhead of two sets of activation signalling to one. Note that the implementation code for nulldummy had already been merged and were applied as relay policy well before activation parameters were defined (May 2014 via PR#3843 vs Sep 2016 for PR#8636) let alone becoming an active soft fork. Cheers, aj