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
|
Delivery-date: Sat, 23 Aug 2025 10:36:51 -0700
Received: from mail-oi1-f186.google.com ([209.85.167.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+bncBD7O3WHWY4JRBKHYU7CQMGQEJHS2NAQ@googlegroups.com>)
id 1upsAc-0002nk-Tt
for bitcoindev@gnusha.org; Sat, 23 Aug 2025 10:36:51 -0700
Received: by mail-oi1-f186.google.com with SMTP id 5614622812f47-435de7c19f0sf1150450b6e.2
for <bitcoindev@gnusha.org>; Sat, 23 Aug 2025 10:36:50 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=googlegroups.com; s=20230601; t=1755970604; x=1756575404; 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:message-id:to:from:date:sender:from:to:cc:subject:date
:message-id:reply-to;
bh=JSlSWGkcj4npGD2pClKfcQHhFe5gvzRBr6ecTN15HNQ=;
b=VeMwQLlnPpK5Uy6h/k5Vtp6yYUgjgTIVRfv3LzTY+1qH4dAP3ApN7ZuV+MsrrnlwNM
sxYvHRJPKlFYKUCHFB1RFHKoBNMZGFOxlqOVtSAbG0pryFNVY76WP8235fLR8CYmRk2z
GXEEEQBWkURu/0wjuSue5tYA+Ztb/qsXKhTJHB5xj34jtMU8rk2t/3AFUttZaxp0JqrL
NPVN3HDSqxMx32tDzImURoZcIsYtIUQnhNa9P7V0vE6YjpRFVnk3VjrdvDELjo8vFnvH
CyXeP/H4QkL63t8UzWl9R/o0+RJNGIrbdVGyIuoBynUuilmV0bpaEn6mP0arwvxiTaaR
noRQ==
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=gmail.com; s=20230601; t=1755970604; x=1756575404; 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:message-id:to:from:date:from:to:cc:subject:date:message-id
:reply-to;
bh=JSlSWGkcj4npGD2pClKfcQHhFe5gvzRBr6ecTN15HNQ=;
b=iGJefXLxy/JOMGTVSYcZzFGPMBbM4Oh5EA1O6mePRHaGC3Lt6Ca/4jVRQlZrj7eQ2s
+JleHydT4DGUo9tXPEuA3SOcx2inHw+x2CSe6VJdxYud+j55tehhhO325GIzqly3jPnB
yUz9JOOQpVrbPz0Ua4CpindDArijoetQ3w6Ot2ly0CzJX5Z+HQl8w+DP0hc9G+sY9+ty
0kNoAD1VtJqqBRwmrZXiP1CNzvO5uS2+1bm04dkbs6vtot71Gje1WatdmVBKzVp9Wy6f
fZtO7gQQ2h+YJTXRahU+3Y/FjgXI+cc11tucqn914MCi50tv3lyYm8NdB4wc34t7ODsF
vMSA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20230601; t=1755970604; x=1756575404;
h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post
:list-id:mailing-list:precedence:x-original-sender:mime-version
:subject:message-id:to:from:date:x-beenthere:x-gm-message-state
:sender:from:to:cc:subject:date:message-id:reply-to;
bh=JSlSWGkcj4npGD2pClKfcQHhFe5gvzRBr6ecTN15HNQ=;
b=KI0//8WcfjbkSTnfdh1hWzQOF/3K5ZmZMR6kFCpOKBVyo0YDdwda4LfbjhShoYa3Er
e1QcPqGIA5rqWqLX21R7huKWCfkBFTHHpi7WKAQksGpqKry0bY7ZUfrC43sUieSEMc2y
+llRN1hAVrMeupGNcoEnMWgkmHvvlFHNebRGKrbfNDhZaNCwbVw/MugfJX2i4C8uzNlp
LdkPmgomL4wPVW8XR5mnGw+fviwZ0G5KHJYng3xgnnp3jyMvMlbIkpJhukzI4xbiyEQc
5XDmMkMK6GxHP2Pz0z3W5EdQrWBNYQT2EiFZ0B8j/VBwLlIIrqISx28MupVcbxXabQy1
YmHw==
Sender: bitcoindev@googlegroups.com
X-Forwarded-Encrypted: i=1; AJvYcCXewFfu+MhCULExMxrX4LdaBEYzyMcFR1+eQjRxrGmIALLdUe2bYyLZYZ696Y7naC9mPQy8g7rRsMYo@gnusha.org
X-Gm-Message-State: AOJu0YxD3ZYZbzMQ81CkQ+2vtwVZ4qOr3GR4iY3CMtkQiGso/dsL62eF
d8IkbVWFk01/7vGXokIphoXsgbS3qcjFfJ7bU65QQfiCneawP1mIE33C
X-Google-Smtp-Source: AGHT+IHW31SAgLhqGiFPEgEJhyavKrJlbPTPVqEkTB/sStHe1pjoeU8W0cA+JvF/fpIHC1I2ZHTanA==
X-Received: by 2002:a05:6870:bace:b0:2d6:2a40:fbe7 with SMTP id 586e51a60fabf-314dcac1e00mr3285363fac.6.1755970604281;
Sat, 23 Aug 2025 10:36:44 -0700 (PDT)
X-BeenThere: bitcoindev@googlegroups.com; h=AZMbMZciwEmqnE6gUYoiElJNOU64ZQdjiOvlovo5fbiIP1D6yQ==
Received: by 2002:a05:6871:d211:b0:30b:c665:1d65 with SMTP id
586e51a60fabf-314c231d70els1242738fac.2.-pod-prod-05-us; Sat, 23 Aug 2025
10:36:40 -0700 (PDT)
X-Received: by 2002:a05:6808:2448:b0:426:6b0e:e9b0 with SMTP id 5614622812f47-437851bcaabmr3728718b6e.15.1755970600415;
Sat, 23 Aug 2025 10:36:40 -0700 (PDT)
Received: by 2002:a05:690c:7442:b0:720:768:1935 with SMTP id 00721157ae682-720076824b4ms7b3;
Sat, 23 Aug 2025 10:35:59 -0700 (PDT)
X-Received: by 2002:a05:690c:6809:b0:71b:c8fb:aa95 with SMTP id 00721157ae682-71fdc315120mr86939997b3.22.1755970558439;
Sat, 23 Aug 2025 10:35:58 -0700 (PDT)
Date: Sat, 23 Aug 2025 10:35:58 -0700 (PDT)
From: jeremy <jeremy.l.rubin@gmail.com>
To: Bitcoin Development Mailing List <bitcoindev@googlegroups.com>
Message-Id: <bc9ff794-b11e-47bc-8840-55b2bae22cf0n@googlegroups.com>
Subject: [bitcoindev] [BIP Proposal] OP_TWEAKADD
MIME-Version: 1.0
Content-Type: multipart/mixed;
boundary="----=_Part_7972_676266705.1755970558182"
X-Original-Sender: Jeremy.L.Rubin@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_7972_676266705.1755970558182
Content-Type: multipart/alternative;
boundary="----=_Part_7973_960002163.1755970558182"
------=_Part_7973_960002163.1755970558182
Content-Type: text/plain; charset="UTF-8"
Hi all,
I've made a draft BIP writeup of an (often discussed) simple opcode,
OP_TWEAKADD, deployable as an OP_SUCCESSx upgrade.
https://github.com/bitcoin/bips/pull/1944
This opcode is relatively simple. The main design choices are:
1) Verify v.s. Push semantics -- Push, for succinctness on-chain
2) Argument order -- Key on top, for tweak in witness
3) Plain tweak or something else -- Plain tweak, if hashing is desirable
the user can do it. The most flexible is to do a plain tweak. Future work
could add TapTree opcodes to construct taproot tweaks.
Feedback and discussion are welcome.
Best,
Jeremy
[^1] OP_SHA256 in these example prevents key-cancellation.
--
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.
To view this discussion visit https://groups.google.com/d/msgid/bitcoindev/bc9ff794-b11e-47bc-8840-55b2bae22cf0n%40googlegroups.com.
------=_Part_7973_960002163.1755970558182
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
<div>Hi all,</div><div><br /></div><div>I've made a draft BIP writeup of an=
(often discussed) simple opcode, OP_TWEAKADD, deployable as an OP_SUCCESSx=
upgrade.</div><div><br /></div>https://github.com/bitcoin/bips/pull/1944<d=
iv><br /></div><div>This opcode is relatively simple. The main design choic=
es are:</div><div><br /></div><div>1) Verify v.s. Push semantics -- Push, f=
or succinctness on-chain</div><div>2) Argument order -- Key on top, for twe=
ak in witness</div><div>3) Plain tweak or something else -- Plain tweak, if=
hashing is desirable the user can do it. The most flexible is to do a plai=
n tweak. Future work could add TapTree opcodes to construct taproot tweaks.=
</div><div><div><br /></div><div>Feedback and discussion are welcome.<br />=
</div><div><br /></div><div>Best,</div><div><br /></div><div>Jeremy</div><d=
iv><br /></div><div><div>[^1] OP_SHA256 in these example prevents key-cance=
llation.</div></div></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/bc9ff794-b11e-47bc-8840-55b2bae22cf0n%40googlegroups.com?utm_med=
ium=3Demail&utm_source=3Dfooter">https://groups.google.com/d/msgid/bitcoind=
ev/bc9ff794-b11e-47bc-8840-55b2bae22cf0n%40googlegroups.com</a>.<br />
------=_Part_7973_960002163.1755970558182--
------=_Part_7972_676266705.1755970558182--
|