summaryrefslogtreecommitdiff
path: root/31/c73dd18d51a0b2b11dbd0fa509251b6ab747f8
blob: 4215a68d915fd308edc6f639f55294d5569075d2 (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
Return-Path: <user@petertodd.org>
Received: from smtp2.osuosl.org (smtp2.osuosl.org [140.211.166.133])
 by lists.linuxfoundation.org (Postfix) with ESMTP id 8E9F3C000B
 for <bitcoin-dev@lists.linuxfoundation.org>;
 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 <bitcoin-dev@lists.linuxfoundation.org>;
 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 <bitcoin-dev@lists.linuxfoundation.org>;
 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 <bitcoin-dev@lists.linuxfoundation.org>;
 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: <xms:rioyYtMWgdJWWoWKpXuhWSXAMfNJXUXAlFVPWYDTPnXRLy1M_U9NJw>
 <xme:rioyYv9l8ueRH-HkyTtXJEgmDzjAxfESrhBNspZv4H2zX3d5BehIrrWrezUXv2iQj
 60enAeyRh1k8gEgJW4>
X-ME-Received: <xmr:rioyYsTfTKrp25Tm5sOQMNbTyfIMqnyYTjXFcEVj4hvoIvQ2rMABbfIe>
X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvvddrudefvddguddtlecutefuodetggdotefrod
 ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh
 necuuegrihhlohhuthemuceftddtnecunecujfgurhepfffhvffukfhfgggtuggjsehgtd
 erredttddvnecuhfhrohhmpefrvghtvghrucfvohguugcuoehpvghtvgesphgvthgvrhht
 ohguugdrohhrgheqnecuggftrfgrthhtvghrnhepiedvvdelieekjeeukefgtdelfeeghe
 ehleffueehteeghfelveejfeelgeevffefnecuffhomhgrihhnpehpvghtvghrthhouggu
 rdhorhhgnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomh
 epuhhsvghrsehpvghtvghrthhouggurdhorhhg
X-ME-Proxy: <xmx:rioyYpvKWBknMlpOU9YO5Gm_Gk7adTAMj5auNqjIKwjcRNPHhoOvfQ>
 <xmx:rioyYldK_f3LRwOKLegup2RBsex3ce_wYz0tNNHmgxtN0RGRTFrFEw>
 <xmx:rioyYl1tvTBAI35Ru8aWIfiPtGgmv13aqCIcCf7riHK2Q3IOHjjC2g>
 <xmx:ryoyYlmxhO70i6xCe3mT7FID6gpHZGiijtrC-RJbKrCFdNX7xxuGrA>
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 <pete@petertodd.org>
To: vjudeu@gazeta.pl,
 Bitcoin Protocol Discussion <bitcoin-dev@lists.linuxfoundation.org>
Message-ID: <YjIqqv+0YTbl/fAL@petertodd.org>
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 <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: 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 <anything>" 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--