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
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
|
Delivery-date: Tue, 01 Jul 2025 08:23:06 -0700
Received: from mail-yb1-f186.google.com ([209.85.219.186])
by mail.fairlystable.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256
(Exim 4.94.2)
(envelope-from <bitcoindev+bncBC3PT7FYWAMRBTP2R7BQMGQEMXI5JCA@googlegroups.com>)
id 1uWcp6-0006ye-Lw
for bitcoindev@gnusha.org; Tue, 01 Jul 2025 08:23:06 -0700
Received: by mail-yb1-f186.google.com with SMTP id 3f1490d57ef6-e822933f97esf8032135276.1
for <bitcoindev@gnusha.org>; Tue, 01 Jul 2025 08:23:04 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=googlegroups.com; s=20230601; t=1751383378; x=1751988178; darn=gnusha.org;
h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post
:list-id:mailing-list:precedence:x-original-sender:mime-version
:subject:references:in-reply-to:message-id:to:from:date:sender:from
:to:cc:subject:date:message-id:reply-to;
bh=hG4FiijcAIcBowyK4pYqLBT4UYc7SJ42JNSPHIDGn7I=;
b=IcyKsUtCe9FhsrdT8I1CRG+xPfO6qBZNu+P/fvOFWoMFlaWHXLziZ+PIzkTJQH4UW5
kd7D+lbFsX+6Oyufhtr6FD9l2jRDe1G0oHa5+ShAWF7FOZO81MaGbC8ZdbDtRF1LFnAP
Ksi+U2/V1fwlo3yPVWQFib6ChjWhPM4cBkAziEy0UIE/RPy7zNVd47F+2R7YI3r8cxwb
4pIHnNOEVqfsAyfa2wWf/KpKj9w14q+Mpp9ITUCnLtmiEtXUpi15ec/BiuSTWClXwq+C
uKxK4aLO+9+v96el5njpUNwTrinNacYB/9zfnos21wCaThrh5eVPgI3G31X/BU52vOLk
sh0A==
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=gmail.com; s=20230601; t=1751383378; x=1751988178; darn=gnusha.org;
h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post
:list-id:mailing-list:precedence:x-original-sender:mime-version
:subject:references:in-reply-to:message-id:to:from:date:from:to:cc
:subject:date:message-id:reply-to;
bh=hG4FiijcAIcBowyK4pYqLBT4UYc7SJ42JNSPHIDGn7I=;
b=nPiNT+FgcZpj5J4TjIap6ZqOLxeEDGWHJY8d419lp+7O/Xm2cIuPCRh0VrIHbd2whH
sCQUMaTRj+WPj/MhjlQnmx6O8Fv+lu7z3NmvVffqYwOATAiJE2rj5N0zyzxFjc8ejmNF
Ua8hIPXbBBHancNq4uY2CBtipN0eoOtWYBFOxzQfPw4jZx4x+yGmdxs6vFHmkBI+lAPu
qadhcZB0nom1Ek3yzoVDTdCjym/LePuywXMObzR/G2A/PhxcjlGtaqnrrouqJsV+oHM+
6r5tW5XPjohY1AIWCE+EsQi/7wYA4AIp0DHnx+kHWXmHIcYh85/yIx8TSCQQoO3XKGH9
IIZg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20230601; t=1751383378; x=1751988178;
h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post
:list-id:mailing-list:precedence:x-original-sender:mime-version
:subject:references:in-reply-to:message-id:to:from:date:x-beenthere
:x-gm-message-state:sender:from:to:cc:subject:date:message-id
:reply-to;
bh=hG4FiijcAIcBowyK4pYqLBT4UYc7SJ42JNSPHIDGn7I=;
b=tSk9YB/+E5lNZYxvWSWxpUUtOWBn++cJnsjbRCMOr3z9W1PLtkUDLWSHSXPtfwHblj
omLMVtV9Tc/1tdDfBZDAkn6DDRBYRo1HqsG/RDYOVOsuj5YO1h6Q266+grC5BRBPUbXv
MSyIOKH1r7JhlUX6HYYMukB3Kl+7sNbe2d21q63vKDvDQUxt1CIYBBBQvM3MEvh/o33p
8LSxIBowm7JnidKTXNSRi/ujYj5OXFvfuTFcKqv3EqLKdqrSrKaDxCPUg0B9Hk8THSzc
rScnmweyQ8yQhrlcodreQrbF2x+2Sl2oelS4Rytsytn9qr2WqpKiBtSGSu2UuSMd6+8Q
CXeQ==
Sender: bitcoindev@googlegroups.com
X-Forwarded-Encrypted: i=1; AJvYcCUEjHSE55/l7zi5KAoSli91MuNPULb/exrBBBEfVooDOVK7QLFkUB08Nrn6esPDUMedrH15pEtMRZo+@gnusha.org
X-Gm-Message-State: AOJu0YzVd007zfRl5mKtLzfor8Jm1wJ9nKwcUV/tnCM5HIBkgN/5W3VJ
fYcsfBP8R6wKSdMYNJG6a5mNOXnGaDENvYaw54ns6oBN+iNcKvq9pN1h
X-Google-Smtp-Source: AGHT+IFove523uMzvug0aR8qIno0r9y76fD+MyqrnFo92yYQMahqBKVWUSTTFp1SxbSKX89tgcedVw==
X-Received: by 2002:a05:6902:110e:b0:e82:8688:dba9 with SMTP id 3f1490d57ef6-e896efd0c49mr4673161276.16.1751383377598;
Tue, 01 Jul 2025 08:22:57 -0700 (PDT)
X-BeenThere: bitcoindev@googlegroups.com; h=AZMbMZds3BRqfwAbXAUE/AwtTIoPFTev9FxkZ4EA3p/4+8UcaQ==
Received: by 2002:a05:6902:2004:b0:e87:adad:c527 with SMTP id
3f1490d57ef6-e896f4ed0a7ls1316489276.1.-pod-prod-04-us; Tue, 01 Jul 2025
08:22:53 -0700 (PDT)
X-Received: by 2002:a05:690c:6605:b0:714:691:6d1d with SMTP id 00721157ae682-715171b53b1mr238273217b3.24.1751383372864;
Tue, 01 Jul 2025 08:22:52 -0700 (PDT)
Received: by 2002:a0d:e746:0:b0:710:fccf:6901 with SMTP id 00721157ae682-7151676fe2ems7b3;
Sun, 29 Jun 2025 15:50:50 -0700 (PDT)
X-Received: by 2002:a05:690c:6482:b0:70c:a854:8384 with SMTP id 00721157ae682-71517169329mr181456797b3.11.1751237448957;
Sun, 29 Jun 2025 15:50:48 -0700 (PDT)
Date: Sun, 29 Jun 2025 15:50:48 -0700 (PDT)
From: Antoine Riard <antoine.riard@gmail.com>
To: Bitcoin Development Mailing List <bitcoindev@googlegroups.com>
Message-Id: <fc065dd1-b151-4710-8d5a-5ed1ad54e0ccn@googlegroups.com>
In-Reply-To: <8d37b779-bf2e-4f63-a51c-9953434d7553n@googlegroups.com>
References: <F5vsDVNGXP_hmCvp4kFnptFLBCXOoRxWk9d05kSInq_kXj0ePqVAJGADkBFJxYIGkjk8Pw1gzBonTivH6WUUb4f6mwNCmJIwdXBMrjjQ0lI=@protonmail.com>
<8a9a2299-ab4b-45a4-8b9d-95798e6bb62a@mattcorallo.com>
<73PXNVcmgiN2Kba63P2SRZfs42lvgME_8EF-DlYtkOSY8mLRxEXPEw5JAi5wtPU2MEMw1C6_EDFHKKrhaa1F53OgIJOcam-kbOUP3aG2_e0=@protonmail.com>
<CAEM=y+VGE1SbuApOx0Y0jnAYrd-eu_kWFbQf+EHEHyv7seeGGw@mail.gmail.com>
<88d14bbe-484c-4d12-a3e5-f894b17f5c64n@googlegroups.com>
<8d37b779-bf2e-4f63-a51c-9953434d7553n@googlegroups.com>
Subject: Re: [bitcoindev] What's a good stopping point? Making the case for
the capabilities enabled by CTV+CSFS
MIME-Version: 1.0
Content-Type: multipart/mixed;
boundary="----=_Part_394932_1604566161.1751237448425"
X-Original-Sender: antoine.riard@gmail.com
Precedence: list
Mailing-list: list bitcoindev@googlegroups.com; contact bitcoindev+owners@googlegroups.com
List-ID: <bitcoindev.googlegroups.com>
X-Google-Group-Id: 786775582512
List-Post: <https://groups.google.com/group/bitcoindev/post>, <mailto:bitcoindev@googlegroups.com>
List-Help: <https://groups.google.com/support/>, <mailto:bitcoindev+help@googlegroups.com>
List-Archive: <https://groups.google.com/group/bitcoindev
List-Subscribe: <https://groups.google.com/group/bitcoindev/subscribe>, <mailto:bitcoindev+subscribe@googlegroups.com>
List-Unsubscribe: <mailto:googlegroups-manage+786775582512+unsubscribe@googlegroups.com>,
<https://groups.google.com/group/bitcoindev/subscribe>
X-Spam-Score: -0.5 (/)
------=_Part_394932_1604566161.1751237448425
Content-Type: multipart/alternative;
boundary="----=_Part_394933_265039629.1751237448425"
------=_Part_394933_265039629.1751237448425
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Hi,
I agree with Sanders and Poinsot on the perspective that enabling too much
powerful script primitves or powerful capabilities could definitely increas=
e
risk surface, be it MEV-style in the open competition of miners themselves
or towards deployed second-layers e.g lightning.
I don't think CTV+CSFS let you do TxWithdhold or to design "evil" smart
contracts [0] (well I'm still a bit reserved for CSFS as you can pass on
the stack a transaction-as-message which has spent _another_ utxo...).
And somehow the gradual approach to change bitcoin scripts sounds more
wise rather than the drop a full replacmeent approach. Those days, people
are mentionning BTCLisp, few years ago it was Simplicity, tomorrow it
will be another one...and it sounds there is always a gap between the
properties of those new Script machines and what is effectively needed
to make second-layers secure, said even less performant.
In my opinion, it would be wiser to put more thoughts on mechanisms
that would prevent adverserial MEV at the consensus-level (e.g prevent
an UTXO to inspect the 2-of-2 funding UTXO of a lightning channel to
attack it), rather than chasing hypothetical "just land 5000 LoC in
the consensus engine kind of changes as a new Script interpreter".
Given there is more and more works realized to enable performant
verification of "compute anything" on bitcoin, we might have to be wary
of breaks in layers abstraction down the line (e.g what if sophisticated
off-chain contracts among a majority of miners to prevent a minority of
miners to spend their coinbase utxos, stuff like that...?).
In fine, I'm still thinking it's better to priotize in terms of design,
review and testing the set of fixes gathered in BIP54 over CTV+CSFS. While
in theory with BIP9 we can have multiple soft-fork concurrently assigned
to different block nVersion bits, the amount of skilled eyes and hands to
review soft-fork is not super elastic and we can never exclude defavorable
interactions to be found between the 2 set of changes. Defavorable=20
interactions
that would requires to fix each other in consequence...
So very personally, I favor the optic we go to activate first as much fixes
we can among the set of BIP54 ones, then we go to consider for activation
CTV alone or CTV+CSFS together. Once BIP54 and CTV+CSFS are technically=20
ready,
making the 2 activating within a 18-months window sounds realistic from=20
what has
been done historically.
Anyone is free to allocate his time as one wish in bitcoin open-source,
and anyone is free to put one's name at the back of a letter and other=20
signed
endorsment for all style of "politics". But at some point a bit of focus
and clarity on what is on the table in matters of consensus changes and wha=
t
we all converge on as a community, that would be very welcome...
Seriously reviewing and testing a consensus change doesn't happen overnight=
=20
:(
Best,
Antoine
OTS hash: c94bf70c0cf2fae2d790184af5879dda5695a4d8f0c0ff7bf7bcb1a86a838a17
[0] https://blog.bitmex.com/txwithhold-smart-contracts/
Le jeudi 26 juin 2025 =C3=A0 18:15:29 UTC+1, Greg Sanders a =C3=A9crit :
> Hi Josh,
>
> It's definitely an interesting primitive, and imo would be best offered=
=20
> through an explicit method of committing to sibling prevouts. A bit of=20
> discussion that touched on TXHASH/bllish/ancestry proofs was on delving a=
=20
> bit ago:=20
> https://delvingbitcoin.org/t/how-ctv-csfs-improves-bitvm-bridges/1591/8 .=
=20
> I am interested to add more compelling uses to more programmable versions=
=20
> of commitment hashes like TXHASH, because I feel the space has been very=
=20
> unexplored outside of single-tx exogenous fees patterns, and this one=20
> specific use. It's a pretty thin playbook for something that feels quite=
=20
> powerful.
>
> As I've mentioned elsewhere if it's a desired capability, we should=20
> actually validate a number potential script enhancements against it rathe=
r=20
> than get tunnel vision on any specific proposal that just so happens to=
=20
> kinda-not-really do it.=20
>
> Greg
>
> On Thursday, June 26, 2025 at 12:03:57=E2=80=AFPM UTC-4 Josh Doman wrote:
>
>> > The ability to commit to the exact transaction spending an output is=
=20
>> useful to reduce interactivity in second-layer
>> protocols.
>>
>> Where do you stand on explicit commitments to neighbor prevouts? My=20
>> understanding is that this capability would be extremely useful, for Bit=
VM=20
>> and for making offers to buy UTXOs. If the goal is to commit to the "exa=
ct=20
>> transaction spending an output," CTV alone wouldn't quite get you there.
>> On Wednesday, June 25, 2025 at 5:28:02=E2=80=AFPM UTC-4 Ethan Heilman wr=
ote:
>>
>>> > Why not even CAT, which is a neat tool in many situations and would=
=20
>>> let ZK people experiment with validation rollups? And at this point, it=
=20
>>> would seem wiser to just work on a sane Bitcoin Script replacement rath=
er=20
>>> than throwing buckets of opcodes at it and hoping it holds off.=20
>>>
>>> A Bitcoin Script replacement is likely to be a lot of work and many of=
=20
>>> the features will be informed by what people are building at the time=
=20
>>> it is designed. Merging a low implementation complexity opcode like=20
>>> OP_CAT (BIP-347) would provide useful data to inform a Bitcoin Script=
=20
>>> replacement.=20
>>>
>>> In addition to allowing ZK people to experiment, OP_CAT also has many=
=20
>>> simple use cases that improve everyday boring tapscripts.=20
>>>
>>> > Sure, but I=E2=80=99d argue that the presence of risk now is a reason=
to be=20
>>> more cautious about adding to it, rather than accepting it as inevitabl=
e.=20
>>>
>>> Addressing MEVil, if addressing MEVil is considered an important goal,=
=20
>>> requires being proactive and enabling the ability to build better=20
>>> protocols on Bitcoin. This is because, all things being equal,=20
>>> building a protocol that doesn't care about MEVil resistance is easier=
=20
>>> and requires less scripting functionality than one that does.=20
>>>
>>> On Wed, Jun 25, 2025 at 12:54=E2=80=AFPM 'Antoine Poinsot' via Bitcoin=
=20
>>> Development Mailing List <bitco...@googlegroups.com> wrote:=20
>>> >=20
>>> > Thanks for sharing some objections. Here is my attempt at addressing=
=20
>>> them.=20
>>> >=20
>>> > > ISTM even something as simple as a rate-limit requires more=20
>>> full-featured introspection than only=20
>>> > > "commit to the exact next transaction" can provide. For example, a=
=20
>>> trivial construction would be=20
>>> > > something which requires that transactions spending an output have=
=20
>>> an output which claims at least=20
>>> > > Amount - Rate, which requires both more full-featured introspection=
=20
>>> as well as a bit of math.=20
>>> >=20
>>> > Yes. These capabilities are really only useful for reducing=20
>>> interactivity in second-layer protocols.=20
>>> > They do not (reasonably) help for vaults and we do not claim it as a=
=20
>>> use case.=20
>>> >=20
>>> > Previous efforts to promote opcodes implementing those capabilities=
=20
>>> have unfortunately fallen into=20
>>> > the trap of overpromising and claiming use cases they do not really=
=20
>>> enable. But this should not make=20
>>> > us overlook what they are really good at: interactivity reduction.=20
>>> >=20
>>> > Do you think that the use cases presented in OP, if demonstrated, are=
=20
>>> not enough to warrant soft=20
>>> > forking in a primitive enabling them?=20
>>> >=20
>>> > > Given one of the loudest groups advocating for the additional=20
>>> features of CTV+CSFS are enterprise=20
>>> > > or large-value personal custody providers=20
>>> >=20
>>> > Yes. We intentionally do not mention vaults as a use case in our=20
>>> steelman. We should not change=20
>>> > Bitcoin on the basis of misleading use cases. If people are intereste=
d=20
>>> in vaults, they should=20
>>> > sponsor efforts on a different set of capabilities. Probably=20
>>> "programmable forwarding of value from=20
>>> > inputs to outputs", "programmable forwarding of spending conditions=
=20
>>> from inputs to outputs" and maybe=20
>>> > "commit to the exact transaction spending an output" (or more powerfu=
l=20
>>> introspection).=20
>>> >=20
>>> > The lack of a similar enthusiasm for proposals enabling most or all o=
f=20
>>> these functionalities (like=20
>>> > Salvatore Ingala's BIP334 or previously James O'Beirne's and Greg=20
>>> Sanders' BIP345) suggests such=20
>>> > loud support are in fact in favour of "just doing something" and=20
>>> rationalize nice-sounding use cases=20
>>> > backward from this proposal (but vaults!) because it appears to them=
=20
>>> to be "further down the road".=20
>>> > I think this view is very dangerous and is part of our motivation for=
=20
>>> redirecting discussions toward=20
>>> > what these capabilities actually enable.=20
>>> >=20
>>> > > it seems somewhat of a loss to not work our way towards really basi=
c=20
>>> features for this use-case.=20
>>> >=20
>>> > I personally grew more skeptical of the reactive security model of=20
>>> vaults after working on it. Your=20
>>> > mileage may vary and that's fine if people want to work on=20
>>> capabilities that actually enable vaults,=20
>>> > but i don't think they should be a required use cases and block=20
>>> introducing primitives that=20
>>> > substantially improve existing layer 2s and make new ones possible.=
=20
>>> >=20
>>> > > Indeed, ISTM many use-cases for a construction like TXHASH become a=
=20
>>> lot more substantial with Math=20
>>> > > [...], I'm quite skeptical that *just* looking at an individual for=
k=20
>>> on its own is the right=20
>>> > > benchmark.=20
>>> >=20
>>> > I agree that modularity and forward composability with potential=20
>>> future upgrades are arguments in=20
>>> > favour of a more flexible approach. But those need to be balanced wit=
h=20
>>> the additional risk and=20
>>> > implementation complexity such an approach entails. I'm happy to be=
=20
>>> convinced if supporters of this=20
>>> > approach demonstrate the added flexibility does enable important use=
=20
>>> cases and the risks associated=20
>>> > are manageable. But if nobody is interested in doing so, i don't thin=
k=20
>>> it's reasonable to hold off a=20
>>> > safer upgrade as long as it is demonstrated to provide substantial=20
>>> benefits.=20
>>> >=20
>>> > It's also unclear that we should stop at "programmable introspection"=
=20
>>> in this case. Why not also=20
>>> > include "programmable amount / spending condition forwarding" too,=20
>>> which would give you vaults? Why=20
>>> > not even CAT, which is a neat tool in many situations and would let Z=
K=20
>>> people experiment with=20
>>> > validation rollups? And at this point, it would seem wiser to just=20
>>> work on a sane Bitcoin Script=20
>>> > replacement rather than throwing buckets of opcodes at it and hoping=
=20
>>> it holds off. Which as we say=20
>>> > in OP i don't think is realistic.=20
>>> >=20
>>> > > I don't see how this results in a net reduction in risk to Bitcoin,=
=20
>>> rather just means more total=20
>>> > > work and more cruft in Bitcoin's consensus.=20
>>> >=20
>>> > In theory, i agree. But by this token the same goes for every future=
=20
>>> extension that introduces more=20
>>> > expressivity to Bitcoin Script. This ties back to the stopping point:=
=20
>>> why add more cruft to the=20
>>> > existing interpreter when we could all focus on BTCLisp instead?=20
>>> >=20
>>> > It's also the case that even if future extensions introduce a superse=
t=20
>>> of the capabilities being=20
>>> > discussed, it's unlikely that such simple ones like "just commit to=
=20
>>> the next transaction" and=20
>>> > "verify a signature for an arbitrary message" would ever be made full=
y=20
>>> redundant.=20
>>> >=20
>>> > Finally, when considering technical debt we should also weigh the=20
>>> actual cost of the implementation=20
>>> > of these simple capabilities. Signature verification on arbitrary=20
>>> message reuses existing signature=20
>>> > checking logic. Similarly, committing to the next transaction can=20
>>> heavily lean on existing Taproot=20
>>> > signature messages, only minimally departing when necessary, and be=
=20
>>> implemented in a strictly=20
>>> > simpler manner than the existing CTV proposal. A minimal=20
>>> implementation of these capabilities would=20
>>> > not introduce significant technical debt.=20
>>> >=20
>>> > Interestingly, this argument applies more to introducing more involve=
d=20
>>> capabilities like arbitrary=20
>>> > transaction introspection, because of the substantially larger=20
>>> technical debt it would impose to=20
>>> > first support in Bitcoin Script instead of focusing on a replacement=
=20
>>> with transaction introspection=20
>>> > from the get go.=20
>>> >=20
>>> > > Indeed, more flexible introspection provides for a difference in=20
>>> risk to the system (though its=20
>>> > > worth noting we cannot both argue that there is no "demonstrated=20
>>> utility" *and* that the utility=20
>>> > > of a change is so substantially higher that it adds material risk t=
o=20
>>> the system in the form of=20
>>> > > MEVil from its use-cases).=20
>>> >=20
>>> > Yes we can? It's reasonable to see how arbitrary introspection could=
=20
>>> be useful in various handwavy=20
>>> > ways, and therefore how they can be used for undesirable applications=
,=20
>>> while also not having an=20
>>> > important use case it enables clearly defined, much less demonstrated=
.=20
>>> >=20
>>> > > However, given the uses of the Bitcoin chain today, it seems=20
>>> entirely possible (assuming=20
>>> > > sufficient adoption) that we end up with a substantial MEVil risk=
=20
>>> with or without any=20
>>> > > functionality expansion.=20
>>> >=20
>>> > Sure, but I=E2=80=99d argue that the presence of risk now is a reason=
to be=20
>>> more cautious about adding to=20
>>> > it, rather than accepting it as inevitable.=20
>>> >=20
>>> > Best,=20
>>> > Antoine=20
>>> >=20
>>> >=20
>>> > On Tuesday, June 24th, 2025 at 12:00 PM, Matt Corallo <
>>> lf-l...@mattcorallo.com> wrote:=20
>>> >=20
>>> > >=20
>>> > >=20
>>> > > Thanks, responding to one specific point:=20
>>> > >=20
>>> > > On 6/23/25 9:14 AM, 'Antoine Poinsot' via Bitcoin Development=20
>>> Mailing List wrote:=20
>>> > >=20
>>> > > > Yet another alternative is a set of more powerful capabilities,=
=20
>>> enabling the use cases that "commit to next transaction"=20
>>> > > > and "verify a BIP340 signature for an arbitrary message" enable=
=20
>>> and more. For instance replacing "commit to the exact=20
>>> > > > transaction which must spend this output" with "programmable=20
>>> introspection on the spending transaction's fields" has=20
>>> > > > been considered. However this approach increases implementation=
=20
>>> complexity and broadens the risk surface[^8]=20
>>> > >=20
>>> > >=20
>>> > > Responded to below [1]=20
>>> > >=20
>>> > > > which=20
>>> > > > warrants a compelling demonstration that arbitrary transaction=20
>>> introspection does enable important use cases not=20
>>> > > > achievable with more minimal capabilities.=20
>>> > >=20
>>> > >=20
>>> > > I'm somewhat skeptical that showing this isn't rather simple, thoug=
h=20
>>> I admit I've spent less time=20
>>> > > thinking about these concepts. ISTM even something as simple as a=
=20
>>> rate-limit requires more=20
>>> > > full-featured introspection than only "commit to the exact next=20
>>> transaction" can provide. For=20
>>> > > example, a trivial construction would be something which requires=
=20
>>> that transactions spending an=20
>>> > > output have an output which claims at least Amount - Rate, which=20
>>> requires both more full-featured=20
>>> > > introspection as well as a bit of math. Given one of the loudest=20
>>> groups advocating for the=20
>>> > > additional features of CTV+CSFS are enterprise or large-value=20
>>> personal custody providers, it seems=20
>>> > > somewhat of a loss to not work our way towards really basic feature=
s=20
>>> for this use-case.=20
>>> > >=20
>>> > > More generally, more full-featured introspection like TXHASH=20
>>> provides a lot of flexibility in the=20
>>> > > constructs people can build. For example, allowing BYO fees in the=
=20
>>> form of an additional input +=20
>>> > > output in a transaction, rather than fixing an anchor output in the=
=20
>>> fixed "next transaction"=20
>>> > > commitment to allow for fees (and then requiring the same additiona=
l=20
>>> input + output later). There's=20
>>> > > also open questions as to the incentive-compatibility of anchors in=
=20
>>> a world with expensive block=20
>>> > > space, as OOB fees become much cheaper.=20
>>> > >=20
>>> > > Indeed, ISTM many use-cases for a construction like TXHASH become a=
=20
>>> lot more substantial with Math=20
>>> > > (though, again, I spend less time thinking about the use-cases of=
=20
>>> these things than most, so I'm=20
>>> > > sure others have more examples), I'm quite skeptical that just=20
>>> looking at an individual fork on=20
>>> > > its own is the right benchmark. Sure, functionality in proposed=20
>>> changes to Bitcoin's consensus need=20
>>> > > to be well-justified, but they don't need to be well-justified=20
>>> purely on their own. We add things=20
>>> > > like OP_SUCCESS opcodes in soft forks specifically to expand the se=
t=20
>>> of things we can do later, not=20
>>> > > specifically in this fork.=20
>>> > >=20
>>> > > If we assume that we end up wanting things like velocity limits=20
>>> (which I imagine we would?) then it=20
>>> > > seems to me we should do a logical fork that adds features today,=
=20
>>> but which will allow us to make=20
>>> > > minimal extensions in the future to further expand its use-cases=20
>>> later. Taking a more myopic view of=20
>>> > > the present and ignoring the future results in us doing one thing=
=20
>>> today, then effectively replacing=20
>>> > > it later by adding more flexibility in a new opcode later, subsumin=
g=20
>>> the features of what we do=20
>>> > > today. I don't see how this results in a net reduction in risk to=
=20
>>> Bitcoin, rather just means more=20
>>> > > total work and more cruft in Bitcoin's consensus.=20
>>> > >=20
>>> > > [1]=20
>>> > >=20
>>> > > Responding to the MEVil question OOO because I think the above=20
>>> should go first :).=20
>>> > >=20
>>> > > Indeed, more flexible introspection provides for a difference in=20
>>> risk to the system (though its=20
>>> > > worth noting we cannot both argue that there is no "demonstrated=20
>>> utility" and that the utility of=20
>>> > > a change is so substantially higher that it adds material risk to=
=20
>>> the system in the form of MEVil=20
>>> > > from its use-cases). However, given the uses of the Bitcoin chain=
=20
>>> today, it seems entirely possible=20
>>> > > (assuming sufficient adoption) that we end up with a substantial=20
>>> MEVil risk with or without any=20
>>> > > functionality expansion. This mandates a response from the Bitcoin=
=20
>>> development community in either=20
>>> > > case, and I'm confident that response can happen faster than any=20
>>> reasonable soft fork timeline.=20
>>> > >=20
>>> > > While its possible that existing CSV-based MEVil risk never grows=
=20
>>> beyond its current anemic state=20
>>> > > (due to preferences for stronger trust models from their users), an=
d=20
>>> that there's a particularly=20
>>> > > clever design using expanded introspection that improves the trust=
=20
>>> model such that suddenly=20
>>> > > CSV-based protocol use explodes, ISTM given the risk and the need t=
o=20
>>> mitigate it on its own, taking=20
>>> > > decisions that are sub-optimal for Bitcoin's consensus on this basi=
s=20
>>> isn't accomplishing much and=20
>>> > > has real costs.=20
>>> > >=20
>>> > > Matt=20
>>> > >=20
>>> > > --=20
>>> > > You received this message because you are subscribed to the Google=
=20
>>> Groups "Bitcoin Development Mailing List" group.=20
>>> > > To unsubscribe from this group and stop receiving emails from it,=
=20
>>> send an email to bitcoindev+...@googlegroups.com.=20
>>> > > To view this discussion visit=20
>>> https://groups.google.com/d/msgid/bitcoindev/8a9a2299-ab4b-45a4-8b9d-95=
798e6bb62a%40mattcorallo.com.=20
>>>
>>> >=20
>>> > --=20
>>> > You received this message because you are subscribed to the Google=20
>>> Groups "Bitcoin Development Mailing List" group.=20
>>> > To unsubscribe from this group and stop receiving emails from it, sen=
d=20
>>> an email to bitcoindev+...@googlegroups.com.=20
>>> > To view this discussion visit=20
>>> https://groups.google.com/d/msgid/bitcoindev/73PXNVcmgiN2Kba63P2SRZfs42=
lvgME_8EF-DlYtkOSY8mLRxEXPEw5JAi5wtPU2MEMw1C6_EDFHKKrhaa1F53OgIJOcam-kbOUP3=
aG2_e0%3D%40protonmail.com.=20
>>>
>>>
>>
--=20
You received this message because you are subscribed to the Google Groups "=
Bitcoin Development Mailing List" group.
To unsubscribe from this group and stop receiving emails from it, send an e=
mail to bitcoindev+unsubscribe@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/bitcoindev/=
fc065dd1-b151-4710-8d5a-5ed1ad54e0ccn%40googlegroups.com.
------=_Part_394933_265039629.1751237448425
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Hi,<br /><br />I agree with Sanders and Poinsot on the perspective that ena=
bling too much<br />powerful script primitves or powerful capabilities coul=
d definitely increase<br />risk surface, be it MEV-style in the open compet=
ition of miners themselves<br />or towards deployed second-layers e.g light=
ning.<br /><br />I don't think CTV+CSFS let you do TxWithdhold or to design=
"evil" smart<br />contracts [0] (well I'm still a bit reserved for CSFS as=
you can pass on<br />the stack a transaction-as-message which has spent _a=
nother_ utxo...).<br />And somehow the gradual approach to change bitcoin s=
cripts sounds more<br />wise rather than the drop a full replacmeent approa=
ch. Those days, people<br />are mentionning BTCLisp, few years ago it was S=
implicity, tomorrow it<br />will be another one...and it sounds there is al=
ways a gap between the<br />properties of those new Script machines and wha=
t is effectively needed<br />to make second-layers secure, said even less p=
erformant.<br /><br />In my opinion, it would be wiser to put more thoughts=
on mechanisms<br />that would prevent adverserial MEV at the consensus-lev=
el (e.g prevent<br />an UTXO to inspect the 2-of-2 funding UTXO of a lightn=
ing channel to<br />attack it), rather than chasing hypothetical "just land=
5000 LoC in<br />the consensus engine kind of changes as a new Script inte=
rpreter".<br />Given there is more and more works realized to enable perfor=
mant<br />verification of "compute anything" on bitcoin, we might have to b=
e wary<br />of breaks in layers abstraction down the line (e.g what if soph=
isticated<br />off-chain contracts among a majority of miners to prevent a =
minority of<br />miners to spend their coinbase utxos, stuff like that...?)=
.<br /><br />In fine, I'm still thinking it's better to priotize in terms o=
f design,<br />review and testing the set of fixes gathered in BIP54 over C=
TV+CSFS. While<br />in theory with BIP9 we can have multiple soft-fork conc=
urrently assigned<br />to different block nVersion bits, the amount of skil=
led eyes and hands to<br />review soft-fork is not super elastic and we can=
never exclude defavorable<br />interactions to be found between the 2 set =
of changes. Defavorable interactions<br />that would requires to fix each o=
ther in consequence...<br /><br />So very personally, I favor the optic we =
go to activate first as much fixes<br />we can among the set of BIP54 ones,=
then we go to consider for activation<br />CTV alone or CTV+CSFS together.=
Once BIP54 and CTV+CSFS are technically ready,<br />making the 2 activatin=
g within a 18-months window sounds realistic from what has<br />been done h=
istorically.<br /><br />Anyone is free to allocate his time as one wish in =
bitcoin open-source,<br />and anyone is free to put one's name at the back =
of a letter and other signed<br />endorsment for all style of "politics". B=
ut at some point a bit of focus<br />and clarity on what is on the table in=
matters of consensus changes and what<br />we all converge on as a communi=
ty, that would be very welcome...<br /><br />Seriously reviewing and testin=
g a consensus change doesn't happen overnight :(<br /><br />Best,<br />Anto=
ine<br />OTS hash: c94bf70c0cf2fae2d790184af5879dda5695a4d8f0c0ff7bf7bcb1a8=
6a838a17<br /><br />[0] https://blog.bitmex.com/txwithhold-smart-contracts/=
<br /><br /><div class=3D"gmail_quote"><div dir=3D"auto" class=3D"gmail_att=
r">Le jeudi 26 juin 2025 =C3=A0 18:15:29 UTC+1, Greg Sanders a =C3=A9crit=
=C2=A0:<br/></div><blockquote class=3D"gmail_quote" style=3D"margin: 0 0 0 =
0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">Hi Jo=
sh,<div><br></div><div>It's definitely an interesting primitive, and im=
o would be best offered through an explicit method of committing to sibling=
prevouts. A bit of discussion that touched on TXHASH/bllish/ancestry proof=
s was on delving a bit ago:=C2=A0<a href=3D"https://delvingbitcoin.org/t/ho=
w-ctv-csfs-improves-bitvm-bridges/1591/8" target=3D"_blank" rel=3D"nofollow=
" data-saferedirecturl=3D"https://www.google.com/url?hl=3Dfr&q=3Dhttps:=
//delvingbitcoin.org/t/how-ctv-csfs-improves-bitvm-bridges/1591/8&sourc=
e=3Dgmail&ust=3D1751323738979000&usg=3DAOvVaw2CnMlE6Umbqw0sjVipvI3j=
">https://delvingbitcoin.org/t/how-ctv-csfs-improves-bitvm-bridges/1591/8</=
a> . I am interested to add more compelling uses to more programmable versi=
ons of commitment hashes like TXHASH, because I feel the space has been ver=
y unexplored outside of single-tx exogenous fees patterns, and this one spe=
cific use. It's a pretty thin playbook for something that feels quite p=
owerful.</div><div><br></div><div>As I've mentioned elsewhere if it'=
;s a desired capability, we should actually validate a number potential scr=
ipt enhancements against it rather than get tunnel vision on any specific p=
roposal that just so happens to kinda-not-really do it.=C2=A0</div><div><br=
></div><div>Greg<br><br></div><div class=3D"gmail_quote"><div dir=3D"auto" =
class=3D"gmail_attr">On Thursday, June 26, 2025 at 12:03:57=E2=80=AFPM UTC-=
4 Josh Doman wrote:<br></div><blockquote class=3D"gmail_quote" style=3D"mar=
gin:0 0 0 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">&g=
t; The ability to commit to the exact transaction spending an output is use=
ful to reduce interactivity in second-layer<br>protocols.<div><br></div><di=
v>Where do you stand on explicit commitments to neighbor prevouts? My under=
standing is that this capability would be extremely useful, for BitVM and f=
or making offers to buy UTXOs. If the goal is to commit to the "exact =
transaction spending an output," CTV alone wouldn't quite get you =
there.</div><div class=3D"gmail_quote"><div dir=3D"auto" class=3D"gmail_att=
r">On Wednesday, June 25, 2025 at 5:28:02=E2=80=AFPM UTC-4 Ethan Heilman wr=
ote:<br></div><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 0.8ex=
;border-left:1px solid rgb(204,204,204);padding-left:1ex">> Why not eve=
n CAT, which is a neat tool in many situations and would let ZK people expe=
riment with validation rollups? And at this point, it would seem wiser to j=
ust work on a sane Bitcoin Script replacement rather than throwing buckets =
of opcodes at it and hoping it holds off.
<br>
<br>A Bitcoin Script replacement is likely to be a lot of work and many of
<br>the features will be informed by what people are building at the time
<br>it is designed. Merging a low implementation complexity opcode like
<br>OP_CAT (BIP-347) would provide useful data to inform a Bitcoin Script
<br>replacement.
<br>
<br>In addition to allowing ZK people to experiment, OP_CAT also has many
<br>simple use cases that improve everyday boring tapscripts.
<br>
<br>> Sure, but I=E2=80=99d argue that the presence of risk now is a rea=
son to be more cautious about adding to it, rather than accepting it as ine=
vitable.
<br>
<br>Addressing MEVil, if addressing MEVil is considered an important goal,
<br>requires being proactive and enabling the ability to build better
<br>protocols on Bitcoin. This is because, all things being equal,
<br>building a protocol that doesn't care about MEVil resistance is eas=
ier
<br>and requires less scripting functionality than one that does.
<br>
<br>On Wed, Jun 25, 2025 at 12:54=E2=80=AFPM 'Antoine Poinsot' via =
Bitcoin
<br>Development Mailing List <<a rel=3D"nofollow">bitco...@googlegroups.=
com</a>> wrote:
<br>>
<br>> Thanks for sharing some objections. Here is my attempt at addressi=
ng them.
<br>>
<br>> > ISTM even something as simple as a rate-limit requires more f=
ull-featured introspection than only
<br>> > "commit to the exact next transaction" can provide.=
For example, a trivial construction would be
<br>> > something which requires that transactions spending an output=
have an output which claims at least
<br>> > Amount - Rate, which requires both more full-featured introsp=
ection as well as a bit of math.
<br>>
<br>> Yes. These capabilities are really only useful for reducing intera=
ctivity in second-layer protocols.
<br>> They do not (reasonably) help for vaults and we do not claim it as=
a use case.
<br>>
<br>> Previous efforts to promote opcodes implementing those capabilitie=
s have unfortunately fallen into
<br>> the trap of overpromising and claiming use cases they do not reall=
y enable. But this should not make
<br>> us overlook what they are really good at: interactivity reduction.
<br>>
<br>> Do you think that the use cases presented in OP, if demonstrated, =
are not enough to warrant soft
<br>> forking in a primitive enabling them?
<br>>
<br>> > Given one of the loudest groups advocating for the additional=
features of CTV+CSFS are enterprise
<br>> > or large-value personal custody providers
<br>>
<br>> Yes. We intentionally do not mention vaults as a use case in our s=
teelman. We should not change
<br>> Bitcoin on the basis of misleading use cases. If people are intere=
sted in vaults, they should
<br>> sponsor efforts on a different set of capabilities. Probably "=
;programmable forwarding of value from
<br>> inputs to outputs", "programmable forwarding of spending=
conditions from inputs to outputs" and maybe
<br>> "commit to the exact transaction spending an output" (or=
more powerful introspection).
<br>>
<br>> The lack of a similar enthusiasm for proposals enabling most or al=
l of these functionalities (like
<br>> Salvatore Ingala's BIP334 or previously James O'Beirne'=
;s and Greg Sanders' BIP345) suggests such
<br>> loud support are in fact in favour of "just doing something&q=
uot; and rationalize nice-sounding use cases
<br>> backward from this proposal (but vaults!) because it appears to th=
em to be "further down the road".
<br>> I think this view is very dangerous and is part of our motivation =
for redirecting discussions toward
<br>> what these capabilities actually enable.
<br>>
<br>> > it seems somewhat of a loss to not work our way towards reall=
y basic features for this use-case.
<br>>
<br>> I personally grew more skeptical of the reactive security model of=
vaults after working on it. Your
<br>> mileage may vary and that's fine if people want to work on cap=
abilities that actually enable vaults,
<br>> but i don't think they should be a required use cases and bloc=
k introducing primitives that
<br>> substantially improve existing layer 2s and make new ones possible=
.
<br>>
<br>> > Indeed, ISTM many use-cases for a construction like TXHASH be=
come a lot more substantial with Math
<br>> > [...], I'm quite skeptical that *just* looking at an indi=
vidual fork on its own is the right
<br>> > benchmark.
<br>>
<br>> I agree that modularity and forward composability with potential f=
uture upgrades are arguments in
<br>> favour of a more flexible approach. But those need to be balanced =
with the additional risk and
<br>> implementation complexity such an approach entails. I'm happy =
to be convinced if supporters of this
<br>> approach demonstrate the added flexibility does enable important u=
se cases and the risks associated
<br>> are manageable. But if nobody is interested in doing so, i don'=
;t think it's reasonable to hold off a
<br>> safer upgrade as long as it is demonstrated to provide substantial=
benefits.
<br>>
<br>> It's also unclear that we should stop at "programmable in=
trospection" in this case. Why not also
<br>> include "programmable amount / spending condition forwarding&=
quot; too, which would give you vaults? Why
<br>> not even CAT, which is a neat tool in many situations and would le=
t ZK people experiment with
<br>> validation rollups? And at this point, it would seem wiser to just=
work on a sane Bitcoin Script
<br>> replacement rather than throwing buckets of opcodes at it and hopi=
ng it holds off. Which as we say
<br>> in OP i don't think is realistic.
<br>>
<br>> > I don't see how this results in a net reduction in risk t=
o Bitcoin, rather just means more total
<br>> > work and more cruft in Bitcoin's consensus.
<br>>
<br>> In theory, i agree. But by this token the same goes for every futu=
re extension that introduces more
<br>> expressivity to Bitcoin Script. This ties back to the stopping poi=
nt: why add more cruft to the
<br>> existing interpreter when we could all focus on BTCLisp instead?
<br>>
<br>> It's also the case that even if future extensions introduce a =
superset of the capabilities being
<br>> discussed, it's unlikely that such simple ones like "just=
commit to the next transaction" and
<br>> "verify a signature for an arbitrary message" would ever=
be made fully redundant.
<br>>
<br>> Finally, when considering technical debt we should also weigh the =
actual cost of the implementation
<br>> of these simple capabilities. Signature verification on arbitrary =
message reuses existing signature
<br>> checking logic. Similarly, committing to the next transaction can =
heavily lean on existing Taproot
<br>> signature messages, only minimally departing when necessary, and b=
e implemented in a strictly
<br>> simpler manner than the existing CTV proposal. A minimal implement=
ation of these capabilities would
<br>> not introduce significant technical debt.
<br>>
<br>> Interestingly, this argument applies more to introducing more invo=
lved capabilities like arbitrary
<br>> transaction introspection, because of the substantially larger tec=
hnical debt it would impose to
<br>> first support in Bitcoin Script instead of focusing on a replaceme=
nt with transaction introspection
<br>> from the get go.
<br>>
<br>> > Indeed, more flexible introspection provides for a difference=
in risk to the system (though its
<br>> > worth noting we cannot both argue that there is no "demo=
nstrated utility" *and* that the utility
<br>> > of a change is so substantially higher that it adds material =
risk to the system in the form of
<br>> > MEVil from its use-cases).
<br>>
<br>> Yes we can? It's reasonable to see how arbitrary introspection=
could be useful in various handwavy
<br>> ways, and therefore how they can be used for undesirable applicati=
ons, while also not having an
<br>> important use case it enables clearly defined, much less demonstra=
ted.
<br>>
<br>> > However, given the uses of the Bitcoin chain today, it seems =
entirely possible (assuming
<br>> > sufficient adoption) that we end up with a substantial MEVil =
risk with or without any
<br>> > functionality expansion.
<br>>
<br>> Sure, but I=E2=80=99d argue that the presence of risk now is a rea=
son to be more cautious about adding to
<br>> it, rather than accepting it as inevitable.
<br>>
<br>> Best,
<br>> Antoine
<br>>
<br>>
<br>> On Tuesday, June 24th, 2025 at 12:00 PM, Matt Corallo <<a rel=
=3D"nofollow">lf-l...@mattcorallo.com</a>> wrote:
<br>>
<br>> >
<br>> >
<br>> > Thanks, responding to one specific point:
<br>> >
<br>> > On 6/23/25 9:14 AM, 'Antoine Poinsot' via Bitcoin Dev=
elopment Mailing List wrote:
<br>> >
<br>> > > Yet another alternative is a set of more powerful capabi=
lities, enabling the use cases that "commit to next transaction"
<br>> > > and "verify a BIP340 signature for an arbitrary mes=
sage" enable and more. For instance replacing "commit to the exac=
t
<br>> > > transaction which must spend this output" with &quo=
t;programmable introspection on the spending transaction's fields"=
has
<br>> > > been considered. However this approach increases impleme=
ntation complexity and broadens the risk surface[^8]
<br>> >
<br>> >
<br>> > Responded to below [1]
<br>> >
<br>> > > which
<br>> > > warrants a compelling demonstration that arbitrary trans=
action introspection does enable important use cases not
<br>> > > achievable with more minimal capabilities.
<br>> >
<br>> >
<br>> > I'm somewhat skeptical that showing this isn't rather=
simple, though I admit I've spent less time
<br>> > thinking about these concepts. ISTM even something as simple =
as a rate-limit requires more
<br>> > full-featured introspection than only "commit to the exa=
ct next transaction" can provide. For
<br>> > example, a trivial construction would be something which requ=
ires that transactions spending an
<br>> > output have an output which claims at least Amount - Rate, wh=
ich requires both more full-featured
<br>> > introspection as well as a bit of math. Given one of the loud=
est groups advocating for the
<br>> > additional features of CTV+CSFS are enterprise or large-value=
personal custody providers, it seems
<br>> > somewhat of a loss to not work our way towards really basic f=
eatures for this use-case.
<br>> >
<br>> > More generally, more full-featured introspection like TXHASH =
provides a lot of flexibility in the
<br>> > constructs people can build. For example, allowing BYO fees i=
n the form of an additional input +
<br>> > output in a transaction, rather than fixing an anchor output =
in the fixed "next transaction"
<br>> > commitment to allow for fees (and then requiring the same add=
itional input + output later). There's
<br>> > also open questions as to the incentive-compatibility of anch=
ors in a world with expensive block
<br>> > space, as OOB fees become much cheaper.
<br>> >
<br>> > Indeed, ISTM many use-cases for a construction like TXHASH be=
come a lot more substantial with Math
<br>> > (though, again, I spend less time thinking about the use-case=
s of these things than most, so I'm
<br>> > sure others have more examples), I'm quite skeptical that=
just looking at an individual fork on
<br>> > its own is the right benchmark. Sure, functionality in propos=
ed changes to Bitcoin's consensus need
<br>> > to be well-justified, but they don't need to be well-just=
ified purely on their own. We add things
<br>> > like OP_SUCCESS opcodes in soft forks specifically to expand =
the set of things we can do later, not
<br>> > specifically in this fork.
<br>> >
<br>> > If we assume that we end up wanting things like velocity limi=
ts (which I imagine we would?) then it
<br>> > seems to me we should do a logical fork that adds features to=
day, but which will allow us to make
<br>> > minimal extensions in the future to further expand its use-ca=
ses later. Taking a more myopic view of
<br>> > the present and ignoring the future results in us doing one t=
hing today, then effectively replacing
<br>> > it later by adding more flexibility in a new opcode later, su=
bsuming the features of what we do
<br>> > today. I don't see how this results in a net reduction in=
risk to Bitcoin, rather just means more
<br>> > total work and more cruft in Bitcoin's consensus.
<br>> >
<br>> > [1]
<br>> >
<br>> > Responding to the MEVil question OOO because I think the abov=
e should go first :).
<br>> >
<br>> > Indeed, more flexible introspection provides for a difference=
in risk to the system (though its
<br>> > worth noting we cannot both argue that there is no "demo=
nstrated utility" and that the utility of
<br>> > a change is so substantially higher that it adds material ris=
k to the system in the form of MEVil
<br>> > from its use-cases). However, given the uses of the Bitcoin c=
hain today, it seems entirely possible
<br>> > (assuming sufficient adoption) that we end up with a substant=
ial MEVil risk with or without any
<br>> > functionality expansion. This mandates a response from the Bi=
tcoin development community in either
<br>> > case, and I'm confident that response can happen faster t=
han any reasonable soft fork timeline.
<br>> >
<br>> > While its possible that existing CSV-based MEVil risk never g=
rows beyond its current anemic state
<br>> > (due to preferences for stronger trust models from their user=
s), and that there's a particularly
<br>> > clever design using expanded introspection that improves the =
trust model such that suddenly
<br>> > CSV-based protocol use explodes, ISTM given the risk and the =
need to mitigate it on its own, taking
<br>> > decisions that are sub-optimal for Bitcoin's consensus on=
this basis isn't accomplishing much and
<br>> > has real costs.
<br>> >
<br>> > Matt
<br>> >
<br>> > --
<br>> > You received this message because you are subscribed to the G=
oogle Groups "Bitcoin Development Mailing List" group.
<br>> > To unsubscribe from this group and stop receiving emails from=
it, send an email to <a rel=3D"nofollow">bitcoindev+...@googlegroups.com</=
a>.
<br>> > To view this discussion visit <a href=3D"https://groups.googl=
e.com/d/msgid/bitcoindev/8a9a2299-ab4b-45a4-8b9d-95798e6bb62a%40mattcorallo=
.com" rel=3D"nofollow" target=3D"_blank" data-saferedirecturl=3D"https://ww=
w.google.com/url?hl=3Dfr&q=3Dhttps://groups.google.com/d/msgid/bitcoind=
ev/8a9a2299-ab4b-45a4-8b9d-95798e6bb62a%2540mattcorallo.com&source=3Dgm=
ail&ust=3D1751323738979000&usg=3DAOvVaw0aCT2k9MuDBpyRzh3Vr1G8">http=
s://groups.google.com/d/msgid/bitcoindev/8a9a2299-ab4b-45a4-8b9d-95798e6bb6=
2a%40mattcorallo.com</a>.
<br>>
<br>> --
<br>> You received this message because you are subscribed to the Google=
Groups "Bitcoin Development Mailing List" group.
<br>> To unsubscribe from this group and stop receiving emails from it, =
send an email to <a rel=3D"nofollow">bitcoindev+...@googlegroups.com</a>.
<br>> To view this discussion visit <a href=3D"https://groups.google.com=
/d/msgid/bitcoindev/73PXNVcmgiN2Kba63P2SRZfs42lvgME_8EF-DlYtkOSY8mLRxEXPEw5=
JAi5wtPU2MEMw1C6_EDFHKKrhaa1F53OgIJOcam-kbOUP3aG2_e0%3D%40protonmail.com" r=
el=3D"nofollow" target=3D"_blank" data-saferedirecturl=3D"https://www.googl=
e.com/url?hl=3Dfr&q=3Dhttps://groups.google.com/d/msgid/bitcoindev/73PX=
NVcmgiN2Kba63P2SRZfs42lvgME_8EF-DlYtkOSY8mLRxEXPEw5JAi5wtPU2MEMw1C6_EDFHKKr=
haa1F53OgIJOcam-kbOUP3aG2_e0%253D%2540protonmail.com&source=3Dgmail&=
;ust=3D1751323738979000&usg=3DAOvVaw1AgnfcG_hn-ZAQd1ecgsXx">https://gro=
ups.google.com/d/msgid/bitcoindev/73PXNVcmgiN2Kba63P2SRZfs42lvgME_8EF-DlYtk=
OSY8mLRxEXPEw5JAi5wtPU2MEMw1C6_EDFHKKrhaa1F53OgIJOcam-kbOUP3aG2_e0%3D%40pro=
tonmail.com</a>.
<br></blockquote></div></blockquote></div></blockquote></div>
<p></p>
-- <br />
You received this message because you are subscribed to the Google Groups &=
quot;Bitcoin Development Mailing List" group.<br />
To unsubscribe from this group and stop receiving emails from it, send an e=
mail to <a href=3D"mailto:bitcoindev+unsubscribe@googlegroups.com">bitcoind=
ev+unsubscribe@googlegroups.com</a>.<br />
To view this discussion visit <a href=3D"https://groups.google.com/d/msgid/=
bitcoindev/fc065dd1-b151-4710-8d5a-5ed1ad54e0ccn%40googlegroups.com?utm_med=
ium=3Demail&utm_source=3Dfooter">https://groups.google.com/d/msgid/bitcoind=
ev/fc065dd1-b151-4710-8d5a-5ed1ad54e0ccn%40googlegroups.com</a>.<br />
------=_Part_394933_265039629.1751237448425--
------=_Part_394932_1604566161.1751237448425--
|