From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp2.osuosl.org (smtp2.osuosl.org [140.211.166.133]) by lists.linuxfoundation.org (Postfix) with ESMTP id D3196C000A for ; 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 ; 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 ; 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 ; Fri, 16 Apr 2021 20:12:18 +0000 (UTC) Received: by mail-ot1-x331.google.com with SMTP id o13-20020a9d404d0000b029028e0a0ae6b4so7787742oti.10 for ; 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: In-Reply-To: From: Christopher Gilliard Date: Fri, 16 Apr 2021 20:12:07 +0000 Message-ID: To: Kostas Karasavvas Content-Type: multipart/alternative; boundary="000000000000c2dd7405c01c987e" X-Mailman-Approved-At: Fri, 16 Apr 2021 20:31:09 +0000 Cc: Bitcoin Protocol Discussion 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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-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 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
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's correct). Regarding the L2 proposal. I think=C2=A0the=C2=A0BIP= s I am working on will address your questions and I'm hoping to have tw= o more out early next week so please stay tuned. I'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.
On Fri, A= pr 16, 2021 at 7:15 PM Kostas Karasavvas <kkarasavvas@gmail.com> wrote:
Hi Christopher,

<= /div>
Some feedback:

"OP_RETURN is limite= d to 40 bytes of data."
It is 80 bytes.

=
"A future BIP proposing such a layer two protocol will be forthco= ming."
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.

"Objections to this proposal" section
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'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 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.

There are a multitude of L2= 9;s (kind-of) that do this 'aggregation' 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.

Unless the proposed L2 is flexible/generic enough it= would really prohibit this L2 innovation that OP_RETURN allowed (see above= ).=C2=A0



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:=C2=A0https://github.com/cgilliard/bips/blob/notarization/= bip-XXXX.mediawiki

I'm sending this email to sta= rt the discussion regarding this proposal. If there are any comments/sugges= tions, please let me know.

Regards,
Chri= s
_______________________________________________
bitcoin-dev mailing list
= bitcoin-dev@lists.linuxfoundation.org
https://lists.linuxfoundation.org/mail= man/listinfo/bitcoin-dev


--
Konstantinos A. Karasavvas
Software A= rchitect, Blockchain Engineer, Researcher, Educator
<= a href=3D"https://twitter.com/kkarasavvas" target=3D"_blank">https://twitte= r.com/kkarasavvas
--000000000000c2dd7405c01c987e--