Return-Path: Received: from smtp2.osuosl.org (smtp2.osuosl.org [140.211.166.133]) by lists.linuxfoundation.org (Postfix) with ESMTP id 8E9F3C000B for ; Wed, 16 Mar 2022 18:21:40 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp2.osuosl.org (Postfix) with ESMTP id 6539F40AAB for ; Wed, 16 Mar 2022 18:21:40 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org X-Spam-Flag: NO X-Spam-Score: -2.8 X-Spam-Level: X-Spam-Status: No, score=-2.8 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, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no Authentication-Results: smtp2.osuosl.org (amavisd-new); dkim=pass (2048-bit key) header.d=petertodd.org header.b="a5wj1zPO"; dkim=pass (2048-bit key) header.d=messagingengine.com header.b="B26x5foL" 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 AWyLkas86Sf0 for ; Wed, 16 Mar 2022 18:21:39 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.8.0 Received: from out2-smtp.messagingengine.com (out2-smtp.messagingengine.com [66.111.4.26]) by smtp2.osuosl.org (Postfix) with ESMTPS id 408C5403AC for ; Wed, 16 Mar 2022 18:21:39 +0000 (UTC) Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id 1CCB85C0116; Wed, 16 Mar 2022 14:21:35 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute4.internal (MEProxy); Wed, 16 Mar 2022 14:21:35 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=petertodd.org; h=cc:content-type:date:date:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:sender:subject :subject:to:to; s=fm2; bh=QxVKHmWnydRYjr6Y/XjGqw/PC2/ZzokH5O1M7c zbbgc=; b=a5wj1zPOFh/RX5rDBboV/mhCRCjlxgl06+XctaPB0A6QFbWUkJymuQ a1MyzEYvCvYhDLpUVfSAYeN1aEgz1jxTbsZM3cqc2VrB9DbEfJ3tCWI7a30c5jYW GwZwtEsVfHSp9LkK4h5Z1hz9lJ9w5mTbo387e2V2jW6twez1thiYgzsPC4VrHCUL kVDA307gjAQpLUHwIQnVGzD1WNyRNwUs7HtRy+mdWJ3XUWS6SX4si5t+y4EKTfd8 IxupacaoiyR0T763GS7UG0EOCasEskXHXj2bJYdBShamE/9JQn7f64M9iDX17qFx TWgc2mKj68PptdABOBoytqBGf3BWz/wA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:date:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm3; bh=QxVKHmWnydRYjr6Y/ XjGqw/PC2/ZzokH5O1M7czbbgc=; b=B26x5foLEx6glDTrCP2syRiivQmYRtQ3V yGSCZInpqHcMNVImyGmpjJGnueLYv3a5j13rIq2mc3mghSjx7p9i8b4bXywcg5pZ MFxZfU72g1qSrtFrYIGp6wdkwYjL6RlG6H+LzsVztgAF4mpFszoPFV/7qFJwrvTr VAZH8ncJUe/NeOXSi+q0+iP+iwu3yhBAkkiZNNJsEAdA9NiNDXPgmcnToln2I/xI 7CasG3eHMX4pFc+Ny59QF4bBZTkBJOdMkC1J8X19Bq00aP7VmIDwNXKdsbH85JnW md7DjzkaQAt8+ugpQ9oJXvpP2eLYvOIlkU/VZ+aQwKME6m0jg/s6w== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvvddrudefvddguddtlecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecunecujfgurhepfffhvffukfhfgggtuggjsehgtd erredttddvnecuhfhrohhmpefrvghtvghrucfvohguugcuoehpvghtvgesphgvthgvrhht ohguugdrohhrgheqnecuggftrfgrthhtvghrnhepiedvvdelieekjeeukefgtdelfeeghe ehleffueehteeghfelveejfeelgeevffefnecuffhomhgrihhnpehpvghtvghrthhouggu rdhorhhgnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomh epuhhsvghrsehpvghtvghrthhouggurdhorhhg X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Wed, 16 Mar 2022 14:21:34 -0400 (EDT) Received: by localhost (Postfix, from userid 1000) id F01345F851; Wed, 16 Mar 2022 14:21:30 -0400 (EDT) Date: Wed, 16 Mar 2022 14:21:30 -0400 From: Peter Todd To: vjudeu@gazeta.pl, Bitcoin Protocol Discussion Message-ID: References: <157744394-3dec42994f1798ce65b00e23b21ea656@pmq2v.m5r2.onet> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="tMyDTiHxTR+JE6zO" Content-Disposition: inline In-Reply-To: <157744394-3dec42994f1798ce65b00e23b21ea656@pmq2v.m5r2.onet> Subject: Re: [bitcoin-dev] OP_RETURN inside TapScript 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: Wed, 16 Mar 2022 18:21:40 -0000 --tMyDTiHxTR+JE6zO Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Feb 24, 2022 at 10:02:08AM +0100, vjudeu via bitcoin-dev wrote: > Since Taproot was activated, we no longer need separate OP_RETURN outputs= to be pushed on-chain. If we want to attach any data to a transaction, we = can create "OP_RETURN " as a branch in the TapScript. In this way= , we can store that data off-chain and we can always prove that they are co= nnected with some taproot address, that was pushed on-chain. Also, we can s= tore more than 80 bytes for "free", because no such taproot branch will be = ever pushed on-chain and used as an input. That means we can use "OP_RETURN= <1.5 GB of data>", create some address having that taproot branch, and lat= er prove to anyone that such "1.5 GB of data" is connected with our taproot= address. There are two use-cases for OP_RETURN: committing to data, and publishing d= ata. Your proposal can only do the former, not the latter, and there are use-cas= es for both. --=20 https://petertodd.org 'peter'[:-1]@petertodd.org --tMyDTiHxTR+JE6zO Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEE0RcYcKRzsEwFZ3N5Lly11TVRLzcFAmIyKqUACgkQLly11TVR Lzeg5xAAt26MsA0IcUGUN3zeFIBO9tCTbgE1zH1Hdl6NJCdmez6ROOHKqZBks2T9 yM6Ju4ZTi2SGrrnDDufwPPAvGSk8xfLdeYYXdfDOJ6GFiUgGdYnZMKMq4lYrlTJb orPmPFD4jfUfAi+/Q9zMp2RTb8ZSVDEdtsGjobTIhlMFgs1uN6gOg8DrKm+g54ua qY96MbdUfdH1Nebr8MI2FxsB5QF+h5shqhWyt2K9G6/Y6xx6t/SHZRmLPnVAPOhK Wq+hw22bJFsK6tAwbtrT+GYUOK5B82NO4WRllg1Z5saLusRQQEptvJDbD58Dwrgl ysnOIx9obMOCAfTt8n2AHIoWtUTpB5ySVzf4t/jlNmvO+feqHhzytnUgxfA8IIDu GZlzjfe7W0WpHx4Gc3k2xJq1Rl4xmTLms6+73XW5ujQbl38i99n1I2SY24lqNVy7 mQU5yhmHiDhfOODdveADm2WpKICH6zOCWEOGWH/+U7coNixTYpLh5whADW3ko6XC kWezqxk/dwlIrPtz8lSZpBZI//4CAdNUQPm3IszTOxHwqlE1aWp7Wm2nukD3tXxW gN4QnW1OGVbwY0xgE73RryLlB3DnSowcnqLFT0K6mKD1rWXN+mezC21mhpgSIwXh RiE4BWl8tsd+DOfu6FPDqo+tyRygGDPVWQTCg+OODug2YwvnEh4= =DYWq -----END PGP SIGNATURE----- --tMyDTiHxTR+JE6zO--