summaryrefslogtreecommitdiff
path: root/a6/b5edefd235a5350020d73546975c6584b621e2
blob: e3f3e439124366fd040ca711eb566674873217c0 (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
Return-Path: <kkarasavvas@gmail.com>
Received: from smtp1.osuosl.org (smtp1.osuosl.org [IPv6:2605:bc80:3010::138])
 by lists.linuxfoundation.org (Postfix) with ESMTP id 0F94CC0019
 for <bitcoin-dev@lists.linuxfoundation.org>;
 Sat, 17 Apr 2021 07:41:53 +0000 (UTC)
Received: from localhost (localhost [127.0.0.1])
 by smtp1.osuosl.org (Postfix) with ESMTP id D608E843BB
 for <bitcoin-dev@lists.linuxfoundation.org>;
 Sat, 17 Apr 2021 07:41:52 +0000 (UTC)
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
Authentication-Results: smtp1.osuosl.org (amavisd-new);
 dkim=pass (2048-bit key) header.d=gmail.com
Received: from smtp1.osuosl.org ([127.0.0.1])
 by localhost (smtp1.osuosl.org [127.0.0.1]) (amavisd-new, port 10024)
 with ESMTP id 9mvJ2xXJ9vj6
 for <bitcoin-dev@lists.linuxfoundation.org>;
 Sat, 17 Apr 2021 07:41:51 +0000 (UTC)
X-Greylist: whitelisted by SQLgrey-1.8.0
Received: from mail-pg1-x52c.google.com (mail-pg1-x52c.google.com
 [IPv6:2607:f8b0:4864:20::52c])
 by smtp1.osuosl.org (Postfix) with ESMTPS id BB519843B8
 for <bitcoin-dev@lists.linuxfoundation.org>;
 Sat, 17 Apr 2021 07:41:51 +0000 (UTC)
Received: by mail-pg1-x52c.google.com with SMTP id w10so20706802pgh.5
 for <bitcoin-dev@lists.linuxfoundation.org>;
 Sat, 17 Apr 2021 00:41:51 -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=kLw8eNkBhPDU6fNGmCSkrQDv8Wx/UUMoUDjfI3PEH60=;
 b=aDzVio01GprT7meMWx7m+L4rl7scwtny1+pkqBO1M+nEgEN21ulRdeFimjs9RL2X04
 ZLuXuQgDcrq0bZl+IKa7QtWZx/yMQ/QL6xlwWiTxQca8SgAiIvSLgX8vtaeTbft9woB0
 qt9JHkQBp43C0Rzvpd273ksOXuRqVTv3NzETe9p922RZexAUqS9oehowVl1YgO0xnR37
 C2oYQf9Uvi/u23lSKDzPYqNB2oRSFc7cRtL26gp6pAtIUfr12+Pu5fjn0R++rd3wkZUR
 kPLSsDG/8S8guplF5BCW9igqXIBrdcs9O9EzYASxS17wrQpv8MYomxexz2Hs9sNMrcLK
 gcvg==
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=kLw8eNkBhPDU6fNGmCSkrQDv8Wx/UUMoUDjfI3PEH60=;
 b=ma2mzT2sMXBQr7/kYoI90vgOgIE1UUAUltPGO6uDp2PSF5RVbOPRKRBot1OMH7KsFU
 8sYMP5+UsLezNp5WLe1XBrKmcogSxSSiLIw1T8CEV/Otv39oL8PE6EDaL36M2jc1fjc1
 bQ45w7m9SQkkp+jEFTF8YF6X6bVKxtxXNxLQsHPIJRbnstww1IJ04MKl5lPAgUbsJPqa
 2kephxYaQXPoo65I3e828rNlgH1cMhzsojdJ0UlNDNLT8bnE/A0zSMvGcQoeP2jhpmJs
 vt1k4cII6QolwSGHH5eIf49JDmXktcUXqM5DRfnT9REC9r9asUtxtOEH1/0p+khMX31U
 ZXXg==
X-Gm-Message-State: AOAM530Q6qW5jRJ9I4xNFG6SGsMI+IGj1YEIPDpEYgxfV8dwbWv8tKgE
 mK4gIDKj/P13yW5sd67/rV/I670u5aLx2MMM+fw=
X-Google-Smtp-Source: ABdhPJwO4/HMVr+eachD75NNzBCTRhzxjaL7thzYKS9U+77gZcGX0X4dI+GOZqqda26g5ZHDzCcjDA4dTiXKdI2U8Ec=
X-Received: by 2002:aa7:8615:0:b029:251:8a03:7645 with SMTP id
 p21-20020aa786150000b02902518a037645mr10946446pfn.56.1618645311205; Sat, 17
 Apr 2021 00:41:51 -0700 (PDT)
MIME-Version: 1.0
References: <CAK=nyAxOa8fsVfxucH7WTTMn25BCzgQ28h_sNsunedpCoRXjjQ@mail.gmail.com>
 <CABE6yHscUPAcyK58DvqhOnxSOoPMBAy9aMUmReJYSkBit-Mekg@mail.gmail.com>
 <CAK=nyAxfAY7Ob64XR+5E6uSv+0BcUsuVZUzNbNZBcUnRf1XY9Q@mail.gmail.com>
In-Reply-To: <CAK=nyAxfAY7Ob64XR+5E6uSv+0BcUsuVZUzNbNZBcUnRf1XY9Q@mail.gmail.com>
From: Kostas Karasavvas <kkarasavvas@gmail.com>
Date: Sat, 17 Apr 2021 10:41:39 +0300
Message-ID: <CABE6yHu5tz+B0LXU8PN1QBzsK7RZfLpkNUNkWsuwe7OyESSkSQ@mail.gmail.com>
To: Christopher Gilliard <christopher.gilliard@gmail.com>
Content-Type: multipart/alternative; boundary="000000000000cab3ff05c0263a38"
X-Mailman-Approved-At: Sat, 17 Apr 2021 08:29:00 +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: Sat, 17 Apr 2021 07:41:53 -0000

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

Indeed, it was 40 then 80 then 40 again and then 80 at the end (or
something like this.. not sure about the exact history!).

Looking forward to the proposal(s).

On Fri, Apr 16, 2021 at 11:12 PM Christopher Gilliard <
christopher.gilliard@gmail.com> wrote:

> 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
>>
>

-- 
Konstantinos A. Karasavvas
Software Architect, Blockchain Engineer, Researcher, Educator
https://twitter.com/kkarasavvas

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

<div dir=3D"ltr">Indeed, it was 40 then 80 then 40 again and then 80 at the=
 end (or something like this.. not sure about the exact history!).<div><br>=
</div><div>Looking forward to the proposal(s).</div></div><br><div class=3D=
"gmail_quote"><div dir=3D"ltr" class=3D"gmail_attr">On Fri, Apr 16, 2021 at=
 11:12 PM Christopher Gilliard &lt;<a href=3D"mailto:christopher.gilliard@g=
mail.com">christopher.gilliard@gmail.com</a>&gt; wrote:<br></div><blockquot=
e class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px s=
olid rgb(204,204,204);padding-left:1ex"><div dir=3D"ltr">Thanks for the fee=
dback. Will update the 40 bytes to 80 bytes (40 bytes was the previous valu=
e, but it has since been updated to 80 so that&#39;s correct). Regarding th=
e L2 proposal. I think=C2=A0the=C2=A0BIPs I am working on will address your=
 questions and I&#39;m hoping to have two more out early next week so pleas=
e stay tuned. I&#39;m open to merging those BIPs into this BIP or vice-vers=
a, but for the sake of making things more readable I broke them down into s=
everal BIPs for the time being.</div><br><div class=3D"gmail_quote"><div di=
r=3D"ltr" class=3D"gmail_attr">On Fri, Apr 16, 2021 at 7:15 PM Kostas Karas=
avvas &lt;<a href=3D"mailto:kkarasavvas@gmail.com" target=3D"_blank">kkaras=
avvas@gmail.com</a>&gt; wrote:<br></div><blockquote class=3D"gmail_quote" s=
tyle=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);pad=
ding-left:1ex"><div dir=3D"ltr">Hi Christopher,<div><br></div><div>Some fee=
dback:</div><div><br></div><div>&quot;OP_RETURN is limited to 40 bytes of d=
ata.&quot;</div><div>It is 80 bytes.</div><div><br></div><div>&quot;A futur=
e BIP proposing such a layer two protocol will be forthcoming.&quot;</div><=
div>So what is this BIP about? Just saying that it would be a nice idea? Th=
is BIP should be the one that would go through this L2 suggestion. If one r=
oot 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 others re hard-fork, =
which would be a good thing of course.=C2=A0 My main objection with this pr=
oposal 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 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 n=
ot good enough people would start using these UTXO-bloat-heavy alternatives=
.</div><div><br></div><div>There are a multitude of L2&#39;s (kind-of) that=
 do this &#39;aggregation&#39; of data hashes using merkle trees. Factom is=
 adding a single=C2=A0merkle root per bitcoin block for the millions upon m=
illions 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 en=
ded up using plain old OP_RETURN because the overhead of their (L2-like) so=
lution and trust assumptions where not to my liking; at least for my use ca=
se. They were pretty solid/useful for other use cases.</div><div><br></div>=
<div>Unless the proposed L2 is flexible/generic enough it would really proh=
ibit this L2 innovation that OP_RETURN allowed (see above).=C2=A0</div><div=
><br></div><div><br></div></div><br><div class=3D"gmail_quote"><div dir=3D"=
ltr" class=3D"gmail_attr">On Fri, Apr 16, 2021 at 4:32 PM Christopher Gilli=
ard via bitcoin-dev &lt;<a href=3D"mailto:bitcoin-dev@lists.linuxfoundation=
.org" target=3D"_blank">bitcoin-dev@lists.linuxfoundation.org</a>&gt; wrote=
:<br></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 dir=3D"lt=
r">I have created a BIP which can be found here:=C2=A0<a href=3D"https://gi=
thub.com/cgilliard/bips/blob/notarization/bip-XXXX.mediawiki" target=3D"_bl=
ank">https://github.com/cgilliard/bips/blob/notarization/bip-XXXX.mediawiki=
</a><div><br></div><div>I&#39;m sending this email to start the discussion =
regarding this proposal. If there are any comments/suggestions, please let =
me know.</div><div><br></div><div>Regards,</div><div>Chris</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>
</blockquote></div><br clear=3D"all"><div><br></div>-- <br><div dir=3D"ltr"=
 class=3D"gmail_signature"><div dir=3D"ltr"><div><div>Konstantinos A. Karas=
avvas</div><div>Software Architect, Blockchain Engineer, Researcher, Educat=
or</div><div dir=3D"ltr"><a href=3D"https://twitter.com/kkarasavvas" target=
=3D"_blank">https://twitter.com/kkarasavvas</a><br></div></div></div></div>

--000000000000cab3ff05c0263a38--