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
|
Delivery-date: Tue, 18 Feb 2025 19:42:38 -0800
Received: from mail-ot1-f64.google.com ([209.85.210.64])
by mail.fairlystable.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256
(Exim 4.94.2)
(envelope-from <bitcoindev+bncBDZ3NVEJ5UFBBJNG2W6QMGQEOUR7JHA@googlegroups.com>)
id 1tkayr-0001DA-Iu
for bitcoindev@gnusha.org; Tue, 18 Feb 2025 19:42:38 -0800
Received: by mail-ot1-f64.google.com with SMTP id 46e09a7af769-7272b9f0f38sf766246a34.0
for <bitcoindev@gnusha.org>; Tue, 18 Feb 2025 19:42:37 -0800 (PST)
ARC-Seal: i=2; a=rsa-sha256; t=1739936552; cv=pass;
d=google.com; s=arc-20240605;
b=QtPiz+Xf+GdEJ0rVUpQw/lPoMWGQ9ypSJMXlc6fCHyD4D00vXFBenDlmwgCMQlLqgK
CMTV4cqe+gy7rnVy38spt1xpJbQdjOcg4nKIejEtR/Gu7lyRXUIYSfCnaBFMBeHqPuML
YjIEzsxHoD6M7b+WB5q5exut5udzLOAbbL1GWxUak4tqHnEcIiwAr77vQhQHQ3f4m0q7
Yk7B79yi+QSJBAeme9kDWLDaXVs1/JADvASVDB0+WpUUW4N7ZWIL6T5Ow6TVIyn/nzyT
L0xTGenK23bHELkhaDrqw4P2tgl3GeZ6OBp5jyo9QrcZY9aLywy0svWaYWXjrZ9GWH3M
y5kg==
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:message-id:references:in-reply-to
:subject:cc:to:from:date:mime-version:sender:dkim-signature;
bh=1EVLb4bzhUHBh5VkAy+YF4B+AvCz2Ci5wv26yVGFp/A=;
fh=jZNzaZ0ecD2PhoqFr4u8ZkAztL0mXLstaLG09/Zw81Y=;
b=MWSCQuRl2nVkpojWrordDIVhQp6XJOU6oOaTv38+gx1RwWSIpbf7vULdk1dSQgYiTC
R15bwDa8uvhy3qaYPBjju3u0T6irMI8D4iPwKlL9gjUB0WOj2UQITwXMc0JkAvRf0FDz
8IscWjeOw4Y/nBcG4b9z5v0ZB+w0fRgC+2qLdlmQsQfTicIF1mq0k1ie0ZcduK4WQ55H
YWn3QwhjGY/Zx6n5VcYBYj2E8mXDPrh314ZpDQ7l5Rp9Io5inuMAV2EHedrgbUT1rhQI
4VHOgj9a2eaqgZAqnCiLBN3Hf+AF6ZU8U5ltxvWp5AdDSIqsOCWpzxbHN1/IhpMemovv
5CdA==;
darn=gnusha.org
ARC-Authentication-Results: i=2; gmr-mx.google.com;
spf=pass (google.com: domain of dave@dtrt.org designates 2607:fe70:0:3::d as permitted sender) smtp.mailfrom=dave@dtrt.org
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=googlegroups.com; s=20230601; t=1739936552; x=1740541352; 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:message-id:references:in-reply-to:subject:cc:to
:from:date:mime-version:sender:from:to:cc:subject:date:message-id
:reply-to;
bh=1EVLb4bzhUHBh5VkAy+YF4B+AvCz2Ci5wv26yVGFp/A=;
b=JCSaba7Wy+y8ZVfmux1SCzqXznP9cBs1df3OvRc42Pfo/hlYoLTjTdSPStgRLIMN3/
NZ99pip7T4lBHt54NIOzWp3AVxyEfTutGpdOMj3BxwcszCqwdwOY/lM4OpPBzOPncgmh
rSKFy/hB258WzFccdXmj8vbmGQoCrskmK8qSNXKtMBmaQLtdGomgt/GpDQini9QVh80J
qOPxrzcs0l5SCJpLXos0n48D83jmOBTF/v9niZVtqOLYpwWpXrKrgiu9vycKLl3OjVBg
6vjVxf9sp87qyAMY/1HfPGTDfHJB9YQmEw9QKiOcjQ1KFs1UfVi2QoI0vfO1fnqHf4zT
lCdg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20230601; t=1739936552; x=1740541352;
h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post
:list-id:mailing-list:precedence:x-original-authentication-results
:x-original-sender:message-id:references:in-reply-to:subject:cc:to
:from:date:mime-version:x-beenthere:x-gm-message-state:sender:from
:to:cc:subject:date:message-id:reply-to;
bh=1EVLb4bzhUHBh5VkAy+YF4B+AvCz2Ci5wv26yVGFp/A=;
b=I86kpJc2LOxTFw7r1cb268dDLKwfh8qQuuGcLb9ZpDjL1aii07KM7yBtOJ+tPWLy03
P3jeqh2yYCjIWsrBrHOV3dEywFw52BMn3xHyp1xuIGqzD8vVuzL0g3lIrXgGUA2qtsu5
xH2eDgI2fJf0Ns1LLUHCTPXx7ySeSVHPhABKDswwln+D1e2dTvXbvE+ool6v/lwgqRuc
kXZwpgzOxjWpeSrLjVFsAhtzactuZEKSt5i4jOUQZt7uj7c1g9qPAlzlM1MlonVHIXD2
kWdQbQbSdBfKGtUIcCQCe2CCn8dX9Hpi1rVnsL8urVlrG6VubDVG1+FkGmpVFld6YRNO
iHYA==
Sender: bitcoindev@googlegroups.com
X-Forwarded-Encrypted: i=2; AJvYcCUsNkT+VL7v0k4KxTGhJ2Zvdtzr6ullhjVeik40RxB5Cvi4Bn45eh3ezOMMPX7UhS+vuM0bqUfMKyls@gnusha.org
X-Gm-Message-State: AOJu0YwIxZTuk7lh8qD0r1B3ohif9DLtvF3c+gV2swrflTs4KK8Hd1IG
0M6IIyJ4tKaQabApo4c6L0B5w15iDeWwB5HOq0TYVSHny+6dVNfN
X-Google-Smtp-Source: AGHT+IEUQEb3vS+oE3tKWgAH9bWS3J0Vgn6YqE3zIlSasddF0UpUqEJAugNOD2C0UNJe6CU59T94sg==
X-Received: by 2002:a05:6830:378b:b0:727:1041:41fa with SMTP id 46e09a7af769-727120b3cf7mr12052500a34.22.1739936551843;
Tue, 18 Feb 2025 19:42:31 -0800 (PST)
X-BeenThere: bitcoindev@googlegroups.com; h=Adn5yVGl8JAfMugfAbYkUNHk/k1cY/+JAY87Y7lE7ccILb11pg==
Received: by 2002:a4a:d014:0:b0:5fc:f0fd:3ceb with SMTP id 006d021491bc7-5fcf0fd3ffdls592490eaf.2.-pod-prod-02-us;
Tue, 18 Feb 2025 19:42:29 -0800 (PST)
X-Received: by 2002:a05:6808:3a10:b0:3f4:117c:4d57 with SMTP id 5614622812f47-3f4117c4dfemr617811b6e.33.1739936549028;
Tue, 18 Feb 2025 19:42:29 -0800 (PST)
Received: by 2002:a05:6808:178a:b0:3f4:e69:148c with SMTP id 5614622812f47-3f40e6916eemsb6e;
Tue, 18 Feb 2025 18:29:26 -0800 (PST)
X-Received: by 2002:a05:6a21:898c:b0:1ee:aa06:1a48 with SMTP id adf61e73a8af0-1eeaa06b243mr17075784637.22.1739932165688;
Tue, 18 Feb 2025 18:29:25 -0800 (PST)
ARC-Seal: i=1; a=rsa-sha256; t=1739932165; cv=none;
d=google.com; s=arc-20240605;
b=RuNOSjpt7aVl4ARWDVv6IcLCmLTBH4u3nLr9DLqCrlxiyLtb2Kfuuw64XQw8pEo1A/
jk8j6yM6gZB22cVvZ7c7jMwNiVlH2S/d7V489wKPZxfZyWNcXh9cBFd5XGo/S2CQFU9p
XDrMfO+vfni0fmEi95NWowKR2HRfqEnKQjvjifuZKwdhTXz/RMuNZnTYtF3Wvp+k/+Nk
kCVYODvPJTcA//V8q29sYv2EbYUsBGdr53Kei5/hkHOLHu1Co/btfBpKm5zbgo/xADfF
tvHpkXM3bnqY/5T/eXdP5WiQOAneusAP3lGUtUQDheoF5THZtfr/3lh3Uz0mhvdeaV5U
Df4Q==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605;
h=content-transfer-encoding:message-id:references:in-reply-to:subject
:cc:to:from:date:mime-version;
bh=SpeyYo/2MH9YAjDCLVF9TBe97mM4r4dpOtcLRv28Sog=;
fh=jvBL4VWC+eU9mZ6TcrQ3Z+k8+9TvBWH+cxO1XulRaDU=;
b=CgTjnW1ZIlNH5ogEaGZwNV+5w7X6ntw5Ip292WodhjR+n5qqSkVGs2Y4tM0q0D/Wck
UKp0bVDdep62C7TbhTSLo962hv1uAat1W3goMk7eg9XrKSSjAHOSNwxgc7t5nyZd+qTf
FnNPMduVetPfPZeNuFIS8RK3+NJzVwQRsS4wY/O89reQ6t3sLDDcpM9YQX7CCnTEttpJ
8LG05V/LuqMTsjAUCER/eRG3JGMDpPxrkP2kDJSmo7Y9Ahl6t2iPgZNpdwde/CWm6kD9
2PA8EG/ORUiDF/ZZhupOsngLbLCXs2H5BhcEpzZf7kH6YkyjgZWy80urgSpmph7/TBy8
CG6Q==;
dara=google.com
ARC-Authentication-Results: i=1; gmr-mx.google.com;
spf=pass (google.com: domain of dave@dtrt.org designates 2607:fe70:0:3::d as permitted sender) smtp.mailfrom=dave@dtrt.org
Received: from smtpauth.rollernet.us (smtpauth.rollernet.us. [2607:fe70:0:3::d])
by gmr-mx.google.com with ESMTPS id 41be03b00d2f7-adb57c5e0aesi541110a12.2.2025.02.18.18.29.25
for <bitcoindev@googlegroups.com>
(version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
Tue, 18 Feb 2025 18:29:25 -0800 (PST)
Received-SPF: pass (google.com: domain of dave@dtrt.org designates 2607:fe70:0:3::d as permitted sender) client-ip=2607:fe70:0:3::d;
Received: from smtpauth.rollernet.us (localhost [127.0.0.1])
by smtpauth.rollernet.us (Postfix) with ESMTP id 6EF632800040;
Tue, 18 Feb 2025 18:29:23 -0800 (PST)
Received: from webmail.rollernet.us (webmail.rollernet.us [IPv6:2607:fe70:0:14::a])
(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256)
(Client did not present a certificate)
by smtpauth.rollernet.us (Postfix) with ESMTPSA;
Tue, 18 Feb 2025 18:29:22 -0800 (PST)
MIME-Version: 1.0
Date: Tue, 18 Feb 2025 16:29:22 -1000
From: "David A. Harding" <dave@dtrt.org>
To: Jose Storopoli <jose@storopoli.io>
Cc: Bitcoin Development Mailing List <bitcoindev@googlegroups.com>
Subject: Re: [bitcoindev] Announcing Bitcoin BOSD: Standardized Withdrawal
Output Specification for L2s
In-Reply-To: <94ac8f66-1627-4526-bb34-095361a30fb4n@googlegroups.com>
References: <94ac8f66-1627-4526-bb34-095361a30fb4n@googlegroups.com>
Message-ID: <3d4f98e0886f03337b44f0e4152d1f33@dtrt.org>
X-Sender: dave@dtrt.org
Content-Type: text/plain; charset="UTF-8"; format=flowed
X-Rollernet-Abuse: mailto:abuse@rollernet.us https://www.rollernet.us/policy
X-Rollernet-Submit: Submit ID 794.67b54202.476f6.0
X-Original-Sender: dave@dtrt.org
X-Original-Authentication-Results: gmr-mx.google.com; spf=pass
(google.com: domain of dave@dtrt.org designates 2607:fe70:0:3::d as permitted
sender) smtp.mailfrom=dave@dtrt.org
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.8 (/)
On 2025-02-15 01:37, Jose Storopoli wrote:
> Dear Bitcoin Dev Community,
>
> I am excited to introduce Bitcoin BOSD (Bitcoin Output Script
> Descriptor), a new specification and open source Rust implementation
> to simplify relay-safe (standardness-guarantee) on-chain withdrawals
> for Bitcoin Layer 2 solutions.
>
> Key Features:
> - Standardness-by-construction for withdrawal outputs
> - Eliminates ad-hoc standardness rule implementations in L2s
> - Compact representation
It's unclear to me why you don't simply implement your selected
standardness rules on top of a BIP385 raw() output script descriptor
(with the normal BIP380 checksum)? That gives you an efficient
representation, compatibility with other software, a compact checksum,
and local policy.
For the later point, policy being local, there exists software[1] that I
believe has a moderate userbase (including possibly some miner support)
that implements less restrictive standard transaction rules than Bitcoin
Core, specifically allowing OP_RETURN outputs of more than 83 bytes
cumulative.[2] If a user of your software runs that node and believes
his transactions will relay to a compatible miner, what options does he
have of circumventing BOSD type 0's limit of 80 push bytes if one of his
users wants to send him such a data carrier output? He can propose a
type 5, but you'll probably reject that because >80 bytes will be
non-standard for other users. You can create an extension numeric
range, but then you'll have to centrally coordinate number assignment
for every random proposal. Instead, I think it makes more sense to not
use versioning at all and just perform local verification on raw()
descriptors; that way users of your software can modify one line of code
on their side to accept >80 bytes and everyone else can use the default
tests.
In addition to the above technical criticism, I find the BOSD name
extremely conflationary with the longstanding use of "output script
descriptors", or "descriptors" for short, to refer to the language that
originated in 2018 from Bitcoin Core developers for describing output
scripts.[3] I think it would be helpful to everyone for your proposal
to use a more distinct name.
Thanks,
-Dave
[1] https://github.com/petertodd/bitcoin/tree/libre-relay-v28.1
[2]
https://github.com/bitcoin/bitcoin/commit/d67f4634e5395fbdf4383d7adcdfc92c0cca7fc9
[3] https://bitcoinops.org/en/topics/output-script-descriptors/
--
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/3d4f98e0886f03337b44f0e4152d1f33%40dtrt.org.
|