summaryrefslogtreecommitdiff
path: root/88/c6d4496aa68fb3bcfa42002de1f34057b50dc5
blob: f34c71d00cbba76ca6828fa6fe483d359befd59f (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
Return-Path: <kkarasavvas@gmail.com>
Received: from smtp1.osuosl.org (smtp1.osuosl.org [140.211.166.138])
 by lists.linuxfoundation.org (Postfix) with ESMTP id 93F36C000A
 for <bitcoin-dev@lists.linuxfoundation.org>;
 Fri, 16 Apr 2021 19:15:42 +0000 (UTC)
Received: from localhost (localhost [127.0.0.1])
 by smtp1.osuosl.org (Postfix) with ESMTP id 75A2B84A24
 for <bitcoin-dev@lists.linuxfoundation.org>;
 Fri, 16 Apr 2021 19:15:42 +0000 (UTC)
X-Virus-Scanned: amavisd-new at osuosl.org
X-Spam-Flag: NO
X-Spam-Score: -0.199
X-Spam-Level: 
X-Spam-Status: No, score=-0.199 tagged_above=-999 required=5
 tests=[BAYES_40=-0.001, 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 X3ZjhWMZrTEC
 for <bitcoin-dev@lists.linuxfoundation.org>;
 Fri, 16 Apr 2021 19:15:39 +0000 (UTC)
X-Greylist: whitelisted by SQLgrey-1.8.0
Received: from mail-pl1-x62f.google.com (mail-pl1-x62f.google.com
 [IPv6:2607:f8b0:4864:20::62f])
 by smtp1.osuosl.org (Postfix) with ESMTPS id EAEE683F66
 for <bitcoin-dev@lists.linuxfoundation.org>;
 Fri, 16 Apr 2021 19:15:39 +0000 (UTC)
Received: by mail-pl1-x62f.google.com with SMTP id e2so10190501plh.8
 for <bitcoin-dev@lists.linuxfoundation.org>;
 Fri, 16 Apr 2021 12:15:39 -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;
 bh=K8fQ0Wr6uy0wxpTWierjfFxSlRNG96853ZNaPjjuyGs=;
 b=LhAY+hkCEzPCsnC4hm45JfrR9+KXA93UJDVgwMslwdgahwLnqmLoIWY4pZoPQqq1wh
 nrXH9IJVIuo5nxEOE7aIotgWsVJRiJHrOrqFSkFAXOWnJVwb82C+Z0K7KjlIus9YJmmr
 uzn6bKNcRdxepED1jx14K/w9ABdIq7J8dRnS64LFBT9et2HCzoYvlQ1TPtBWp6TI063O
 FVHERqm6Bh9qWgFNiLPXQENEJL9sDGfTmvkw9JUyz7yFO8uckNW3zPuC0a/AJZDJsEcf
 ENAY0zUSplmApvGAE7L+hF04NLjFuaANpwsmx/1ov5kjMPuYqKQpALcWiqVXtpu4iyJm
 arrg==
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;
 bh=K8fQ0Wr6uy0wxpTWierjfFxSlRNG96853ZNaPjjuyGs=;
 b=kRjqjsHHVqg93t/poG4bmOC5ivcnBdb0sKUzslMVUlKYvJCJwAMrbMtrOfMx4gtGdI
 Zv62rDyFrv98TNpBgA9ZBBJwGvHWuIw2+CkgWiGpYq5rOUa70Ia0a5m1ua/ZZpMDvfbe
 8NantMJIdsnYNcMl+9CeNpgDUk9NewPO3y3t/W8ilNpThpvth51cnfBgoQA2O3OP6UXJ
 90jr6brH7ciVS3fsYdYqmvt5BCC+bUWfNFJcPevwIixpGs5pYmmiayFcRhYpGzKI66Eq
 EUDUIH0/gXbZAxIvkKjBrTB9tCgkHJDw6Jm7+U9/1EaeZKzc6mKefCiu+miszjdq8Cu+
 bUIQ==
X-Gm-Message-State: AOAM533hqXSkApl1XcW37NTt5wdd/M8iHpfw3zzKei+Wdfa7+EVt+ElU
 1ELl44S9T26m/IAIl2E/Xj2qPqWVPLUcouRbFYE=
X-Google-Smtp-Source: ABdhPJyHSrWeqzXfqRZ7xDTw1laraEE0nWsr0N25UyXne1zmnJdivZ2n0d4vtXnFMTWZUQ6+4sHsCOyFRyhkf2HG4jQ=
X-Received: by 2002:a17:90a:528b:: with SMTP id
 w11mr11374837pjh.162.1618600539416; 
 Fri, 16 Apr 2021 12:15:39 -0700 (PDT)
MIME-Version: 1.0
References: <CAK=nyAxOa8fsVfxucH7WTTMn25BCzgQ28h_sNsunedpCoRXjjQ@mail.gmail.com>
In-Reply-To: <CAK=nyAxOa8fsVfxucH7WTTMn25BCzgQ28h_sNsunedpCoRXjjQ@mail.gmail.com>
From: Kostas Karasavvas <kkarasavvas@gmail.com>
Date: Fri, 16 Apr 2021 22:15:28 +0300
Message-ID: <CABE6yHscUPAcyK58DvqhOnxSOoPMBAy9aMUmReJYSkBit-Mekg@mail.gmail.com>
To: Christopher Gilliard <christopher.gilliard@gmail.com>, 
 Bitcoin Protocol Discussion <bitcoin-dev@lists.linuxfoundation.org>
Content-Type: multipart/alternative; boundary="0000000000002f6cb005c01bce52"
X-Mailman-Approved-At: Fri, 16 Apr 2021 19:33:07 +0000
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 19:15:42 -0000

--0000000000002f6cb005c01bce52
Content-Type: text/plain; charset="UTF-8"

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

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

<div dir=3D"ltr">Hi Christopher,<div><br></div><div>Some feedback:</div><di=
v><br></div><div>&quot;OP_RETURN is limited 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 forthcoming.&quot;</div><div>So what is =
this BIP about? Just saying that it would be a nice idea? This BIP should b=
e the one that would go through this L2 suggestion. If one root OP_RETURN s=
ubstitutes 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 n=
eed to make, etc.</div><div><br></div><div>&quot;Objections to this proposa=
l&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 proposal is that =
I don&#39;t see a proposal. It seems like wishful thinking... if only we co=
uld 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. Mult=
isig is not the only way data could be stored the wrong way; P2PK, P2PKH, P=
2SH, P2WPKH, P2WSH can also be used. If the 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&#39;s (kind-of) that do this &#39;a=
ggregation&#39; of data hashes using merkle trees. Factom is adding a singl=
e=C2=A0merkle root per bitcoin block for the millions upon millions of reco=
rds (of thousand of users) that they keep in their network. Opentimestamps,=
 tierion, blockstacks and others do a similar thing. I have investigated se=
veral of those in the past, for one of my projects, but I ended up using pl=
ain old OP_RETURN because the overhead of their (L2-like) solution and trus=
t assumptions where not to my liking; at least for my use case. They were p=
retty solid/useful for other use cases.</div><div><br></div><div>Unless the=
 proposed L2 is flexible/generic enough it would really prohibit this L2 in=
novation 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"g=
mail_attr">On Fri, Apr 16, 2021 at 4:32 PM Christopher Gilliard via bitcoin=
-dev &lt;<a href=3D"mailto:bitcoin-dev@lists.linuxfoundation.org">bitcoin-d=
ev@lists.linuxfoundation.org</a>&gt; wrote:<br></div><blockquote class=3D"g=
mail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204=
,204,204);padding-left:1ex"><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/nota=
rization/bip-XXXX.mediawiki" target=3D"_blank">https://github.com/cgilliard=
/bips/blob/notarization/bip-XXXX.mediawiki</a><div><br></div><div>I&#39;m s=
ending 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"=
 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>

--0000000000002f6cb005c01bce52--