summaryrefslogtreecommitdiff
path: root/c3/86ed8133bd0230edccf04fdd42ad9705dcab5d
blob: d4691cc322b49b765903c4900fdf648778bec441 (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
Delivery-date: Wed, 09 Jul 2025 13:09:49 -0700
Received: from mail-oi1-f189.google.com ([209.85.167.189])
	by mail.fairlystable.org with esmtps  (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256
	(Exim 4.94.2)
	(envelope-from <bitcoindev+bncBCQ2LBONTACBBA4ZXPBQMGQEFML6FJY@googlegroups.com>)
	id 1uZb6z-0002aZ-8u
	for bitcoindev@gnusha.org; Wed, 09 Jul 2025 13:09:49 -0700
Received: by mail-oi1-f189.google.com with SMTP id 5614622812f47-4067aeea8c0sf143832b6e.0
        for <bitcoindev@gnusha.org>; Wed, 09 Jul 2025 13:09:48 -0700 (PDT)
ARC-Seal: i=2; a=rsa-sha256; t=1752091783; cv=pass;
        d=google.com; s=arc-20240605;
        b=YPoTOMIsM9PEFTG0tWNah80j+MA2Q73wj1R3Dp+furw+KcPtk9fdn/Uirh1Q+hHqnj
         6trXu7pR5gaifqIrlLM9xDNwbN0SapFyrnSk9+WqQ3h2PDen6V6RaDN2MOVnUuq2lRN2
         /jZNcxhSGV3AcG4cSJQjJ/eU6DIA9TUCR5MwRuwwApV1i5O4HzJQx+TVNE1DJWZtvYT8
         5IzDOqlhmlmAOO+v8+STOYx7usMfZg2GczYcK54dAN+DZJfhDsIQ0Hk6YGlX7ZX2naeF
         EFVxQQm0zCff4oScvKvVXoJ0nWq+ikhL21H2nvLkher6qvRjKQJS29T18tnJ+8ZGoAUa
         59Dw==
ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605;
        h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post
         :list-id:mailing-list:precedence:references:to:cc:in-reply-to:date
         :subject:mime-version:message-id:from:sender:dkim-signature
         :dkim-signature;
        bh=bMAKUaExEGh9otLbkhipyNoLkBdBGnXLR412Wq0tixo=;
        fh=uHPfPgvfSbJWR6akil58yB3y79MOSSMj7CmqGLme9y0=;
        b=gKbA9HN66PEh44EI/XPjvOvNBJpFRLziEPD71RfDBdcPt7x6SpGsS2akNElb1FK1DP
         Oiezor4Z8qBxiDQ4Y1bvV2/EjALxODMLtjkFbUSU5w0r2FRQD95wulAVJdCx5UhK9VnQ
         zySRt4NTlwN9OqreDiqybRFIFkgpwNKMpBPTvLNTOEe2lJknztNLEPMnSdFiWCoW4hqn
         shLuVelegNGTwpKqiqeVFpNOqo52PdBGKUW/9DA8cqj3FI2/pkvBYe4ZxOp3WBwhKI2r
         BMd9DwHL9WMn1FYwLHtCh7//CZZTuX6YfSyTpqQqTi/KK0EWcWPLdNIJPrUawiqq5Mhd
         lnaA==;
        darn=gnusha.org
ARC-Authentication-Results: i=2; gmr-mx.google.com;
       dkim=pass header.i=@gmail.com header.s=20230601 header.b=Y6tI0GDx;
       spf=pass (google.com: domain of rot13maxi@gmail.com designates 2607:f8b0:4864:20::42a as permitted sender) smtp.mailfrom=rot13maxi@gmail.com;
       dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com;
       dara=pass header.i=@googlegroups.com
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=googlegroups.com; s=20230601; t=1752091783; x=1752696583; darn=gnusha.org;
        h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post
         :list-id:mailing-list:precedence:x-original-authentication-results
         :x-original-sender:references:to:cc:in-reply-to:date:subject
         :mime-version:message-id:from:sender:from:to:cc:subject:date
         :message-id:reply-to;
        bh=bMAKUaExEGh9otLbkhipyNoLkBdBGnXLR412Wq0tixo=;
        b=Ju1A0gIE8+PVSgFx7TYqwdu9JwOuuVILjwidR1lChBQ5CoMbN1Yl83FHvC6T61R1Rl
         pq3D4w8M2+5RPciSHz5c0S0aypryQfbFno1q9hHp+mh5Cjio1DNy7+2M3Aq12sAfupSk
         xSO1oAG5xb2RiJYMZ15gTmJzFVdpF8AmMV6G4NES8Oqt5g7gkXORDHWgmbWkXT4jQfmI
         3UTfI/nqm7L/l5GKtpn3Ec8zMsk1oYkTiZS1r+h6Gvn7wgKqg6/wEMjLohafdhuldNbF
         1oMm0V1PMMIahNC/Nch0iyGVZLbggLdqtwU4jX8IF0jg8m/X87grBi1wyRUV0g7zYmAA
         ht9g==
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=20230601; t=1752091783; x=1752696583; darn=gnusha.org;
        h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post
         :list-id:mailing-list:precedence:x-original-authentication-results
         :x-original-sender:references:to:cc:in-reply-to:date:subject
         :mime-version:message-id:from:from:to:cc:subject:date:message-id
         :reply-to;
        bh=bMAKUaExEGh9otLbkhipyNoLkBdBGnXLR412Wq0tixo=;
        b=D+ZCVoGNJjDlLduJpFt9HhSHhrLXU5d/NMUkPI9sTrFquHCHFHQlADX9KhQxETOkxl
         EnW//V+lTAmaZTqDN4wLnEWI3AsTY0NY9Gldl+9Ia0vniKal+5sWbA1mZVuAaiCJXom6
         fdvDqNG19XesljmKRdoj7o/QfrbbMXIwY7hUe1PKmKWV/U/NqgEW2J+71224m98B3se1
         AAcYCBi6Co4g37pAKMk0hPdUFN0+o6nq4AP8XEvGE5G6dLa7TB48cpxX9sSLfmJZwJKu
         8VAJg8NKvvtGGMOifffmLXgp3Ft1KKp+eWxxNo17rVaNNdHCv0BDXqFQh7IGxIL9bnKf
         2Q7g==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20230601; t=1752091783; x=1752696583;
        h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post
         :list-id:mailing-list:precedence:x-original-authentication-results
         :x-original-sender:references:to:cc:in-reply-to:date:subject
         :mime-version:message-id:from:x-beenthere:x-gm-message-state:sender
         :from:to:cc:subject:date:message-id:reply-to;
        bh=bMAKUaExEGh9otLbkhipyNoLkBdBGnXLR412Wq0tixo=;
        b=Q39z5jORMOYhOvZR8hkxI8C+oVnbQ23joJw2JU8BMJYzzLAUbkv4DzA/CEQPbWNcTw
         cWQpuNy7+fUvQc5rfpqnoPzOLgb+TLRrg0jm275Qx4iDMYwwIISql/WdSZcEQ1LGoWiL
         1uCIQAJ+xQuYgc5dvBn8fa4S/XzCodAp/8kQn22Ewrsh+r0QLisADrRMMvoenPE5Ih20
         gRdRqXfEeIamnJ/CXJkr5FaPHUsBrMwSHf3DoN8oor8TsPWaOo24nszAhtqvlh2YlLGZ
         nkQG97BHgdDOK76MojR9QxdGlugM9krI7wsIg94dO2He7rmQqrKuAGhIjcwOqHrRF4BT
         eFlw==
Sender: bitcoindev@googlegroups.com
X-Forwarded-Encrypted: i=2; AJvYcCXY70kB/1hZW5EWhSEO95DEkZglFZRxijlt+KMUPQaFNgAs0vQm4VnPI2ANXp8W61kUYVE4cgCwq77T@gnusha.org
X-Gm-Message-State: AOJu0YzPbvtCitbLO0acdU+0u/EP+R3WwEoZJODsbOiU9oMnaIOO1XN5
	4FzXSS0a7B/6OP5qmlqBaHEHzqcR94uQsm5/fYhnXbLIGBPRVoatJuSS
X-Google-Smtp-Source: AGHT+IEzEHBBx7nOd5Zcx8ekoa32n9cboZZwCapYAM4TL95KBoTmwmh0HsLD5g+cijfsCr84lJk+VA==
X-Received: by 2002:a05:6808:18a5:b0:3f9:8b5b:294c with SMTP id 5614622812f47-413ae4a4b9dmr779865b6e.31.1752091782506;
        Wed, 09 Jul 2025 13:09:42 -0700 (PDT)
X-BeenThere: bitcoindev@googlegroups.com; h=AZMbMZdjyxeaobDqXxoZa30SqKbcLLYt7tJjpkYo20yU0X7j6g==
Received: by 2002:a05:6820:510c:b0:611:fdca:b1b1 with SMTP id
 006d021491bc7-613d7b098e3ls50199eaf.0.-pod-prod-04-us; Wed, 09 Jul 2025
 13:09:39 -0700 (PDT)
X-Received: by 2002:a05:6808:138a:b0:402:a5c:906 with SMTP id 5614622812f47-413aea7c73amr951479b6e.34.1752091779271;
        Wed, 09 Jul 2025 13:09:39 -0700 (PDT)
Received: by 2002:a05:6808:4a11:b0:40c:fd76:4b4 with SMTP id 5614622812f47-40cfd760570msb6e;
        Wed, 9 Jul 2025 12:59:51 -0700 (PDT)
X-Received: by 2002:a05:6870:fba5:b0:2ea:fdd4:ab97 with SMTP id 586e51a60fabf-2ff0b60994bmr845493fac.2.1752091190257;
        Wed, 09 Jul 2025 12:59:50 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; t=1752091190; cv=none;
        d=google.com; s=arc-20240605;
        b=gsulupulrTXHKJz1D9CWKsQCVpld5JRQO+SMMyclYwa0gscVCTNconqh1easyAgEFN
         CYb02MlGTjQmn2Bq2xsDVbh+FbCSiHFG8ZE/UShMcRAo19IIoARkoR8zDpQxJ61XvYAB
         /E9sN6xEBmGXGmZuAKPNp/GDLW2fyP/boTVPHDfMrUOaiNG5+SHlCHMf/U2U8whqUBqK
         7FadyBNUtQUXYVDWrVzbHEMUuYgHUJTl9HpkadnP7yyxGNWwTAqZxuQFJE/w6ZKTaaS9
         OLtSq2+wLH9rVXUu5Tf3Q5dlsejn85hQVoNbnNsjUlDgeDsXgrNkXqgnOAkOLgwd3fnY
         dWgw==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605;
        h=references:to:cc:in-reply-to:date:subject:mime-version:message-id
         :from:dkim-signature;
        bh=/nt1RLfuuPMzsuPZcfINyHnKhY237z/q3g2HnTtZE3k=;
        fh=uUg3An8dIpkdC3HbbsFSSi57Do9LFtxgew+pMoPTSOY=;
        b=RjvHtW8SA5XcJurLbK36dHrMp80qpTOssHcTFTri1pchKFmrxTVWKRJEAHyA8ulPAN
         +Kyr32rW2NoM4LYccW62cZniwU0S3TuqqY27v7WEOzz5Dr0BkZ2tqAbljrfGxsi390iJ
         MaH5kzhhAHp0oJ76Rt0ym+yYGFzFMRyEUl/4gPKZfUfTzg/UD4oN7ri6cBt8fJCOxHUa
         coEkpuutA9E1qpP7vISsrrx1psxt2Fgcw2GH+CrI49yav8TzcNP6V7ia3dKqtmaPWGHA
         YyU3jzXvGvdZYlvd+qFNESOezXPXjnY2wWIDAm/5awL+N9Lv+VCMbxLdTCtwoqx8Mk7C
         ++UQ==;
        dara=google.com
ARC-Authentication-Results: i=1; gmr-mx.google.com;
       dkim=pass header.i=@gmail.com header.s=20230601 header.b=Y6tI0GDx;
       spf=pass (google.com: domain of rot13maxi@gmail.com designates 2607:f8b0:4864:20::42a as permitted sender) smtp.mailfrom=rot13maxi@gmail.com;
       dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com;
       dara=pass header.i=@googlegroups.com
Received: from mail-pf1-x42a.google.com (mail-pf1-x42a.google.com. [2607:f8b0:4864:20::42a])
        by gmr-mx.google.com with ESMTPS id 586e51a60fabf-2f79003dea4si637522fac.3.2025.07.09.12.59.50
        for <bitcoindev@googlegroups.com>
        (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128);
        Wed, 09 Jul 2025 12:59:50 -0700 (PDT)
Received-SPF: pass (google.com: domain of rot13maxi@gmail.com designates 2607:f8b0:4864:20::42a as permitted sender) client-ip=2607:f8b0:4864:20::42a;
Received: by mail-pf1-x42a.google.com with SMTP id d2e1a72fcca58-742c7a52e97so280447b3a.3
        for <bitcoindev@googlegroups.com>; Wed, 09 Jul 2025 12:59:50 -0700 (PDT)
X-Gm-Gg: ASbGncuhxaoDFxGZsGo42673b+6TFGvDYR5GYJQVxRuqLys+l7MVASqL/iRTDlnbp09
	o5rYEX2rHap/dimUQLOhCUNV0MuVjuO2qjaZlzh9mW5uUcniN5daZaGVBE1KdQNWX0ibxvaZkbz
	IVu0oAHapJbaYKqjgWN3o6zdtG+fXN3Y623tC77fl7ReTptX3i0INfVSm1Cj3WLjJQy/e5NzDBp
	FcIpNb6NeZLZLiykmHVDRrovabEw7sbjPEagoOe8Skl8TcPYoTyI6Pk+Iix87FrxRXLoMGe2WEF
	OeLsDjVksocJGLKzbr4J+7ZUdW3ojP7FGYaGhcp+5Mebz1avSap+Omm7YJRDN6DzpzPm2euXjzZ
	E04VwvtXmiLsvGW0TWXW3O2Tgc9xhGTpRTSKMI3YBNBgRKNB36Q==
X-Received: by 2002:a05:6a21:6010:b0:225:ed50:2278 with SMTP id adf61e73a8af0-22fb61e6cb0mr1627315637.32.1752091189221;
        Wed, 09 Jul 2025 12:59:49 -0700 (PDT)
Received: from smtpclient.apple (pool-108-44-242-56.clppva.fios.verizon.net. [108.44.242.56])
        by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-74ce42a4117sm14800659b3a.125.2025.07.09.12.59.48
        (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128);
        Wed, 09 Jul 2025 12:59:48 -0700 (PDT)
From: Rijndael <rot13maxi@gmail.com>
Message-Id: <682337FB-F451-459F-8B4C-56E61C49FA4F@gmail.com>
Content-Type: multipart/alternative;
	boundary="Apple-Mail=_1BFC754B-1015-47FD-874B-D97E3D3349AD"
Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3826.600.51.1.1\))
Subject: Re: [bitcoindev] A Taproot-native (re-)bindable transaction bundle proposal
Date: Wed, 9 Jul 2025 15:59:37 -0400
In-Reply-To: <26b96fb1-d916-474a-bd23-920becc3412cn@googlegroups.com>
Cc: Bitcoin Development Mailing List <bitcoindev@googlegroups.com>
To: Greg Sanders <gsanders87@gmail.com>
References: <26b96fb1-d916-474a-bd23-920becc3412cn@googlegroups.com>
X-Mailer: Apple Mail (2.3826.600.51.1.1)
X-Original-Sender: rot13maxi@gmail.com
X-Original-Authentication-Results: gmr-mx.google.com;       dkim=pass
 header.i=@gmail.com header.s=20230601 header.b=Y6tI0GDx;       spf=pass
 (google.com: domain of rot13maxi@gmail.com designates 2607:f8b0:4864:20::42a
 as permitted sender) smtp.mailfrom=rot13maxi@gmail.com;       dmarc=pass
 (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com;       dara=pass header.i=@googlegroups.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 (/)


--Apple-Mail=_1BFC754B-1015-47FD-874B-D97E3D3349AD
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; charset="UTF-8"

Hey Greg,

The CTV commitment includes the number of inputs. I notice that the TEMPLAT=
EHASH commitment does not. What=E2=80=99s the rationale there?

Thanks,=20

Rijndael

> On Jul 9, 2025, at 2:19=E2=80=AFPM, Greg Sanders <gsanders87@gmail.com> w=
rote:
>=20
> Hello all,
>=20
> This is a bit of a follow-up from "What's a good stopping point? ... CTV/=
CSFS..." from [^1]
>=20
> > There has been several objections to this proposal, which we can group =
into three categories:
> exploration of alternatives, demonstration of usage, and design of the op=
erations to achieve these capabilities
>=20
> For this e-mail I would like to address the third point proactively: desi=
gn of the operations to achieve these capabilities.
>=20
> Antoine Poinsot, Steven Roose, and I have been working on a familiar, yet=
 concrete technical proposal that focuses on three well-understood capabili=
ties:
>=20
> 1. "Next transaction" capability, ala BIP119
> 2. "Verify signature of message on stack", ala BIP348
> 3. "Push taproot internal key onto stack", ala BIP349
>=20
> These first two capabilities can offer radical simplifications
> to well-understood systems when combined. The third is a simple
> update that dovetails with the first two.
>=20
> The BIP text is here(https://github.com/instagibbs/bips/blob/bip_op_templ=
atehash/bip-templatehash-csfs-ik.md) and PR here(https://github.com/instagi=
bbs/bips/pull/1), with full motivation for this particular bundle and ratio=
nale discussing alternatives. Our main contribution is a fully specified `O=
P_TEMPLATEHASH` as a drop-in replacement for BIP119 `OP_CHECKTEMPLATEVERIFY=
`. `OP_TEMPLATEHASH` is a simpler and more modern implementation of the "ne=
xt transaction" capability. It differs in committing to the Taproot annex a=
nd being otherwise Taproot native, which allows us to:
>=20
> - Use the `OP_SUCCESS` upgrade hooks in place of legacy `OP_NOP`s and be =
able to push the template hash on the stack making the flagship use case of=
 rebindable signatures more efficient.
> - Re-use the existing pre-computed Taproot sighash fields only instead of=
 introducing new ones (substantially simplifying the implementation and rev=
iew of the specifications).
> - Not commit to the spending transaction's scriptSigs (which are both une=
cessary and may incentivize ad-hoc uses of legacy input scripts as programs=
).
> - Not unnecessarily modify the less well-understood legacy Script.
>=20
> Another notable difference is the lack of "bare CTV" analogue, which is i=
mplemented here(https://github.com/instagibbs/bitcoin/tree/p2th) but left o=
ut of the bundle due to lack of demonstrated utility.
>=20
> The BIP for `OP_TEMPLATEHASH` is here(https://github.com/instagibbs/bips/=
blob/bip_op_templatehash/bip-templatehash.md) and a complete implementation=
 is provided here(https://github.com/instagibbs/bitcoin/pull/3). The bundle=
 itself is heavily inspired by "LNHANCE"(https://delvingbitcoin.org/t/lnhan=
ce-bips-and-implementation/376).
>=20
> We are hopeful that an opcode/implementation-focused discussion can be he=
ld
> concurrently with other efforts such as discussions as to whether
> or not this capability set is a good stopping point, including whether
> this bundle is worth implementing on its own at all, as well as what
> level of assurances we should have as far as tooling and proof of concept=
s
> is concerned.
>=20
> Best,
> Greg
>=20
> (1) https://groups.google.com/g/bitcoindev/c/-qJc1EWQzY0
>=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=
 email to bitcoindev+unsubscribe@googlegroups.com <mailto:bitcoindev+unsubs=
cribe@googlegroups.com>.
> To view this discussion visit https://groups.google.com/d/msgid/bitcoinde=
v/26b96fb1-d916-474a-bd23-920becc3412cn%40googlegroups.com <https://groups.=
google.com/d/msgid/bitcoindev/26b96fb1-d916-474a-bd23-920becc3412cn%40googl=
egroups.com?utm_medium=3Demail&utm_source=3Dfooter>.

--=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/=
682337FB-F451-459F-8B4C-56E61C49FA4F%40gmail.com.

--Apple-Mail=_1BFC754B-1015-47FD-874B-D97E3D3349AD
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html; charset="UTF-8"

<html><head><meta http-equiv=3D"content-type" content=3D"text/html; charset=
=3Dutf-8"></head><body style=3D"overflow-wrap: break-word; -webkit-nbsp-mod=
e: space; line-break: after-white-space;">Hey Greg,<div><br></div><div>The =
CTV commitment includes the number of inputs. I notice that the TEMPLATEHAS=
H commitment does not. What=E2=80=99s the rationale there?</div><div><br></=
div><div>Thanks,&nbsp;</div><div><br></div><div>Rijndael<br id=3D"lineBreak=
AtBeginningOfMessage"><div><br><blockquote type=3D"cite"><div>On Jul 9, 202=
5, at 2:19=E2=80=AFPM, Greg Sanders &lt;gsanders87@gmail.com&gt; wrote:</di=
v><br class=3D"Apple-interchange-newline"><div>Hello all,<br><br>This is a =
bit of a follow-up from "What's a good stopping point? ... CTV/CSFS..." fro=
m [^1]<br><br>&gt; There has been several objections to this proposal, whic=
h we can group into three categories:<br>exploration of alternatives, demon=
stration of usage, and design of the operations to achieve these capabiliti=
es<br><br>For this e-mail I would like to address the third point proactive=
ly: design of the operations to achieve these capabilities.<br><br>Antoine =
Poinsot, Steven Roose, and I have been working on a familiar, yet concrete =
technical proposal that focuses on three well-understood capabilities:<br><=
br>1. "Next transaction" capability, ala BIP119<br>2. "Verify signature of =
message on stack", ala BIP348<br>3. "Push taproot internal key onto stack",=
 ala BIP349<br><br>These first two capabilities can offer radical simplific=
ations<br>to well-understood systems when combined. The third is a simple<b=
r>update that dovetails with the first two.<br><br>The BIP text is here(htt=
ps://github.com/instagibbs/bips/blob/bip_op_templatehash/bip-templatehash-c=
sfs-ik.md) and PR here(https://github.com/instagibbs/bips/pull/1), with ful=
l motivation for this particular bundle and rationale discussing alternativ=
es. Our main contribution is a fully specified `OP_TEMPLATEHASH` as a drop-=
in replacement for BIP119 `OP_CHECKTEMPLATEVERIFY`. `OP_TEMPLATEHASH` is a =
simpler and more modern implementation of the "next transaction" capability=
. It differs in committing to the Taproot annex and being otherwise Taproot=
 native, which allows us to:<div><br>- Use the `OP_SUCCESS` upgrade hooks i=
n place of legacy `OP_NOP`s and be able to push the template hash on the st=
ack making the flagship use case of rebindable signatures more efficient.<b=
r>- Re-use the existing pre-computed Taproot sighash fields only instead of=
 introducing new ones (substantially simplifying the implementation and rev=
iew of the specifications).<br>- Not commit to the spending transaction's s=
criptSigs (which are both unecessary and may incentivize ad-hoc uses of leg=
acy input scripts as programs).<br>- Not unnecessarily modify the less well=
-understood legacy Script.<br><br>Another notable difference is the lack of=
 "bare CTV" analogue, which is implemented here(https://github.com/instagib=
bs/bitcoin/tree/p2th) but left out of the bundle due to lack of demonstrate=
d utility.<br><br>The BIP for `OP_TEMPLATEHASH` is here(https://github.com/=
instagibbs/bips/blob/bip_op_templatehash/bip-templatehash.md) and a complet=
e implementation is provided here(https://github.com/instagibbs/bitcoin/pul=
l/3). The bundle itself is heavily inspired by "LNHANCE"(https://delvingbit=
coin.org/t/lnhance-bips-and-implementation/376).<br><br>We are hopeful that=
 an opcode/implementation-focused discussion can be held<br>concurrently wi=
th other efforts such as discussions as to whether<br>or not this capabilit=
y set is a good stopping point, including whether<br>this bundle is worth i=
mplementing on its own at all, as well as what<br>level of assurances we sh=
ould have as far as tooling and proof of concepts<br>is concerned.<br><br>B=
est,<br>Greg<br><br>(1) https://groups.google.com/g/bitcoindev/c/-qJc1EWQzY=
0</div><div><br class=3D"webkit-block-placeholder"></div>

-- <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 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/26b96fb1-d916-474a-bd23-920becc3412cn%40googlegroups.com?utm_med=
ium=3Demail&amp;utm_source=3Dfooter">https://groups.google.com/d/msgid/bitc=
oindev/26b96fb1-d916-474a-bd23-920becc3412cn%40googlegroups.com</a>.<br>
</div></blockquote></div><br></div></body></html>

<p></p>

-- <br />
You received this message because you are subscribed to the Google Groups &=
quot;Bitcoin Development Mailing List&quot; 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/682337FB-F451-459F-8B4C-56E61C49FA4F%40gmail.com?utm_medium=3Dem=
ail&utm_source=3Dfooter">https://groups.google.com/d/msgid/bitcoindev/68233=
7FB-F451-459F-8B4C-56E61C49FA4F%40gmail.com</a>.<br />

--Apple-Mail=_1BFC754B-1015-47FD-874B-D97E3D3349AD--