summaryrefslogtreecommitdiff
path: root/32/a56460c20ccd4d8b4d0ce5250320b969ac4034
blob: af8bdf95e8085fdc909b73ee88c7ec61b514262f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
Return-Path: <fresheneesz@gmail.com>
Received: from smtp2.osuosl.org (smtp2.osuosl.org [IPv6:2605:bc80:3010::133])
 by lists.linuxfoundation.org (Postfix) with ESMTP id 0361DC002F
 for <bitcoin-dev@lists.linuxfoundation.org>;
 Tue, 18 Jan 2022 16:00:31 +0000 (UTC)
Received: from localhost (localhost [127.0.0.1])
 by smtp2.osuosl.org (Postfix) with ESMTP id D1DB54038E
 for <bitcoin-dev@lists.linuxfoundation.org>;
 Tue, 18 Jan 2022 16:00:30 +0000 (UTC)
X-Virus-Scanned: amavisd-new at osuosl.org
X-Spam-Flag: NO
X-Spam-Score: -0.856
X-Spam-Level: 
X-Spam-Status: No, score=-0.856 tagged_above=-999 required=5
 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1,
 DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001,
 HTML_MESSAGE=0.001, NUMERIC_HTTP_ADDR=1.242,
 RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001]
 autolearn=ham autolearn_force=no
Authentication-Results: smtp2.osuosl.org (amavisd-new);
 dkim=pass (2048-bit key) header.d=gmail.com
Received: from smtp2.osuosl.org ([127.0.0.1])
 by localhost (smtp2.osuosl.org [127.0.0.1]) (amavisd-new, port 10024)
 with ESMTP id 8ChD7sxPbuM9
 for <bitcoin-dev@lists.linuxfoundation.org>;
 Tue, 18 Jan 2022 16:00:27 +0000 (UTC)
X-Greylist: whitelisted by SQLgrey-1.8.0
Received: from mail-ed1-x52a.google.com (mail-ed1-x52a.google.com
 [IPv6:2a00:1450:4864:20::52a])
 by smtp2.osuosl.org (Postfix) with ESMTPS id 1DD7A400CF
 for <bitcoin-dev@lists.linuxfoundation.org>;
 Tue, 18 Jan 2022 16:00:26 +0000 (UTC)
Received: by mail-ed1-x52a.google.com with SMTP id a18so81636445edj.7
 for <bitcoin-dev@lists.linuxfoundation.org>;
 Tue, 18 Jan 2022 08:00:26 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112;
 h=mime-version:references:in-reply-to:from:date:message-id:subject:to
 :cc; bh=VBtnP4A1DQhX1Q0FkV8/K39NO/7X4XFFNd80CHmBCfM=;
 b=fj3KY/E1tn/cvnTLU/hilY3J+LXyrVz9qTAM8vH8LhOMhDNT4RBm+wEj5UilN7pyvy
 Y5bUkSgDaiVivMM/dylJmbiFBHsXAaUrL1SBQHDixdKI3mCSLT656njdbqT/3X1NHXxm
 cRx7rX5D2F3d6kqs5c68d5UJw34ltfT7ULzfUhQeJpWHyo7mGpuqK0bPbUkeaMK8ZsWT
 OqMM5W2YK9WRNB9FMrVazesJE409wx0PxNt78HFiYSMksnFX4f3rOT3KbdBL1TDSTNLZ
 ZRsZkMxfM5SRfsUzgC8ZOO2fXw6SxK8vEXGJwbLJsKXm6dQEBPFxSvPLQ8mO+Sd041w8
 CLBg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20210112;
 h=x-gm-message-state:mime-version:references:in-reply-to:from:date
 :message-id:subject:to:cc;
 bh=VBtnP4A1DQhX1Q0FkV8/K39NO/7X4XFFNd80CHmBCfM=;
 b=UJa0qpeWakRguvaUGsi2HNPQQhVsGOvYMbVnw65VgWgQnCWrLOzgkG80mtXycmPDyk
 36UFtQGBaKoaB07VbvOFIyQsSPsLlxTV7BbHzQsl/DoomsF4z+o97pir5cOT74SJm5gn
 aSaTEK6YVMF5utTNe0V2vr7Cg+mJUHnR820ZBHA/uLbtBKp4Gw5XtSon7QKAI2GMa3K6
 X414EsEF9fTD9yaQVcIznyXCZuwotCKlN4uohLZFeWQTE4pUMCk/JG7aUAl8fhGoexPm
 DNg2dvsRPASDVx6lS9yege14iffwzRCp/vvkEahvzratHrIJqKG67weaJCVhEE/EYQeQ
 m8/g==
X-Gm-Message-State: AOAM5331XgxdenWhBA63ofn+6XwRE+o70jU5/ecwGascdGt86acD3wFu
 03Hs32D7V+XED4GpmvJcwLqlK0V86jH/9io6yG0=
X-Google-Smtp-Source: ABdhPJwUA48nms7XpbmsbfN8FX68O1gq+1CYncrG97cxPBM6Z8iDGCW2n9TC+uPjuN7k1bREhEMYPKPlD46TUwIwbJc=
X-Received: by 2002:a17:906:2bcf:: with SMTP id
 n15mr20213256ejg.184.1642521625067; 
 Tue, 18 Jan 2022 08:00:25 -0800 (PST)
MIME-Version: 1.0
References: <151636693-b9baa24a337b74e4b019a92e12c81eff@pmq4v.m5r2.onet>
In-Reply-To: <151636693-b9baa24a337b74e4b019a92e12c81eff@pmq4v.m5r2.onet>
From: Billy Tetrud <billy.tetrud@gmail.com>
Date: Tue, 18 Jan 2022 10:00:06 -0600
Message-ID: <CAGpPWDa8=kBV6ooayjpkqnsQnpv9V-iLe=ZqvLmGP=Zttjt0UA@mail.gmail.com>
To: vjudeu@gazeta.pl, 
 Bitcoin Protocol Discussion <bitcoin-dev@lists.linuxfoundation.org>
Content-Type: multipart/alternative; boundary="000000000000ff9a9305d5dd5d74"
X-Mailman-Approved-At: Tue, 18 Jan 2022 16:25:13 +0000
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 <bitcoin-dev.lists.linuxfoundation.org>
List-Unsubscribe: <https://lists.linuxfoundation.org/mailman/options/bitcoin-dev>, 
 <mailto:bitcoin-dev-request@lists.linuxfoundation.org?subject=unsubscribe>
List-Archive: <http://lists.linuxfoundation.org/pipermail/bitcoin-dev/>
List-Post: <mailto:bitcoin-dev@lists.linuxfoundation.org>
List-Help: <mailto:bitcoin-dev-request@lists.linuxfoundation.org?subject=help>
List-Subscribe: <https://lists.linuxfoundation.org/mailman/listinfo/bitcoin-dev>, 
 <mailto:bitcoin-dev-request@lists.linuxfoundation.org?subject=subscribe>
X-List-Received-Date: Tue, 18 Jan 2022 16:00:31 -0000

--000000000000ff9a9305d5dd5d74
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

I agree with you Michael, there is a risk to soft forks and we shouldn't do
them too often. We should do them as infrequently as practical. We should
strive to one day get to a point where the bitcoin consensus isn't updating
at all.

Perhaps we should come to a consensus as a consensus as a community what
the minimum time between soft forks should be, and just as importantly,
what the minimum time between finalized consensus-change implementation and
when we decide community consensus has been achieved.

How long do you think these minimums should be? I'm curious to know
everyone's answer to this. I would think of these like I think about
changes to how I think national law should be changed: slowly and
carefully. There should be sufficient time for everyone to have a chance in
their busy lives to take the time to look at it, if they care, so they can
raise objections. I think the minimum time between a soft fork
implementation finalization and determining consensus should be maybe a
year. And the minimum time between soft forks should probably be something
like 5 years. This would mean that people only have to worry about paying
attention to what might happen with bitcoin consensus once every 5 years,
and would get a year-long window to do it. And if there isn't sufficient
consensus, or people bring up objections at the last minute, that should be
acceptable and it should further delay the deployment.

I think a lot of folks on here are rightly concerned about compromise
bundles where multiple mediocre proposals are put together
to basically incentivize some people to accept something they don't want
in order to receive something they do want (eg what Jeremy quoted Matt
Corallo about). But I don't think that's what Michael was suggesting at
all. That kind of compromise happens in the *decision making process*. My
understanding of what Michael was saying is that releasing a soft fork
should *not* be within the decision making process at all. The decision
making process should have already happened.

If you have consensus changes A and B, Michael was saying that each
consensus change proposal should go through a community vetting process
that determines that there is widespread supermajority support for it
*before* it is even merged into the code (ie master, or some equivalent
this-will-be-deployed branch). It should have a final implementation that
has been tested at all levels *before* its merged to master. And only then
should it potentially be bundled. After all testing has already been done,
after sufficient consensus has already been determined.

@Keagan
> When we start to bundle things, we amplify the community resources needed
to do review, not reduce them.

I think my above 2 paragraphs address this. I agree we don't want to review
these proposals together, they should be reviewed separately. And I don't
think Michael was suggesting otherwise.

> the protocol itself adopting a tendency to activate unrelated proposals
in bundles is a recipe for disaster.

Activating multiple consensus changes in a bundle is far safer than having
multiple separate in-flight soft forks at once. With multiple in-flight
soft forks, you have many combinations of what might happen (and therefore
what needs to be tested beforehand). Just 3 in-flight soft forks means 9
cases: nine orders of what might happen. All those combinations must be
exhaustively tested as all consensus changes must be. This is far more
work, more complicated, and more error prone than bundling them together in
one soft fork.

@Prayank
> However I am sure there are lot of people who still think miners vote
during signaling. ... I could not think of any solution to solve this
problem.

One solution is that we could be a lot more direct about how decisions are
made. There's been a lot of rhetoric around UASF and how the economic
majority is really who's running the show. If that's the case, why not make
that explicitly? Why not actually ask users to sign a petition saying they
support a particular consensus change? This could be done with actual
signatures by keys connected to UTXOs so we can see the economic weight of
the petition. We would probably need to have a new address format to
prevent problems related to public key exposure (eg by having addresses
containing two public keys: `hash(hash(spendingkey)+hash(votingkey))` where
you can expose the voting key without exposing your spending key). Perhaps
this could be another tapleaf.

Doing this could make it very clear how much of the bitcoin world supports
a particular change without needing to put anything extra on chain. This
clarity would also help the actual miner activation of the software in
cases where miners might have incentives not to activate. If it were clear
that an overwhelming supermajority wants it activated, miners would be less
likely to play games that play off uncertainty. It would also dispel the
idea that miners or developers decide how bitcoin changes.


On Sat, Jan 1, 2022 at 10:00 AM vjudeu via bitcoin-dev <
bitcoin-dev@lists.linuxfoundation.org> wrote:

> > If you don't like the reduction of the block subsidy, well that's a muc=
h
> bigger problem.
>
> It is reversible, because you can also increase the block subsidy by usin=
g
> another kind of soft-fork. For example, you can create spendable outputs
> with zero satoshis. In this way, old nodes will accept that silently, but
> new nodes can check something more, because you can specify somewhere els=
e,
> what is the "real" amount. Finally, if all nodes will upgrade, you will e=
nd
> up in a network, where all transactions spend zero satoshi inputs, create
> zero satoshi outputs and have zero fee. Old nodes would accept all of tha=
t,
> but new nodes would really see, what is going on, and they will check tha=
t
> all rules are met, and the new subsidy is for example increased x1000 (th=
at
> could lead to the same situation as moving from satoshis to millisatoshis
> with some hard-fork, but doing that kind of change with a soft-fork is
> safer).
>
> On 2021-12-31 10:35:06 user Keagan McClelland via bitcoin-dev <
> bitcoin-dev@lists.linuxfoundation.org> wrote:
>
> >  But whether or not it is a basic principle of general software
> engineering kind of misses the point. Security critical software clearly
> isn't engineered in the same way as a new social media app. Bugs are easi=
ly
> reverted in a new social media app.On top of that we aren't just dealing
> with security critical software. One of the most important objectives is =
to
> keep all the nodes on the network in consensus. Introducing a consensus
> change before we are comfortable there is community consensus for it is a
> massive effective bug in itself. The network can split in multiple ways
> e.g. part of the network disagrees on whether to activate the consensus
> change, part of the network disagrees on how to resist that consensus
> change, part of the network disagrees on how to activate that consensus
> change etc
>
> >  A consensus change is extremely hard to revert and probably requires a
> hard fork, a level of central coordination we generally attempt to avoid
> and a speed of deployment that we also attempt to avoid.
>
> This seems to assert the idea that soft forks are all the same: they are
> not. For instance a soft fork, lowering the block subsidy is completely
> different than changing the semantics of an OP_NOP to have semantics that
> may reject a subset of the witnesses that attest to the transactions
> permissibility. As a result, reversion means two entirely different thing=
s
> in these contexts. While a strict reversion of both soft forks is by
> definition a hard fork, the requirement of reversion as a result of
> undesired behavior is not the same. In the case of opcodes, there is almo=
st
> never a requirement to revert it. If you don't like the way the opcodes
> behave, then you just don't use them. If you don't like the reduction of
> the block subsidy, well that's a much bigger problem.
>
> I make this point to elucidate the idea that we cannot treat SoftForks=E2=
=84=A2 as
> a single monolithic idea. Perhaps we need to come up with better
> terminology to be specific about what each fork actually is. The soft vs.
> hard distinction is a critical one but it is not enough and treating soft
> forks that are noninvasive such as OP_NOP tightenings. This has been
> proposed before [1], and while I do not necessarily think the terms cited
> are necessarily complete, they admit the low resolution of our current
> terminology.
>
> > Soft fork features can (and should) obviously be tested thoroughly on
> testnet, signet, custom signets, sidechains etc on a standalone basis and=
 a
> bundled basis.
>
> I vehemently disagree that any consensus changes should be bundled,
> especially when it comes to activation parameters. When we start to bundl=
e
> things, we amplify the community resources needed to do review, not reduc=
e
> them. I suspect your opinion here is largely informed by your frustration
> with the Taproot Activation procedure that you underwent earlier this yea=
r.
> This is understandable. However, let me present the alternative case. If =
we
> start to bundle features, the review of the features gets significantly
> harder. As the Bitcoin project scales, the ability of any one developer t=
o
> understand the entire codebase declines. Bundling changes reduces the
> number of people who are qualified to review a particular proposal, and
> even worse, intimidates people who may be willing and able to review
> logically distinct portions of the proposal, resulting in lower amounts o=
f
> review overall. This will likely have the opposite effect of what you see=
m
> to desire. BIP8 and BIP9 give us the ability to have multiple independent
> soft forks in flight at once. Choosing to bundle them instead makes littl=
e
> sense when we do not have to. Bundling them will inevitably degenerate in=
to
> political horse trading and everyone will be worse off for it.
>
> > part of the network disagrees on whether to activate the consensus
> change, part of the network disagrees on how to resist that consensus
> change, part of the network disagrees on how to activate that consensus
> change etc
>
> Disagreements, and by extension, forks are a part of Bitcoin. What is
> important is that they are well defined and clean. This is the reason why
> the mandatory signaling period exists in BIP8/9, so that clients that
> intend to reject the soft fork change have a very easy means of doing so =
in
> a clean break where consensus is clearly divergent. In accordance with
> this, consensus changes should be sequenced so that people can decide whi=
ch
> sides of the forks they want to follow and that the economic reality can
> reorganize around that. If choose to bundle them, you have one of two
> outcomes: either consensus atomizes into a mist where people have differe=
nt
> ideas of which subsets of a soft fork bundle they want to adopt, or what
> likely comes after is a reconvergence on the old client with none of the
> soft fork rules in place. This will lead to significantly more confusion =
as
> well given that with sufficient miner consensus some of the rules may sti=
ck
> anyway even if the rest of the user base reconverges on the old client.
>
> It is quite likely less damaging to consensus to have frequent but
> strictly sequenced soft forks so that if one of the new rules is
> contentious the break can happen cleanly. That said, if Core or any other
> client wishes to cut a release of the software with the parameters bundle=
d
> into a single release, that is a significantly more palatable state of
> affairs, as you can still pipeline signaling and activation. However, the
> protocol itself adopting a tendency to activate unrelated proposals in
> bundles is a recipe for disaster.
>
>
> Respectfully,
> Keagan
>
>
> [1] https://www.truthcoin.info/blog/protocol-upgrade-terminology
>
> On Sat, Oct 16, 2021 at 12:57 PM Michael Folkson via bitcoin-dev <
> bitcoin-dev@lists.linuxfoundation.org
> <http://../NowaWiadomosc/Do/QlIkBFQ6QUFhIVRZX192dnQBeCtCchE6GhA5LFpLCUc7E=
VZQVl9dQRIXXR8NCBMbCwIGChJXQFxcXEgcFh8UVVVDEyBdVkE9JVRdEwFhYXVlblhVIkosEAsz=
LR5BQVV7U0MID0BAQUgIGh0RHgAMGAMXBQJfW1sdXRQUQUoDQlAiBFY8>>
> wrote:
>
>> > Interesting discussion. Correct me if I'm wrong: but putting too many
>> features together in one shot just can't make things harder to debug in
>> production if something very unexpected happens. It's a basic principle
>> of software engineering.
>>
>> Soft fork features can (and should) obviously be tested thoroughly on
>> testnet, signet, custom signets, sidechains etc on a standalone basis an=
d a
>> bundled basis. But whether or not it is a basic principle of general
>> software engineering kind of misses the point. Security critical softwar=
e
>> clearly isn't engineered in the same way as a new social media app. Bugs
>> are easily reverted in a new social media app. A consensus change is
>> extremely hard to revert and probably requires a hard fork, a level of
>> central coordination we generally attempt to avoid and a speed of
>> deployment that we also attempt to avoid. On top of that we aren't just
>> dealing with security critical software. One of the most important
>> objectives is to keep all the nodes on the network in consensus.
>> Introducing a consensus change before we are comfortable there is commun=
ity
>> consensus for it is a massive effective bug in itself. The network can
>> split in multiple ways e.g. part of the network disagrees on whether to
>> activate the consensus change, part of the network disagrees on how to
>> resist that consensus change, part of the network disagrees on how to
>> activate that consensus change etc
>>
>> In addition, a social media app can experiment in production whether
>> Feature A works, whether Feature B works or whether Feature A and B work
>> best together. In Bitcoin if we activate consensus Feature A, later deci=
de
>> we want consensus Feature B but find out that by previously activating
>> Feature A we can't have Feature B (it is now unsafe to activate it) or i=
ts
>> design now has to be suboptimal because we have to ensure it can safely
>> work in the presence of Feature A we have made a mistake by activating
>> Feature A in the first place. Decentralized security critical consensus
>> changes are an emerging field in itself and really can't be treated like
>> any other software project. This will become universally understood I'm
>> sure over time.
>>
>>
>>
>> --Michael Folkson
>> Email: michaelfolkson at protonmail.com
>> Keybase: michaelfolkson
>> PGP: 43ED C999 9F85 1D40 EAF4 9835 92D6 0159 214C FEE3
>>
>>
>> =E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90 Original=
 Message =E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90
>> On Friday, October 15th, 2021 at 1:43 AM, Felipe Micaroni Lalli via
>> bitcoin-dev <bitcoin-dev@lists.linuxfoundation.org
>> <http://../NowaWiadomosc/Do/QlIkBFQ6QUFhIVRZX192dnQBeCtCchE6GhA5LFpLCUc7=
EVZQVl9dQRIXXR8NCBMbCwIGChJXQFxcXEgcFh8UVVVDEyBdVkE9JVRdEwFhYXVlblhVIkosEAs=
zLR5BQVV7U0MID0BAQUgIGh0RHgAMGAMXBQJfW1sdXRQUQUoDQlAiBFY8>>
>> wrote:
>>
>> Interesting discussion. Correct me if I'm wrong: but putting too many
>> features together in one shot just can't make things harder to debug in
>> production if something very unexpected happens. It's a basic principle
>> of software engineering.
>>
>> Change. Deploy. Nothing bad happened? Change it a little more. Deploymen=
t.
>> Or: Change, change, change. Deploy. Did something bad happen? What chang=
e
>> caused the problem?
>>
>> On Thu, Oct 14, 2021 at 8:53 PM Anthony Towns via bitcoin-dev <
>> bitcoin-dev@lists.linuxfoundation.org
>> <http://../NowaWiadomosc/Do/QlIkBFQ6QUFhIVRZX192dnQBeCtCchE6GhA5LFpLCUc7=
EVZQVl9dQRIXXR8NCBMbCwIGChJXQFxcXEgcFh8UVVVDEyBdVkE9JVRdEwFhYXVlblhVIkosEAs=
zLR5BQVV7U0MID0BAQUgIGh0RHgAMGAMXBQJfW1sdXRQUQUoDQlAiBFY8>>
>> wrote:
>>
>>> 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 w=
e
>>> >    don't want changes to screw anyone over either -- pareto
>>> >    improvements in economics, "first, do no harm", etc. (if we get th=
is
>>> >    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 th=
an
>>> "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 becomi=
ng
>>> an active soft fork.
>>>
>>> Cheers,
>>> aj
>>>
>>> _______________________________________________
>>> bitcoin-dev mailing list
>>> bitcoin-dev@lists.linuxfoundation.org
>>> <http://../NowaWiadomosc/Do/QlIkBFQ6QUFhIVRZX192dnQBeCtCchE6GhA5LFpLCUc=
7EVZQVl9dQRIXXR8NCBMbCwIGChJXQFxcXEgcFh8UVVVDEyBdVkE9JVRdEwFhYXVlblhVIkosEA=
szLR5BQVV7U0MID0BAQUgIGh0RHgAMGAMXBQJfW1sdXRQUQUoDQlAiBFY8>
>>> https://lists.linuxfoundation.org/mailman/listinfo/bitcoin-dev
>>
>> _______________________________________________
>> bitcoin-dev mailing list
>> bitcoin-dev@lists.linuxfoundation.org
>> <http://../NowaWiadomosc/Do/QlIkBFQ6QUFhIVRZX192dnQBeCtCchE6GhA5LFpLCUc7=
EVZQVl9dQRIXXR8NCBMbCwIGChJXQFxcXEgcFh8UVVVDEyBdVkE9JVRdEwFhYXVlblhVIkosEAs=
zLR5BQVV7U0MID0BAQUgIGh0RHgAMGAMXBQJfW1sdXRQUQUoDQlAiBFY8>
>> 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
>

--000000000000ff9a9305d5dd5d74
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div>I agree with you Michael, there is a risk to soft for=
ks and we shouldn&#39;t do them too often. We should do them as infrequentl=
y as practical. We should strive to one day get to a point where the bitcoi=
n consensus isn&#39;t updating at all.=C2=A0</div><div><br></div><div>Perha=
ps we should come to a consensus as a consensus as a community what the min=
imum time between soft forks should be, and just as importantly, what the m=
inimum time between finalized consensus-change implementation and when we d=
ecide community consensus has been achieved.=C2=A0</div><div><br></div><div=
>How long do you think these minimums should be? I&#39;m curious to know ev=
eryone&#39;s answer to this. I would think of these like I think about chan=
ges to how I think national law should be changed: slowly and carefully. Th=
ere should be sufficient time for everyone to have a chance in their=C2=A0b=
usy lives to take the time to look at it, if they care,=C2=A0so they can ra=
ise objections. I think the minimum time between a soft fork implementation=
 finalization and determining consensus should be maybe a year. And the min=
imum time between=C2=A0soft forks should probably be something like 5 years=
. This would mean that people only have to worry about paying attention to =
what might happen with bitcoin consensus once every 5 years, and would get =
a year-long window to do it. And if there isn&#39;t sufficient consensus, o=
r people bring up objections at the last minute, that should be acceptable =
and it should further delay the=C2=A0deployment.=C2=A0</div><div><br></div>=
I think a lot of folks on here are rightly concerned about compromise bundl=
es where multiple mediocre proposals are put together to=C2=A0basically=C2=
=A0incentivize some people to accept something they don&#39;t want in=C2=A0=
order to receive something they do want (eg what Jeremy quoted Matt Corallo=
 about). But I don&#39;t think that&#39;s what Michael was suggesting at al=
l. That kind of compromise happens in the <b>decision making process</b>. M=
y understanding of what Michael was saying is that releasing a soft fork sh=
ould *not* be within the decision making process at all. The decision makin=
g process should have already happened.<div><br></div><div>If you have cons=
ensus changes A and B, Michael was saying that each consensus change propos=
al should go through a community vetting process that determines that there=
 is widespread supermajority support for it *before* it is even merged into=
 the code (ie master, or some equivalent this-will-be-deployed branch). It =
should have a final implementation that has been tested at all levels *befo=
re* its merged to master. And only then should it potentially be bundled. A=
fter all testing has already been done, after sufficient consensus has alre=
ady been determined.=C2=A0</div><div><br></div><div>@Keagan=C2=A0<br></div>=
<div>&gt;=C2=A0<span style=3D"color:rgb(0,0,0);font-family:arial,helvetica,=
sans-serif">When we start to bundle things, we amplify the community resour=
ces needed to do review, not reduce them.</span></div><div><span style=3D"c=
olor:rgb(0,0,0);font-family:arial,helvetica,sans-serif"><br></span></div><d=
iv><span style=3D"color:rgb(0,0,0);font-family:arial,helvetica,sans-serif">=
I think my above 2 paragraphs address this. I agree we don&#39;t want to re=
view these proposals together, they should be reviewed separately. And I do=
n&#39;t think Michael was suggesting otherwise.=C2=A0</span></div><div><br>=
</div><div>&gt;=C2=A0<span style=3D"color:rgb(0,0,0);font-family:arial,helv=
etica,sans-serif">the protocol itself adopting a tendency to activate unrel=
ated proposals in bundles is a recipe for disaster.</span></div><div><span =
style=3D"color:rgb(0,0,0);font-family:arial,helvetica,sans-serif"><br></spa=
n></div><div><span style=3D"color:rgb(0,0,0);font-family:arial,helvetica,sa=
ns-serif">Activating multiple consensus changes in a bundle is far safer th=
an having multiple separate in-flight soft forks at once. With multiple in-=
flight soft forks, you have many combinations of what might happen (and the=
refore what needs to be tested beforehand). Just 3 in-flight soft forks mea=
ns 9 cases: nine orders of what might happen. All those combinations must b=
e exhaustively tested as all consensus changes must be. This is far more wo=
rk, more complicated, and more error prone than bundling them together in o=
ne soft fork.</span><br></div><div><br></div><div>@Prayank<br></div><div>&g=
t; However I am sure there are lot of people who still think miners vote du=
ring signaling. ... I could not think of any solution to solve this problem=
.<br></div><div><br></div><div>One solution is that we could be a lot more =
direct about how decisions are made. There&#39;s been a lot of rhetoric aro=
und UASF and how the economic majority is really who&#39;s running the show=
. If that&#39;s the case, why not make that explicitly? Why not actually as=
k users to sign a petition saying they support a particular consensus chang=
e? This could be done with actual signatures by keys connected to UTXOs so =
we can see the economic weight of the petition. We would probably need to h=
ave a new address format to prevent problems related to public key exposure=
 (eg by having addresses containing two public keys: `hash(hash(spendingkey=
)+hash(votingkey))` where you can expose the voting key without exposing yo=
ur spending key). Perhaps this could be another tapleaf.</div><div><br></di=
v><div>Doing this could make it very clear how much of the bitcoin world su=
pports a particular change without needing to put anything extra on chain. =
This clarity would also help the actual miner activation of the software in=
 cases where miners might have incentives not to activate. If it were clear=
 that an overwhelming supermajority wants it activated, miners would be les=
s likely to play games that play off uncertainty. It would also dispel the =
idea that miners or developers decide how bitcoin changes.=C2=A0</div><div>=
<br></div></div><br><div class=3D"gmail_quote"><div dir=3D"ltr" class=3D"gm=
ail_attr">On Sat, Jan 1, 2022 at 10:00 AM vjudeu via bitcoin-dev &lt;<a hre=
f=3D"mailto:bitcoin-dev@lists.linuxfoundation.org">bitcoin-dev@lists.linuxf=
oundation.org</a>&gt; wrote:<br></div><blockquote class=3D"gmail_quote" sty=
le=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);paddi=
ng-left:1ex"><div>&gt; If you don&#39;t like the reduction of the block sub=
sidy, well that&#39;s a much bigger problem.<br><br>It is reversible, becau=
se you can also increase the block subsidy by using another kind of soft-fo=
rk. For example, you can create spendable outputs with zero satoshis. In th=
is way, old nodes will accept that silently, but new nodes can check someth=
ing more, because you can specify somewhere else, what is the &quot;real&qu=
ot; amount. Finally, if all nodes will upgrade, you will end up in a networ=
k, where all transactions spend zero satoshi inputs, create zero satoshi ou=
tputs and have zero fee. Old nodes would accept all of that, but new nodes =
would really see, what is going on, and they will check that all rules are =
met, and the new subsidy is for example increased x1000 (that could lead to=
 the same situation as moving from satoshis to millisatoshis with some hard=
-fork, but doing that kind of change with a soft-fork is safer).<br><br></d=
iv>
<div>On 2021-12-31 10:35:06 user Keagan McClelland via bitcoin-dev &lt;<a h=
ref=3D"mailto:bitcoin-dev@lists.linuxfoundation.org" target=3D"_blank">bitc=
oin-dev@lists.linuxfoundation.org</a>&gt; wrote:</div>
<blockquote style=3D"margin-left:7px;border-left:2px solid orange;padding-l=
eft:8px">
<div dir=3D"ltr">&gt;=C2=A0<span style=3D"color:rgb(0,0,0);font-family:aria=
l,helvetica,sans-serif">=C2=A0But whether or not it is a basic principle of=
 general software engineering kind of misses the point. Security critical s=
oftware clearly isn&#39;t engineered in the same way as a new social media =
app. Bugs are easily reverted in a new social media app.On top of that we a=
ren&#39;t just dealing with security critical software. One of the most imp=
ortant objectives is to keep all the nodes on the network in consensus. Int=
roducing a consensus change before we are comfortable there is community co=
nsensus for it is a massive effective bug in itself. The network can split =
in multiple ways e.g. part of the network disagrees on whether to activate =
the consensus change, part of the network disagrees on how to resist that c=
onsensus change, part of the network disagrees on how to activate that cons=
ensus change etc</span>
<div><span style=3D"color:rgb(0,0,0)">=C2=A0</span></div>
<div><span style=3D"color:rgb(0,0,0)">&gt;=C2=A0</span><span style=3D"color=
:rgb(0,0,0);font-family:arial,helvetica,sans-serif">=C2=A0A consensus chang=
e is extremely hard to revert and probably requires a hard fork, a level of=
 central coordination we generally attempt to avoid and a speed of deployme=
nt that we also attempt to avoid.</span><span style=3D"color:rgb(0,0,0)"><b=
r></span>
<div style=3D"box-sizing:inherit;quotes:&quot;\00201c&quot; &quot;\00201d&q=
uot; &quot;\002018&quot; &quot;\002019&quot;;line-height:normal;font-family=
:arial,helvetica,sans-serif;color:rgb(0,0,0)">=C2=A0</div>
<div style=3D"box-sizing:inherit;quotes:&quot;\00201c&quot; &quot;\00201d&q=
uot; &quot;\002018&quot; &quot;\002019&quot;;line-height:normal;font-family=
:arial,helvetica,sans-serif;color:rgb(0,0,0)">This seems to assert the idea=
 that soft forks are all the same: they are not. For instance a soft fork, =
lowering the block subsidy is completely different than changing the semant=
ics of an OP_NOP to have semantics that may reject a subset of the witnesse=
s that attest to the transactions permissibility. As a result, reversion me=
ans two entirely different things in these contexts. While a strict reversi=
on of both soft forks is by definition a hard fork, the requirement of reve=
rsion as a result of undesired behavior is not the same. In the case of opc=
odes, there is almost never a requirement to revert it. If you don&#39;t li=
ke the way the opcodes behave, then you just don&#39;t use them. If you don=
&#39;t like the reduction of the block subsidy, well that&#39;s a much bigg=
er problem.</div>
<div style=3D"box-sizing:inherit;quotes:&quot;\00201c&quot; &quot;\00201d&q=
uot; &quot;\002018&quot; &quot;\002019&quot;;line-height:normal;font-family=
:arial,helvetica,sans-serif;color:rgb(0,0,0)">=C2=A0</div>
<div style=3D"box-sizing:inherit;quotes:&quot;\00201c&quot; &quot;\00201d&q=
uot; &quot;\002018&quot; &quot;\002019&quot;;line-height:normal;font-family=
:arial,helvetica,sans-serif;color:rgb(0,0,0)">I make this point to elucidat=
e the idea that we cannot treat SoftForks=E2=84=A2 as a single monolithic i=
dea. Perhaps we need to come up with better terminology to be specific abou=
t what each fork actually is. The soft vs. hard distinction is a critical o=
ne but it is not enough and treating soft forks that are noninvasive such a=
s OP_NOP tightenings. This has been proposed before [1], and while I do not=
 necessarily think the terms cited are necessarily complete, they admit the=
 low resolution of our current terminology.</div>
</div>
<div style=3D"box-sizing:inherit;quotes:&quot;\00201c&quot; &quot;\00201d&q=
uot; &quot;\002018&quot; &quot;\002019&quot;;line-height:normal;font-family=
:arial,helvetica,sans-serif;color:rgb(0,0,0)">=C2=A0</div>
<div style=3D"box-sizing:inherit;quotes:&quot;\00201c&quot; &quot;\00201d&q=
uot; &quot;\002018&quot; &quot;\002019&quot;;line-height:normal;font-family=
:arial,helvetica,sans-serif;color:rgb(0,0,0)">&gt; Soft fork features can (=
and should) obviously be tested thoroughly on testnet, signet, custom signe=
ts, sidechains etc on a standalone basis and a bundled basis.</div>
<div style=3D"box-sizing:inherit;quotes:&quot;\00201c&quot; &quot;\00201d&q=
uot; &quot;\002018&quot; &quot;\002019&quot;;line-height:normal;font-family=
:arial,helvetica,sans-serif;color:rgb(0,0,0)">=C2=A0</div>
<div style=3D"box-sizing:inherit;quotes:&quot;\00201c&quot; &quot;\00201d&q=
uot; &quot;\002018&quot; &quot;\002019&quot;;line-height:normal;font-family=
:arial,helvetica,sans-serif;color:rgb(0,0,0)">I vehemently disagree that an=
y consensus changes should be bundled, especially when it comes to activati=
on parameters. When we start to bundle things, we amplify the community res=
ources needed to do review, not reduce them. I suspect your opinion here is=
 largely informed by your frustration with the Taproot Activation procedure=
 that you underwent earlier this year. This is understandable. However, let=
 me present the alternative case. If we start to bundle features, the revie=
w of the features gets significantly harder. As the Bitcoin project scales,=
 the ability of any one developer to understand the entire codebase decline=
s. Bundling changes reduces the number of people who are qualified to revie=
w a particular proposal, and even worse, intimidates people who may be will=
ing and able to review logically distinct portions of the proposal, resulti=
ng in lower amounts of review overall. This will likely have the opposite e=
ffect of what you seem to desire. BIP8 and BIP9 give us the ability to have=
 multiple independent soft forks in flight at once. Choosing to bundle them=
 instead makes little sense when we do not have to. Bundling them will inev=
itably degenerate into political horse trading and everyone will be worse o=
ff for it.</div>
<div style=3D"box-sizing:inherit;quotes:&quot;\00201c&quot; &quot;\00201d&q=
uot; &quot;\002018&quot; &quot;\002019&quot;;line-height:normal;font-family=
:arial,helvetica,sans-serif;color:rgb(0,0,0)">=C2=A0</div>
<div style=3D"box-sizing:inherit;quotes:&quot;\00201c&quot; &quot;\00201d&q=
uot; &quot;\002018&quot; &quot;\002019&quot;;line-height:normal;font-family=
:arial,helvetica,sans-serif;color:rgb(0,0,0)">&gt; part of the network disa=
grees on whether to activate the consensus change, part of the network disa=
grees on how to resist that consensus change, part of the network disagrees=
 on how to activate that consensus change etc</div>
<div style=3D"box-sizing:inherit;quotes:&quot;\00201c&quot; &quot;\00201d&q=
uot; &quot;\002018&quot; &quot;\002019&quot;;line-height:normal;font-family=
:arial,helvetica,sans-serif;color:rgb(0,0,0)">=C2=A0</div>
<div style=3D"box-sizing:inherit;quotes:&quot;\00201c&quot; &quot;\00201d&q=
uot; &quot;\002018&quot; &quot;\002019&quot;;line-height:normal;font-family=
:arial,helvetica,sans-serif;color:rgb(0,0,0)">Disagreements, and by extensi=
on, forks are a part of Bitcoin. What is important is that they are well de=
fined and clean. This is the reason why the mandatory signaling period exis=
ts in BIP8/9, so that clients that intend to reject the soft fork change ha=
ve a very easy means of doing so in a clean break where consensus is clearl=
y divergent. In accordance with this, consensus changes should be sequenced=
 so that people can decide which sides of the forks they want to follow and=
 that the economic reality can reorganize around that. If choose to bundle =
them, you have one of two outcomes: either consensus atomizes into a mist w=
here people have different ideas of which subsets of a soft fork bundle the=
y want to adopt, or what likely comes after is a reconvergence on the old c=
lient with none of the soft fork rules in place. This will lead to signific=
antly more confusion as well given that with sufficient miner consensus som=
e of the rules may stick anyway even if the rest of the user base reconverg=
es on the old client.</div>
<div style=3D"box-sizing:inherit;quotes:&quot;\00201c&quot; &quot;\00201d&q=
uot; &quot;\002018&quot; &quot;\002019&quot;;line-height:normal;font-family=
:arial,helvetica,sans-serif;color:rgb(0,0,0)">=C2=A0</div>
<div style=3D"box-sizing:inherit;quotes:&quot;\00201c&quot; &quot;\00201d&q=
uot; &quot;\002018&quot; &quot;\002019&quot;;line-height:normal;font-family=
:arial,helvetica,sans-serif;color:rgb(0,0,0)">It is quite likely less damag=
ing to consensus to have frequent but strictly sequenced soft forks so that=
 if one of the new rules is contentious the break can happen cleanly. That =
said, if Core or any other client wishes to cut a release of the software w=
ith the parameters bundled into a single release, that is a significantly=
=C2=A0more palatable state of affairs, as you can still pipeline signaling =
and activation. However, the protocol itself adopting a tendency to activat=
e unrelated proposals in bundles is a recipe for disaster.</div>
<div style=3D"box-sizing:inherit;quotes:&quot;\00201c&quot; &quot;\00201d&q=
uot; &quot;\002018&quot; &quot;\002019&quot;;line-height:normal;font-family=
:arial,helvetica,sans-serif;color:rgb(0,0,0)">=C2=A0</div>
<div style=3D"box-sizing:inherit;quotes:&quot;\00201c&quot; &quot;\00201d&q=
uot; &quot;\002018&quot; &quot;\002019&quot;;line-height:normal;font-family=
:arial,helvetica,sans-serif;color:rgb(0,0,0)">=C2=A0</div>
<div style=3D"box-sizing:inherit;quotes:&quot;\00201c&quot; &quot;\00201d&q=
uot; &quot;\002018&quot; &quot;\002019&quot;;line-height:normal;font-family=
:arial,helvetica,sans-serif;color:rgb(0,0,0)">Respectfully,</div>
<div style=3D"box-sizing:inherit;quotes:&quot;\00201c&quot; &quot;\00201d&q=
uot; &quot;\002018&quot; &quot;\002019&quot;;line-height:normal;font-family=
:arial,helvetica,sans-serif;color:rgb(0,0,0)">Keagan</div>
<div style=3D"box-sizing:inherit;quotes:&quot;\00201c&quot; &quot;\00201d&q=
uot; &quot;\002018&quot; &quot;\002019&quot;;line-height:normal;font-family=
:arial,helvetica,sans-serif;color:rgb(0,0,0)">=C2=A0</div>
<div style=3D"box-sizing:inherit;quotes:&quot;\00201c&quot; &quot;\00201d&q=
uot; &quot;\002018&quot; &quot;\002019&quot;;line-height:normal;font-family=
:arial,helvetica,sans-serif;color:rgb(0,0,0)">=C2=A0</div>
<div style=3D"box-sizing:inherit;quotes:&quot;\00201c&quot; &quot;\00201d&q=
uot; &quot;\002018&quot; &quot;\002019&quot;;line-height:normal;font-family=
:arial,helvetica,sans-serif;color:rgb(0,0,0)">[1]=C2=A0<a href=3D"https://w=
ww.truthcoin.info/blog/protocol-upgrade-terminology" rel=3D"noopener" targe=
t=3D"_blank">https://www.truthcoin.info/blog/protocol-upgrade-terminology</=
a></div>
</div>
<br>
<div class=3D"gmail_quote">
<div class=3D"gmail_attr" dir=3D"ltr">On Sat, Oct 16, 2021 at 12:57 PM Mich=
ael Folkson via bitcoin-dev &lt;<a href=3D"http://../NowaWiadomosc/Do/QlIkB=
FQ6QUFhIVRZX192dnQBeCtCchE6GhA5LFpLCUc7EVZQVl9dQRIXXR8NCBMbCwIGChJXQFxcXEgc=
Fh8UVVVDEyBdVkE9JVRdEwFhYXVlblhVIkosEAszLR5BQVV7U0MID0BAQUgIGh0RHgAMGAMXBQJ=
fW1sdXRQUQUoDQlAiBFY8" target=3D"_blank">bitcoin-dev@lists.linuxfoundation.=
org</a>&gt; wrote:</div>
<blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-=
left:1px solid rgb(204,204,204);padding-left:1ex">
<div style=3D"box-sizing:inherit;quotes:&quot;\00201c&quot; &quot;\00201d&q=
uot; &quot;\002018&quot; &quot;\002019&quot;;line-height:normal;font-style:=
normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:4=
00;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:no=
ne;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);te=
xt-decoration-style:initial;text-decoration-color:initial;font-family:arial=
,helvetica,sans-serif;font-size:small;color:rgb(0,0,0)"><span lang=3D"en" s=
tyle=3D"box-sizing:inherit;quotes:&quot;\00201c&quot; &quot;\00201d&quot; &=
quot;\002018&quot; &quot;\002019&quot;;line-height:normal"><span style=3D"b=
ox-sizing:inherit;quotes:&quot;\00201c&quot; &quot;\00201d&quot; &quot;\002=
018&quot; &quot;\002019&quot;;line-height:normal"><span style=3D"box-sizing=
:inherit;quotes:&quot;\00201c&quot; &quot;\00201d&quot; &quot;\002018&quot;=
 &quot;\002019&quot;;line-height:normal">&gt; Interesting discussion.=C2=A0=
Correct me if I&#39;m wrong: but putting too many features together in one =
shot just can&#39;t make things harder to debug in production if something =
very unexpected happens.=C2=A0<span lang=3D"en" style=3D"box-sizing:inherit=
;quotes:&quot;\00201c&quot; &quot;\00201d&quot; &quot;\002018&quot; &quot;\=
002019&quot;;line-height:normal"><span style=3D"box-sizing:inherit;quotes:&=
quot;\00201c&quot; &quot;\00201d&quot; &quot;\002018&quot; &quot;\002019&qu=
ot;;line-height:normal"><span style=3D"box-sizing:inherit;quotes:&quot;\002=
01c&quot; &quot;\00201d&quot; &quot;\002018&quot; &quot;\002019&quot;;line-=
height:normal">It&#39;s a basic principle of software engineering.</span></=
span></span></span></span></span></div>
<div style=3D"box-sizing:inherit;quotes:&quot;\00201c&quot; &quot;\00201d&q=
uot; &quot;\002018&quot; &quot;\002019&quot;;line-height:normal;font-style:=
normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:4=
00;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:no=
ne;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);te=
xt-decoration-style:initial;text-decoration-color:initial;font-family:arial=
,helvetica,sans-serif;font-size:small;color:rgb(0,0,0)">=C2=A0</div>
<div style=3D"box-sizing:inherit;quotes:&quot;\00201c&quot; &quot;\00201d&q=
uot; &quot;\002018&quot; &quot;\002019&quot;;line-height:normal;font-style:=
normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:4=
00;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:no=
ne;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);te=
xt-decoration-style:initial;text-decoration-color:initial;font-family:arial=
,helvetica,sans-serif;font-size:small;color:rgb(0,0,0)">Soft fork features =
can (and should) obviously be tested thoroughly on testnet, signet, custom =
signets, sidechains etc on a standalone basis and a bundled basis. But whet=
her or not it is a basic principle of general software engineering kind of =
misses the point. Security critical software clearly isn&#39;t engineered i=
n the same way as a new social media app. Bugs are easily reverted in a new=
 social media app. A consensus change is extremely hard to revert and proba=
bly requires a hard fork, a level of central coordination we generally atte=
mpt to avoid and a speed of deployment that we also attempt to avoid. On to=
p of that we aren&#39;t just dealing with security critical software. One o=
f the most important objectives is to keep all the nodes on the network in =
consensus. Introducing a consensus change before we are comfortable there i=
s community consensus for it is a massive effective bug in itself. The netw=
ork can split in multiple ways e.g. part of the network disagrees on whethe=
r to activate the consensus change, part of the network disagrees on how to=
 resist that consensus change, part of the network disagrees on how to acti=
vate that consensus change etc</div>
<div style=3D"box-sizing:inherit;quotes:&quot;\00201c&quot; &quot;\00201d&q=
uot; &quot;\002018&quot; &quot;\002019&quot;;line-height:normal;font-style:=
normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:4=
00;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:no=
ne;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);te=
xt-decoration-style:initial;text-decoration-color:initial;font-family:arial=
,helvetica,sans-serif;font-size:small;color:rgb(0,0,0)">=C2=A0</div>
<div style=3D"box-sizing:inherit;quotes:&quot;\00201c&quot; &quot;\00201d&q=
uot; &quot;\002018&quot; &quot;\002019&quot;;line-height:normal;font-style:=
normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:4=
00;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:no=
ne;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);te=
xt-decoration-style:initial;text-decoration-color:initial;font-family:arial=
,helvetica,sans-serif;font-size:small;color:rgb(0,0,0)">In addition, a soci=
al media app can experiment in production whether Feature A works, whether =
Feature B works or whether Feature A and B work best together. In Bitcoin i=
f we activate consensus Feature A, later decide we want consensus Feature B=
 but find out that by previously activating Feature A we can&#39;t have Fea=
ture B (it is now unsafe to activate it) or its design now has to be subopt=
imal because we have to ensure it can safely work in the presence of Featur=
e A we have made a mistake by activating Feature A in the first place. Dece=
ntralized security critical consensus changes are an emerging field in itse=
lf and really can&#39;t be treated like any other software project. This wi=
ll become universally understood I&#39;m sure over time.</div>
<div style=3D"box-sizing:inherit;quotes:&quot;\00201c&quot; &quot;\00201d&q=
uot; &quot;\002018&quot; &quot;\002019&quot;;line-height:normal;font-style:=
normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:4=
00;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:no=
ne;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);te=
xt-decoration-style:initial;text-decoration-color:initial;font-family:arial=
,helvetica,sans-serif;font-size:small;color:rgb(0,0,0)">=C2=A0</div>
<div>
<div>=C2=A0</div>
</div>
<pre style=3D"box-sizing:inherit;font-size:14px;line-height:normal;margin:0=
px;font-family:SFMono-Regular,Consolas,&quot;Liberation Mono&quot;,Menlo,mo=
nospace,monospace;white-space:pre-wrap;height:auto;max-width:100%;quotes:&q=
uot;\00201c&quot; &quot;\00201d&quot; &quot;\002018&quot; &quot;\002019&quo=
t;;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal=
;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;tex=
t-transform:none;word-spacing:0px;text-decoration-style:initial;text-decora=
tion-color:initial;background-color:rgb(255,255,255);color:rgb(0,0,0)"><spa=
n style=3D"box-sizing:inherit;quotes:&quot;\00201c&quot; &quot;\00201d&quot=
; &quot;\002018&quot; &quot;\002019&quot;;line-height:normal"><span style=
=3D"box-sizing:inherit;quotes:&quot;\00201c&quot; &quot;\00201d&quot; &quot=
;\002018&quot; &quot;\002019&quot;;line-height:normal"><span style=3D"font-=
size:14px">--
</span></span></span>Michael Folkson
Email: michaelfolkson at <a href=3D"http://protonmail.com" rel=3D"noopener"=
 target=3D"_blank">protonmail.com</a>
Keybase: michaelfolkson
PGP:=C2=A043ED C999 9F85 1D40 EAF4 9835 92D6 0159 214C FEE3</pre>
<div>=C2=A0</div>
<div>=E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90 Origin=
al Message =E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90<=
br>On Friday, October 15th, 2021 at 1:43 AM, Felipe Micaroni Lalli via bitc=
oin-dev &lt;<a href=3D"http://../NowaWiadomosc/Do/QlIkBFQ6QUFhIVRZX192dnQBe=
CtCchE6GhA5LFpLCUc7EVZQVl9dQRIXXR8NCBMbCwIGChJXQFxcXEgcFh8UVVVDEyBdVkE9JVRd=
EwFhYXVlblhVIkosEAszLR5BQVV7U0MID0BAQUgIGh0RHgAMGAMXBQJfW1sdXRQUQUoDQlAiBFY=
8" target=3D"_blank">bitcoin-dev@lists.linuxfoundation.org</a>&gt; wrote:<b=
r>
<blockquote>
<div dir=3D"ltr">
<div dir=3D"ltr">
<div style=3D"font-family:arial,helvetica,sans-serif;font-size:small;color:=
rgb(0,0,0)"><span lang=3D"en">Interesting discussion. Correct me if I&#39;m=
 wrong: but putting too many features together in one shot just can&#39;t m=
ake things harder to debug in production if something very unexpected happe=
ns. <span lang=3D"en">It&#39;s a basic principle of software engineering.</=
span></span></div>
<div style=3D"font-family:arial,helvetica,sans-serif;font-size:small;color:=
rgb(0,0,0)"><span lang=3D"en"><span lang=3D"en">=C2=A0</span></span></div>
<div style=3D"font-family:arial,helvetica,sans-serif;font-size:small;color:=
rgb(0,0,0)"><span lang=3D"en"><span lang=3D"en"><span lang=3D"en">Change. D=
eploy. Nothing bad happened? Change it a little more. Deployment.<br></span=
></span></span></div>
<div style=3D"font-family:arial,helvetica,sans-serif;font-size:small;color:=
rgb(0,0,0)"><span lang=3D"en"><span lang=3D"en"><span lang=3D"en">Or: Chang=
e, change, change. Deploy. Did something bad happen? What change caused the=
 problem?</span></span></span></div>
</div>
<br>
<div class=3D"gmail_quote">
<div dir=3D"ltr">On Thu, Oct 14, 2021 at 8:53 PM Anthony Towns via bitcoin-=
dev &lt;<a href=3D"http://../NowaWiadomosc/Do/QlIkBFQ6QUFhIVRZX192dnQBeCtCc=
hE6GhA5LFpLCUc7EVZQVl9dQRIXXR8NCBMbCwIGChJXQFxcXEgcFh8UVVVDEyBdVkE9JVRdEwFh=
YXVlblhVIkosEAszLR5BQVV7U0MID0BAQUgIGh0RHgAMGAMXBQJfW1sdXRQUQUoDQlAiBFY8" r=
el=3D"noreferrer nofollow noopener" target=3D"_blank">bitcoin-dev@lists.lin=
uxfoundation.org</a>&gt; wrote:</div>
<blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-=
left:1px solid rgb(204,204,204);padding-left:1ex">On Mon, Oct 11, 2021 at 1=
2:12:58PM -0700, Jeremy via bitcoin-dev wrote:<br>&gt; &gt; ...=C2=A0in thi=
s post I will argue against frequent soft forks with a single or<br>&gt; mi=
nimal<br>&gt; &gt; set of features and instead argue for infrequent soft fo=
rks with batches<br>&gt; &gt; of features.<br>&gt; I think this type of dev=
elopment has been discussed in the past and has been<br>&gt; rejected.<br><=
br>&gt; AJ:=C2=A0- improvements: changes might not make everyone better off=
, but we<br>&gt; =C2=A0 =C2=A0don&#39;t want changes to screw anyone over e=
ither -- pareto<br>&gt; =C2=A0 =C2=A0improvements in economics, &quot;first=
, do no harm&quot;, etc. (if we get this<br>&gt; =C2=A0 =C2=A0right, there&=
#39;s no need to make compromises and bundle multiple<br>&gt; =C2=A0 =C2=A0=
flawed proposals so that everyone&#39;s an equal mix of happy and<br>&gt; =
=C2=A0 =C2=A0miserable)<br><br>I don&#39;t think your conclusion above matc=
hes my opinion, for what it&#39;s<br>worth.<br><br>If you&#39;ve got two fe=
atures, A and B, where the game theory is:<br><br>=C2=A0If A happens, I&#39=
;m +100, You&#39;re -50<br>=C2=A0If B happens, I&#39;m -50, You&#39;re +100=
<br><br>then even though A+B is +50, +50, then I do think the answer should=
<br>generally be &quot;think harder and come up with better proposals&quot;=
 rather than<br>&quot;implement A+B as a bundle that makes us both +50&quot=
;.<br><br>_But_ if the two features are more like:<br><br>=C2=A0 If C happe=
ns, I&#39;m +100, You&#39;re +/- 0<br>=C2=A0 If D happens, I&#39;m +/- 0, Y=
ou&#39;re +100<br><br>then I don&#39;t have a problem with bundling them to=
gether as a single<br>simultaneous activation of both C and D.<br><br>Also,=
 you can have situations where things are better together,<br>that is:<br><=
br>=C2=A0 If E happens, we&#39;re both at +100<br>=C2=A0 If F happens, we&#=
39;re both at +50<br>=C2=A0 If E+F both happen, we&#39;re both at +9000<br>=
<br>In general, I think combining proposals when the combination is better<=
br>than the individual proposals were is obviously good; and combining<br>r=
elated proposals into a single activation can be good if it is easier<br>to=
 think about the ideas as a set. <br><br>It&#39;s only when you&#39;d be re=
jecting the proposal on its own merits that<br>I think combining it with ot=
hers is a bad idea in principle.<br><br>For specific examples, we bundled s=
chnorr, Taproot, MAST, OP_SUCCESSx<br>and CHECKSIGADD together because they=
 do have synergies like that; we<br>didn&#39;t bundle ANYPREVOUT and graftr=
oot despite the potential synergies<br>because those features needed substa=
ntially more study.<br><br>The nulldummy soft-fork (bip 147) was deployed c=
oncurrently with<br>the segwit soft-fork (bip 141, 143), but I don&#39;t th=
ink there was any<br>particular synergy or need for those things to be comb=
ined, it just<br>reduced the overhead of two sets of activation signalling =
to one.<br><br>Note that the implementation code for nulldummy had already =
been merged<br>and were applied as relay policy well before activation para=
meters were<br>defined (May 2014 via PR#3843 vs Sep 2016 for PR#8636) let a=
lone becoming<br>an active soft fork.<br><br>Cheers,<br>aj<br><br>_________=
______________________________________<br>bitcoin-dev mailing list<br><a hr=
ef=3D"http://../NowaWiadomosc/Do/QlIkBFQ6QUFhIVRZX192dnQBeCtCchE6GhA5LFpLCU=
c7EVZQVl9dQRIXXR8NCBMbCwIGChJXQFxcXEgcFh8UVVVDEyBdVkE9JVRdEwFhYXVlblhVIkosE=
AszLR5BQVV7U0MID0BAQUgIGh0RHgAMGAMXBQJfW1sdXRQUQUoDQlAiBFY8" rel=3D"norefer=
rer nofollow noopener" target=3D"_blank">bitcoin-dev@lists.linuxfoundation.=
org</a><br><a href=3D"https://lists.linuxfoundation.org/mailman/listinfo/bi=
tcoin-dev" rel=3D"noreferrer nofollow noopener" target=3D"_blank">https://l=
ists.linuxfoundation.org/mailman/listinfo/bitcoin-dev</a></blockquote>
</div>
</div>
</blockquote>
</div>
_______________________________________________<br>bitcoin-dev mailing list=
<br><a href=3D"http://../NowaWiadomosc/Do/QlIkBFQ6QUFhIVRZX192dnQBeCtCchE6G=
hA5LFpLCUc7EVZQVl9dQRIXXR8NCBMbCwIGChJXQFxcXEgcFh8UVVVDEyBdVkE9JVRdEwFhYXVl=
blhVIkosEAszLR5BQVV7U0MID0BAQUgIGh0RHgAMGAMXBQJfW1sdXRQUQUoDQlAiBFY8" targe=
t=3D"_blank">bitcoin-dev@lists.linuxfoundation.org</a><br><a href=3D"https:=
//lists.linuxfoundation.org/mailman/listinfo/bitcoin-dev" rel=3D"noopener n=
oreferrer" target=3D"_blank">https://lists.linuxfoundation.org/mailman/list=
info/bitcoin-dev</a></blockquote>
</div>
</blockquote>
_______________________________________________<br>
bitcoin-dev mailing list<br>
<a href=3D"mailto:bitcoin-dev@lists.linuxfoundation.org" target=3D"_blank">=
bitcoin-dev@lists.linuxfoundation.org</a><br>
<a href=3D"https://lists.linuxfoundation.org/mailman/listinfo/bitcoin-dev" =
rel=3D"noreferrer" target=3D"_blank">https://lists.linuxfoundation.org/mail=
man/listinfo/bitcoin-dev</a><br>
</blockquote></div>

--000000000000ff9a9305d5dd5d74--