summaryrefslogtreecommitdiff
path: root/73/7bbfbb09edc67f70abb5c5106f7fc8cc8788c9
blob: 1c2c5d08001306089cfb2d9d6cf54ebb3c07c2af (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
Return-Path: <kkarasavvas@gmail.com>
Received: from smtp2.osuosl.org (smtp2.osuosl.org [140.211.166.133])
 by lists.linuxfoundation.org (Postfix) with ESMTP id 31511C0039
 for <bitcoin-dev@lists.linuxfoundation.org>;
 Wed, 22 Nov 2023 11:27:21 +0000 (UTC)
Received: from localhost (localhost [127.0.0.1])
 by smtp2.osuosl.org (Postfix) with ESMTP id ED26E4036E
 for <bitcoin-dev@lists.linuxfoundation.org>;
 Wed, 22 Nov 2023 11:27:20 +0000 (UTC)
DKIM-Filter: OpenDKIM Filter v2.11.0 smtp2.osuosl.org ED26E4036E
Authentication-Results: smtp2.osuosl.org;
 dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com
 header.a=rsa-sha256 header.s=20230601 header.b=CnRwch29
X-Virus-Scanned: amavisd-new at osuosl.org
X-Spam-Flag: NO
X-Spam-Score: -2.098
X-Spam-Level: 
X-Spam-Status: No, score=-2.098 tagged_above=-999 required=5
 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1,
 DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001,
 HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001,
 SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Received: from smtp2.osuosl.org ([127.0.0.1])
 by localhost (smtp2.osuosl.org [127.0.0.1]) (amavisd-new, port 10024)
 with ESMTP id Tkapob0qJ1Er
 for <bitcoin-dev@lists.linuxfoundation.org>;
 Wed, 22 Nov 2023 11:27:19 +0000 (UTC)
Received: from mail-yw1-x1136.google.com (mail-yw1-x1136.google.com
 [IPv6:2607:f8b0:4864:20::1136])
 by smtp2.osuosl.org (Postfix) with ESMTPS id 64C3A40138
 for <bitcoin-dev@lists.linuxfoundation.org>;
 Wed, 22 Nov 2023 11:27:19 +0000 (UTC)
DKIM-Filter: OpenDKIM Filter v2.11.0 smtp2.osuosl.org 64C3A40138
Received: by mail-yw1-x1136.google.com with SMTP id
 00721157ae682-5cc3dd21b0cso8163577b3.3
 for <bitcoin-dev@lists.linuxfoundation.org>;
 Wed, 22 Nov 2023 03:27:19 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20230601; t=1700652438; x=1701257238;
 darn=lists.linuxfoundation.org; 
 h=cc:to:subject:message-id:date:from:in-reply-to:references
 :mime-version:from:to:cc:subject:date:message-id:reply-to;
 bh=cF5kDXkJzQb9j6n9LV+PBcIzTIoInTMe3TjOIxYVnwE=;
 b=CnRwch29jgPpS1iQg62fFgq+CucjMZAyWZaqw4PQZ7RmTpY/vC/x6/hkX0I1VWglgb
 JBPYcxqG+tcGR6XVQJ0PcgES791FJ1rE9ADDc9coyxRLsZS2cWLRR3uhcNuQEz7ARFEq
 s7+UrWcCrOi12Uj0je/dyoRT/Hptzgajm2smxjiXtv2jsJAH9xuT9AdK0gXN3l2sE6lF
 bigYZ778ZLRw+A7g9MtQLpjcbJtsUnfPihP/IxMKhjHA9NgD9VLb3euTxvvMtE1dJSTO
 wPcKdrxtXKN9Mmmifx6jsuR+d/QhEZOTkf3HMF4bKiFtSCdhRzC5oEhabhYZlpnGd2JX
 AD7g==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1700652438; x=1701257238;
 h=cc:to:subject:message-id:date:from:in-reply-to:references
 :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id
 :reply-to;
 bh=cF5kDXkJzQb9j6n9LV+PBcIzTIoInTMe3TjOIxYVnwE=;
 b=pvV4oiVqA+yRCOYICmQh4UDpcjzg1oNo3wDhhSrrlLW4WWlI3+w7lKTwWIkbLPKzuk
 II+sNIWJ8PsP7YK1TvJyrjgOWz/OOA/hdh40iEunN1kO9jDSZ5BRe/4s60e2H96rX0W3
 V1y3XMRE+6rPiQO4qwq4SUMwUBHXMwFdVOL/lgKVRYgaJmDwPOzSQ9TjbKIv4VaV31z3
 eIlXXk5KOfBWBgFTchGLncryFIVY0JTOK0OA11E4RUG1mZ5jgxUWm1OWhhKzeug9fyXQ
 7PLgk7P8qPkfnpdHe08EhReLQkOBJ0qKP5LDcSl4SHJHBWRvpsBczCagbUAZZti4zEJn
 K5Vw==
X-Gm-Message-State: AOJu0YyyBLBIxonl0TGaiLgFZK1jm+udaNfFVRzo5q5vh1CSZwfRcz+R
 KvYqKHmnBCAvK6E2OVY3NSUwaEkf7BXgyXi+SHU=
X-Google-Smtp-Source: AGHT+IHkYO9uXvDqCTDCvcWjGNDGHO6b6EjYeYxkiD3xW565ZbrdipwC2vjOSZ4F1Ru9xez63s6pEC3bbmo309z3ZEU=
X-Received: by 2002:a05:690c:408a:b0:5cc:8f6f:39c0 with SMTP id
 gb10-20020a05690c408a00b005cc8f6f39c0mr841126ywb.28.1700652438157; Wed, 22
 Nov 2023 03:27:18 -0800 (PST)
MIME-Version: 1.0
References: <196658683-e78610e544d8c89fc4432671990127cb@pmq1v.m5r2.onet>
In-Reply-To: <196658683-e78610e544d8c89fc4432671990127cb@pmq1v.m5r2.onet>
From: Kostas Karasavvas <kkarasavvas@gmail.com>
Date: Wed, 22 Nov 2023 13:27:03 +0200
Message-ID: <CABE6yHsstgUBTC+5FU+LiHMTAkLJDCynNthCRosOBjpAAS1-MA@mail.gmail.com>
To: vjudeu@gazeta.pl
Content-Type: multipart/alternative; boundary="000000000000767e46060abc00ab"
X-Mailman-Approved-At: Wed, 22 Nov 2023 11:37:07 +0000
Cc: Bitcoin Protocol Discussion <bitcoin-dev@lists.linuxfoundation.org>
Subject: Re: [bitcoin-dev] Ordinals BIP PR
X-BeenThere: bitcoin-dev@lists.linuxfoundation.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Bitcoin Protocol Discussion <bitcoin-dev.lists.linuxfoundation.org>
List-Unsubscribe: <https://lists.linuxfoundation.org/mailman/options/bitcoin-dev>, 
 <mailto:bitcoin-dev-request@lists.linuxfoundation.org?subject=unsubscribe>
List-Archive: <http://lists.linuxfoundation.org/pipermail/bitcoin-dev/>
List-Post: <mailto:bitcoin-dev@lists.linuxfoundation.org>
List-Help: <mailto:bitcoin-dev-request@lists.linuxfoundation.org?subject=help>
List-Subscribe: <https://lists.linuxfoundation.org/mailman/listinfo/bitcoin-dev>, 
 <mailto:bitcoin-dev-request@lists.linuxfoundation.org?subject=subscribe>
X-List-Received-Date: Wed, 22 Nov 2023 11:27:21 -0000

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

On Wed, Nov 22, 2023 at 1:11=E2=80=AFAM <vjudeu@gazeta.pl> wrote:

> > Since it is spent it does not bloat the mempool.
>
> This is not the case. If you post some 100 kB TapScript, with some
> Ordinal, then it of course bloats mempools, because then other users coul=
d
> post 100 kB less, when it comes to regular payments. If you have Ordinals
> in the current form, then they take place of regular payments. Which mean=
s,
> you can include some payment, or some data. You cannot include both,
> because you can produce 4 MB block per 10 minutes. It is always a choice:
> confirm this payment, or confirm that data.
>
>

I meant the UTXO set, not the mempool. But still, even for the mempool,
since tx fees are paid I don't see it as bloat. It is competing with the
other txs and won. The bloat is of course in storage since the blocks are
'fuller' with ordinals... but that is the whole point of ordinals (see
below).


> > Regardless of OP_RETURN the data will be on chain. What am I missing?
>
> If you have regular OP_RETURN, the data is pushed on-chain. However, if
> your OP_RETURN is part of your TapScript, then you cannot provide any val=
id
> input to satisfy that kind of TapScript, so it cannot be pushed on-chain.
> Which means, you have to use another TapScript branch, without OP_RETURN,
> or simply spend by key. Note that regular OP_RETURNs are placed in
> transaction outputs, but in that case, TapScript is revealed in transacti=
on
> input (and to be more specific, in the witness part), which prevents from
> posting a commitment on-chain, if it contains OP_RETURN at the beginning =
of
> the TapScript.
>

I see, thanks.


> > If there was no need for people in this list to discuss it before I
> don't see why a BIP is needed now.
>
> It is needed, but for a different reason. There should be a BIP, but not
> to promote Ordinals, but to handle them properly, and to provide regular
> users a way, to compete with the currently posted Ordinals, in this
> fee-based competition. Which means, regular users should have a way, to
> turn their Ordinals into proper commitments. They should be hidden behind
> some R-value, instead of being posted as a TapScript, and fully revealed =
in
> the witness. That would make it smaller, cheaper, and will provide more
> room for more regular payments, while preserving the strong cryptographic=
al
> proof, that a given data is connected with a given transaction input.
>
> Also, it would allow them to be uncensorable, because then users could
> decide to hide any Ordinal behind their signature, in any address type (i=
t
> works even on P2PK), and then reveal it later, but not on-chain, to not
> take a room of other regular payments. In general, transactions should
> always contain payments, and Ordinals could be attached as a feature, and
> not the other way around, when the actual payment is just a feature to be
> discarded, and the posted data is what people care about. Bitcoin is a
> payment system first, and not a P2P cloud storage, so it should work as
> "always a payment, and optionally also an Ordinal", and not "just a data
> push, and unfortunately a payment, because the protocol forced us to
> include some satoshis".
>

The whole point of ordinals is supposed to have the data on-chain (the
ordinals team can correct me). You are not suggesting merely a technical
design change, you are suggesting a completely different design and
business logic, which I believe would never be accepted by the ordinals
team*, and thus no point for this BIP now. We'll just have to wait for
their reply and see.

* This is fair game for a new competing project. However, the 'on-chain'
part is the main ordinals selling point so a new project would not even be
competing.

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

<div dir=3D"ltr"><div dir=3D"ltr"><br></div><div class=3D"gmail_quote"><div=
 dir=3D"ltr" class=3D"gmail_attr">On Wed, Nov 22, 2023 at 1:11=E2=80=AFAM &=
lt;<a href=3D"mailto:vjudeu@gazeta.pl">vjudeu@gazeta.pl</a>&gt; wrote:<br><=
/div><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;bo=
rder-left:1px solid rgb(204,204,204);padding-left:1ex"><div>
<div>&gt; Since it is spent it does not bloat the mempool.</div>
<div>=C2=A0</div>
<div>This is not the case. If you post some 100 kB TapScript, with some Ord=
inal, then it of course bloats mempools, because then other users could pos=
t 100 kB less, when it comes to regular payments. If you have Ordinals in t=
he current form, then they take place of regular payments. Which means, you=
 can include some payment, or some data. You cannot include both, because y=
ou can produce 4 MB block per 10 minutes. It is always a choice: confirm th=
is payment, or confirm that data.</div>
<div>=C2=A0</div></div></blockquote><div><br></div><div>I meant the UTXO se=
t, not the mempool. But still, even for the mempool, since tx fees are paid=
 I don&#39;t see it as bloat. It is competing with the other txs and won. T=
he bloat is of course in storage since the blocks are &#39;fuller&#39; with=
 ordinals... but that is the whole point of ordinals (see below).<br></div>=
<div>=C2=A0</div><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px =
0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div>
<div>&gt; Regardless of OP_RETURN the data will be on chain. What am I miss=
ing?</div>
<div>=C2=A0</div>
<div>If you have regular OP_RETURN, the data is pushed on-chain. However, i=
f your OP_RETURN is part of your TapScript, then you cannot provide any val=
id input to satisfy that kind of TapScript, so it cannot be pushed on-chain=
. Which means, you have to use another TapScript branch, without OP_RETURN,=
 or simply spend by key. Note that regular OP_RETURNs are placed in transac=
tion outputs, but in that case, TapScript is revealed in transaction input =
(and to be more specific, in the witness part), which prevents from posting=
 a commitment on-chain, if it contains OP_RETURN at the beginning of the Ta=
pScript.</div>
</div></blockquote><div>=C2=A0</div><div>I see, thanks. </div><div>=C2=A0</=
div><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;bor=
der-left:1px solid rgb(204,204,204);padding-left:1ex"><div>
<div>&gt; If there was no need for people in this list to discuss it before=
 I don&#39;t see why a BIP is needed now.</div>
<div>=C2=A0</div>
<div>It is needed, but for a different reason. There should be a BIP, but n=
ot to promote Ordinals, but to handle them properly, and to provide regular=
 users a way, to compete with the currently posted Ordinals, in this fee-ba=
sed competition. Which means, regular users should have a way, to turn thei=
r Ordinals into proper commitments. They should be hidden behind some R-val=
ue, instead of being posted as a TapScript, and fully revealed in the witne=
ss. That would make it smaller, cheaper, and will provide more room for mor=
e regular payments, while preserving the strong cryptographical proof, that=
 a given data is connected with a given transaction input.</div>
<div>=C2=A0</div>
<div>Also, it would allow them to be uncensorable, because then users could=
 decide to hide any Ordinal behind their signature, in any address type (it=
 works even on P2PK), and then reveal it later, but not on-chain, to not ta=
ke a room of other regular payments. In general, transactions should always=
 contain payments, and Ordinals could be attached as a feature, and not the=
 other way around, when the actual payment is just a feature to be discarde=
d, and the posted data is what people care about. Bitcoin is a payment syst=
em first, and not a P2P cloud storage, so it should work as &quot;always a =
payment, and optionally also an Ordinal&quot;, and not &quot;just a data pu=
sh, and unfortunately a payment, because the protocol forced us to include =
some satoshis&quot;.</div>
</div>
</blockquote></div><div><br></div><div>The whole point of ordinals is suppo=
sed to have the data on-chain (the ordinals team can correct me). You are n=
ot suggesting merely a technical design change, you are suggesting a comple=
tely different design and business logic, which I believe would never be ac=
cepted by the ordinals team*, and thus no point for this BIP now. We&#39;ll=
 just have to wait for their reply and see.<br></div><div><br></div><div>* =
This is fair game for a new competing project. However, the &#39;on-chain&#=
39; part is the main ordinals selling point so a new project would not even=
 be competing.<br></div><div><br></div></div>

--000000000000767e46060abc00ab--