summaryrefslogtreecommitdiff
path: root/36/405fa95a998be7d220f76ce5020cf0ecc1e244
blob: 10cae89e760061963d94db9d94fd8de9a1049cfb (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
Return-Path: <christopher.gilliard@gmail.com>
Received: from smtp2.osuosl.org (smtp2.osuosl.org [140.211.166.133])
 by lists.linuxfoundation.org (Postfix) with ESMTP id D3196C000A
 for <bitcoin-dev@lists.linuxfoundation.org>;
 Fri, 16 Apr 2021 20:12:22 +0000 (UTC)
Received: from localhost (localhost [127.0.0.1])
 by smtp2.osuosl.org (Postfix) with ESMTP id CF37240257
 for <bitcoin-dev@lists.linuxfoundation.org>;
 Fri, 16 Apr 2021 20:12:22 +0000 (UTC)
X-Virus-Scanned: amavisd-new at osuosl.org
X-Spam-Flag: NO
X-Spam-Score: -2.099
X-Spam-Level: 
X-Spam-Status: No, score=-2.099 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_PASS=-0.001]
 autolearn=ham autolearn_force=no
Authentication-Results: smtp2.osuosl.org (amavisd-new);
 dkim=pass (2048-bit key) header.d=gmail.com
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 F7UDKTC2cvRm
 for <bitcoin-dev@lists.linuxfoundation.org>;
 Fri, 16 Apr 2021 20:12:19 +0000 (UTC)
X-Greylist: whitelisted by SQLgrey-1.8.0
Received: from mail-ot1-x331.google.com (mail-ot1-x331.google.com
 [IPv6:2607:f8b0:4864:20::331])
 by smtp2.osuosl.org (Postfix) with ESMTPS id 0AE8A40121
 for <bitcoin-dev@lists.linuxfoundation.org>;
 Fri, 16 Apr 2021 20:12:18 +0000 (UTC)
Received: by mail-ot1-x331.google.com with SMTP id
 o13-20020a9d404d0000b029028e0a0ae6b4so7787742oti.10
 for <bitcoin-dev@lists.linuxfoundation.org>;
 Fri, 16 Apr 2021 13:12:18 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
 h=mime-version:references:in-reply-to:from:date:message-id:subject:to
 :cc; bh=jF37ZEIC57gENaZLYaFRPE8WBwmiEVwz2fy0v0xvkfc=;
 b=lsT5wCeh8RWdtOCrl4EdbWT4UsCcJpJbadsUm6hFAXE/N4IlnpoDRnlBpG6C7PscBp
 H25BjSDA+y2Ln97dws4SZaT+ca1kq9p6EW0SyQfI5ZHgffXu6oXplEmm/Kml7G8YWmbe
 HQAVuD2S4WoigCIr+uS4G2PE8DTDWAcFiIC4ShGppp3yx8e6WYP9Xob9zWirIez6GgJH
 a4H0+Xi8XLpixIhwSamWjfHrQa68gogxuVJB36BDy91gSdnjyMkn83AnCxCp+QEFFGQ+
 AQCtyECVaQPEKJNdYkNdq8xLPFCJcGSfrD/TwW++g9tYaVzePfBzolaQKmY4UiPqB1dD
 GVLQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:mime-version:references:in-reply-to:from:date
 :message-id:subject:to:cc;
 bh=jF37ZEIC57gENaZLYaFRPE8WBwmiEVwz2fy0v0xvkfc=;
 b=iiB6bSvnUjomxkk5QPngqCCckyZJn97/aPBGtI2k+meXmnx9lW5PDwHEnFathKi2mA
 GLYY0DRxAA9nZBfIBEwR1HjBAS9VuzJaLbMfCLzux8x1MlN+6llPnCorWI+iiVJ4acVT
 exvR0Dm+XNXWm682vH+BdmxFONjDFsiMO9Xa3mTPYvtGu2gmIlFdG6kurxfOnV24wlnL
 Bjo6nr0jsGoABfqVRcq74bjgMDqPYlzCGQWtQyczuI28f4eGPJ2jybtxn5t+XSawM2ok
 YgtLKfQJ+SzjM3/bTyjvCXq1BRoGoqWS9nZe7/l0F5pbGAMEd1Y9abLS9qGPzqO/eOtO
 Vykw==
X-Gm-Message-State: AOAM530+x/cyN9nUDVK5X5aomc3lCwWJqPP4ndNwUe2XLI4k7kGgbAxz
 Xh3rdvmCjC4QL1DM5Ye+rTd6qDL7vK/5HQTLE7s=
X-Google-Smtp-Source: ABdhPJx8rLCVu9flEKJoREctHYkcIKcWz1W0a3YAgYsDoGCpQYbj4dJ+58KtRy/Z7Sj8L2W2SXv8BcSeK8LyaRHcf+c=
X-Received: by 2002:a9d:362:: with SMTP id 89mr1674349otv.113.1618603938076;
 Fri, 16 Apr 2021 13:12:18 -0700 (PDT)
MIME-Version: 1.0
References: <CAK=nyAxOa8fsVfxucH7WTTMn25BCzgQ28h_sNsunedpCoRXjjQ@mail.gmail.com>
 <CABE6yHscUPAcyK58DvqhOnxSOoPMBAy9aMUmReJYSkBit-Mekg@mail.gmail.com>
In-Reply-To: <CABE6yHscUPAcyK58DvqhOnxSOoPMBAy9aMUmReJYSkBit-Mekg@mail.gmail.com>
From: Christopher Gilliard <christopher.gilliard@gmail.com>
Date: Fri, 16 Apr 2021 20:12:07 +0000
Message-ID: <CAK=nyAxfAY7Ob64XR+5E6uSv+0BcUsuVZUzNbNZBcUnRf1XY9Q@mail.gmail.com>
To: Kostas Karasavvas <kkarasavvas@gmail.com>
Content-Type: multipart/alternative; boundary="000000000000c2dd7405c01c987e"
X-Mailman-Approved-At: Fri, 16 Apr 2021 20:31:09 +0000
Cc: Bitcoin Protocol Discussion <bitcoin-dev@lists.linuxfoundation.org>
Subject: Re: [bitcoin-dev] BIP - limiting OP_RETURN / HF
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: Fri, 16 Apr 2021 20:12:22 -0000

--000000000000c2dd7405c01c987e
Content-Type: text/plain; charset="UTF-8"

Thanks for the feedback. Will update the 40 bytes to 80 bytes (40 bytes was
the previous value, but it has since been updated to 80 so that's correct).
Regarding the L2 proposal. I think the BIPs I am working on will address
your questions and I'm hoping to have two more out early next week so
please stay tuned. I'm open to merging those BIPs into this BIP or
vice-versa, but for the sake of making things more readable I broke them
down into several BIPs for the time being.

On Fri, Apr 16, 2021 at 7:15 PM Kostas Karasavvas <kkarasavvas@gmail.com>
wrote:

> Hi Christopher,
>
> Some feedback:
>
> "OP_RETURN is limited to 40 bytes of data."
> It is 80 bytes.
>
> "A future BIP proposing such a layer two protocol will be forthcoming."
> So what is this BIP about? Just saying that it would be a nice idea? This
> BIP should be the one that would go through this L2 suggestion. If one root
> OP_RETURN substitutes all the rest it should say how that would be done...
> where would the merkle proofs be stored, what are the trust
> assumptions that we need to make, etc.
>
> "Objections to this proposal" section
> I agree with others re hard-fork, which would be a good thing of course.
> My main objection with this proposal is that I don't see a proposal. It
> seems like wishful thinking... if only we could substitute all the
> OP_RETURNs with one :-)
>
> We have to make sure that a proposal like this (L2, etc.) would make sure
> that there are incentives that justify the added complexity for the users.
> Multisig is not the only way data could be stored the wrong way; P2PK,
> P2PKH, P2SH, P2WPKH, P2WSH can also be used. If the incentives are not good
> enough people would start using these UTXO-bloat-heavy alternatives.
>
> There are a multitude of L2's (kind-of) that do this 'aggregation' of data
> hashes using merkle trees. Factom is adding a single merkle root per
> bitcoin block for the millions upon millions of records (of thousand of
> users) that they keep in their network. Opentimestamps, tierion,
> blockstacks and others do a similar thing. I have investigated several of
> those in the past, for one of my projects, but I ended up using plain old
> OP_RETURN because the overhead of their (L2-like) solution and trust
> assumptions where not to my liking; at least for my use case. They were
> pretty solid/useful for other use cases.
>
> Unless the proposed L2 is flexible/generic enough it would really prohibit
> this L2 innovation that OP_RETURN allowed (see above).
>
>
>
> On Fri, Apr 16, 2021 at 4:32 PM Christopher Gilliard via bitcoin-dev <
> bitcoin-dev@lists.linuxfoundation.org> wrote:
>
>> I have created a BIP which can be found here:
>> https://github.com/cgilliard/bips/blob/notarization/bip-XXXX.mediawiki
>>
>> I'm sending this email to start the discussion regarding this proposal.
>> If there are any comments/suggestions, please let me know.
>>
>> Regards,
>> Chris
>> _______________________________________________
>> bitcoin-dev mailing list
>> bitcoin-dev@lists.linuxfoundation.org
>> https://lists.linuxfoundation.org/mailman/listinfo/bitcoin-dev
>>
>
>
> --
> Konstantinos A. Karasavvas
> Software Architect, Blockchain Engineer, Researcher, Educator
> https://twitter.com/kkarasavvas
>

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

<div dir=3D"ltr">Thanks for the feedback. Will update the 40 bytes to 80 by=
tes (40 bytes was the previous value, but it has since been updated to 80 s=
o that&#39;s correct). Regarding the L2 proposal. I think=C2=A0the=C2=A0BIP=
s I am working on will address your questions and I&#39;m hoping to have tw=
o more out early next week so please stay tuned. I&#39;m open to merging th=
ose BIPs into this BIP or vice-versa, but for the sake of making things mor=
e readable I broke them down into several BIPs for the time being.</div><br=
><div class=3D"gmail_quote"><div dir=3D"ltr" class=3D"gmail_attr">On Fri, A=
pr 16, 2021 at 7:15 PM Kostas Karasavvas &lt;<a href=3D"mailto:kkarasavvas@=
gmail.com">kkarasavvas@gmail.com</a>&gt; wrote:<br></div><blockquote class=
=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rg=
b(204,204,204);padding-left:1ex"><div dir=3D"ltr">Hi Christopher,<div><br><=
/div><div>Some feedback:</div><div><br></div><div>&quot;OP_RETURN is limite=
d to 40 bytes of data.&quot;</div><div>It is 80 bytes.</div><div><br></div>=
<div>&quot;A future BIP proposing such a layer two protocol will be forthco=
ming.&quot;</div><div>So what is this BIP about? Just saying that it would =
be a nice idea? This BIP should be the one that would go through this L2 su=
ggestion. If one root OP_RETURN substitutes all the rest it should say how =
that would be done... where would the merkle proofs be stored, what are the=
 trust assumptions=C2=A0that we need to make, etc.</div><div><br></div><div=
>&quot;Objections to this proposal&quot; section</div><div>I agree with oth=
ers re hard-fork, which would be a good thing of course.=C2=A0 My main obje=
ction with this proposal is that I don&#39;t see a proposal. It seems like =
wishful thinking... if only we could substitute all the OP_RETURNs with one=
 :-)</div><div><br></div><div>We have to make sure that a proposal like thi=
s (L2, etc.) would make sure that there are incentives that justify the add=
ed complexity for the users. Multisig is not the only way data could be sto=
red the wrong way; P2PK, P2PKH, P2SH, P2WPKH, P2WSH can also be used. If th=
e incentives are not good enough people would start using these UTXO-bloat-=
heavy alternatives.</div><div><br></div><div>There are a multitude of L2&#3=
9;s (kind-of) that do this &#39;aggregation&#39; of data hashes using merkl=
e trees. Factom is adding a single=C2=A0merkle root per bitcoin block for t=
he millions upon millions of records (of thousand of users) that they keep =
in their network. Opentimestamps, tierion, blockstacks and others do a simi=
lar thing. I have investigated several of those in the past, for one of my =
projects, but I ended up using plain old OP_RETURN because the overhead of =
their (L2-like) solution and trust assumptions where not to my liking; at l=
east for my use case. They were pretty solid/useful for other use cases.</d=
iv><div><br></div><div>Unless the proposed L2 is flexible/generic enough it=
 would really prohibit this L2 innovation that OP_RETURN allowed (see above=
).=C2=A0</div><div><br></div><div><br></div></div><br><div class=3D"gmail_q=
uote"><div dir=3D"ltr" class=3D"gmail_attr">On Fri, Apr 16, 2021 at 4:32 PM=
 Christopher Gilliard via bitcoin-dev &lt;<a href=3D"mailto:bitcoin-dev@lis=
ts.linuxfoundation.org" target=3D"_blank">bitcoin-dev@lists.linuxfoundation=
.org</a>&gt; wrote:<br></div><blockquote class=3D"gmail_quote" style=3D"mar=
gin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1=
ex"><div dir=3D"ltr">I have created a BIP which can be found here:=C2=A0<a =
href=3D"https://github.com/cgilliard/bips/blob/notarization/bip-XXXX.mediaw=
iki" target=3D"_blank">https://github.com/cgilliard/bips/blob/notarization/=
bip-XXXX.mediawiki</a><div><br></div><div>I&#39;m sending this email to sta=
rt the discussion regarding this proposal. If there are any comments/sugges=
tions, please let me know.</div><div><br></div><div>Regards,</div><div>Chri=
s</div></div>
_______________________________________________<br>
bitcoin-dev mailing list<br>
<a href=3D"mailto:bitcoin-dev@lists.linuxfoundation.org" target=3D"_blank">=
bitcoin-dev@lists.linuxfoundation.org</a><br>
<a href=3D"https://lists.linuxfoundation.org/mailman/listinfo/bitcoin-dev" =
rel=3D"noreferrer" target=3D"_blank">https://lists.linuxfoundation.org/mail=
man/listinfo/bitcoin-dev</a><br>
</blockquote></div><br clear=3D"all"><div><br></div>-- <br><div dir=3D"ltr"=
><div dir=3D"ltr"><div><div>Konstantinos A. Karasavvas</div><div>Software A=
rchitect, Blockchain Engineer, Researcher, Educator</div><div dir=3D"ltr"><=
a href=3D"https://twitter.com/kkarasavvas" target=3D"_blank">https://twitte=
r.com/kkarasavvas</a><br></div></div></div></div>
</blockquote></div>

--000000000000c2dd7405c01c987e--