summaryrefslogtreecommitdiff
path: root/7c/8b2363291ec09ec0ea5481d6e01a3bdc1eedf0
blob: d300447c21ce2cc6796d5962fef6ba943dd91aac (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
Return-Path: <pete@petertodd.org>
Received: from smtp4.osuosl.org (smtp4.osuosl.org [IPv6:2605:bc80:3010::137])
 by lists.linuxfoundation.org (Postfix) with ESMTP id F28B9C0037
 for <bitcoin-dev@lists.linuxfoundation.org>;
 Tue,  9 May 2023 00:05:53 +0000 (UTC)
Received: from localhost (localhost [127.0.0.1])
 by smtp4.osuosl.org (Postfix) with ESMTP id 97BD141E69
 for <bitcoin-dev@lists.linuxfoundation.org>;
 Tue,  9 May 2023 00:05:53 +0000 (UTC)
DKIM-Filter: OpenDKIM Filter v2.11.0 smtp4.osuosl.org 97BD141E69
Authentication-Results: smtp4.osuosl.org; dkim=pass (2048-bit key,
 unprotected) header.d=messagingengine.com header.i=@messagingengine.com
 header.a=rsa-sha256 header.s=fm3 header.b=VKPllJb5
X-Virus-Scanned: amavisd-new at osuosl.org
X-Spam-Flag: NO
X-Spam-Score: -2.603
X-Spam-Level: 
X-Spam-Status: No, score=-2.603 tagged_above=-999 required=5
 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1,
 RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001,
 SPF_HELO_PASS=-0.001, SPF_PASS=-0.001]
 autolearn=ham autolearn_force=no
Received: from smtp4.osuosl.org ([127.0.0.1])
 by localhost (smtp4.osuosl.org [127.0.0.1]) (amavisd-new, port 10024)
 with ESMTP id bFeRy8wM3f6Q
 for <bitcoin-dev@lists.linuxfoundation.org>;
 Tue,  9 May 2023 00:05:51 +0000 (UTC)
X-Greylist: from auto-whitelisted by SQLgrey-1.8.0
DKIM-Filter: OpenDKIM Filter v2.11.0 smtp4.osuosl.org 6DFA441E7D
Received: from wout2-smtp.messagingengine.com (wout2-smtp.messagingengine.com
 [64.147.123.25])
 by smtp4.osuosl.org (Postfix) with ESMTPS id 6DFA441E7D
 for <bitcoin-dev@lists.linuxfoundation.org>;
 Tue,  9 May 2023 00:05:51 +0000 (UTC)
Received: from compute2.internal (compute2.nyi.internal [10.202.2.46])
 by mailout.west.internal (Postfix) with ESMTP id 42C9332009A7;
 Mon,  8 May 2023 19:56:01 -0400 (EDT)
Received: from mailfrontend1 ([10.202.2.162])
 by compute2.internal (MEProxy); Mon, 08 May 2023 19:56:01 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=
 messagingengine.com; h=cc:content-type:content-type:date:date
 :feedback-id:feedback-id: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; t=1683590160; x=1683676560; bh=pXeizfQX67lkz
 UsTroxTqr7T32thi8UrYCbsR9Gm0lQ=; b=VKPllJb551h0WYQoMakUXLGMxIxsa
 iahXqXgUXZ6IiQIUpUBqp5KAiPFkPPQGkpgwnfXWBgo8KsbsK/W6QiD926FVz5/m
 pozNqFYhkrKod10SOzcD3wqTtbDgtHJVh2Sba+LyQ/atBhED66cDVodRlRCQ+gYz
 Um4mbdRiYRrsDV3cExnKGhprEt4MK4rXoJiXfAvw5jIBstFTpu0zKc6KdvPamsI0
 /MdWjNMWBUN/yhYeTt6Hw6yyYEcmj2toLmdo88oNCCrM3km7gohLSI68rbglsuse
 fcNPQK28eqCMmWas0FvjP/yicluF4k1tQ3Epi8TKXjjB686frNZ2uMGnA==
X-ME-Sender: <xms:EIxZZGXQWidpXgYr40hLb0jRbkuR43BGD356x-dRfc0CIZh-jvhzug>
 <xme:EIxZZCmV91PG-MHpzdEDHxHrKa8L1D1k1v5jS_jqerGEFohkGafjXAeKtTlxfVPJN
 s2T3jiRwwLHNXk1j3g>
X-ME-Received: <xmr:EIxZZKawmTegLpyLg-HjfAbsYCex3BjQxSo5afA2y0QwcEEbxMZN4hacKdg>
X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvhedrfeefledgvdejucetufdoteggodetrfdotf
 fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen
 uceurghilhhouhhtmecufedttdenucenucfjughrpeffhffvuffkfhggtggujgesghdtre
 ertddtvdenucfhrhhomheprfgvthgvrhcuvfhougguuceophgvthgvsehpvghtvghrthho
 uggurdhorhhgqeenucggtffrrghtthgvrhhnpeeivddvleeikeejueekgfdtleefgeehhe
 elffeuheetgefhleevjeefleegvefffeenucffohhmrghinhepphgvthgvrhhtohguugdr
 ohhrghenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpe
 hpvghtvgesphgvthgvrhhtohguugdrohhrgh
X-ME-Proxy: <xmx:EIxZZNXGENPi8tLu9K_RBLEr2VzoqPrsgy2EcDrbUGQ9hdNcbjYKTw>
 <xmx:EIxZZAnLZy--1x0PvgCDAtnpI3diTx61ROBnJPSJdrj1Fg-lXZZO1g>
 <xmx:EIxZZCclzurbDSE9lYWVdjWoR8V8vxu5x5tLKblruhZkx2I03WFutg>
 <xmx:EIxZZKho8crKbXwD3fojBqWvSLwhvZUD6kWEzlnKOYtZYqFwRwT25A>
Feedback-ID: i525146e8:Fastmail
Received: by mail.messagingengine.com (Postfix) with ESMTPA; Mon,
 8 May 2023 19:56:00 -0400 (EDT)
Received: by localhost (Postfix, from userid 1000)
 id 141665F844; Mon,  8 May 2023 23:55:57 +0000 (UTC)
Date: Mon, 8 May 2023 23:55:57 +0000
From: Peter Todd <pete@petertodd.org>
To: Moth <moth_oshi@proton.me>,
 Bitcoin Protocol Discussion <bitcoin-dev@lists.linuxfoundation.org>
Message-ID: <ZFmMDYKxd7Uw6A4R@petertodd.org>
References: <SzOndBJmU5RPVdT2IhiWUmw925vgy-KCwrbWC4_e8tHVj5VWUn-Tr50TjxTczUUDcaVjUJEiuLVmFjfmtZwwvLyuUSkrGVg9uNje2oARArc=@proton.me>
MIME-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha512;
 protocol="application/pgp-signature"; boundary="rJQYXhN1Z2LmqwxE"
Content-Disposition: inline
In-Reply-To: <SzOndBJmU5RPVdT2IhiWUmw925vgy-KCwrbWC4_e8tHVj5VWUn-Tr50TjxTczUUDcaVjUJEiuLVmFjfmtZwwvLyuUSkrGVg9uNje2oARArc=@proton.me>
Subject: Re: [bitcoin-dev] Witness script validation to reject arbitrary data
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: Tue, 09 May 2023 00:05:54 -0000


--rJQYXhN1Z2LmqwxE
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Mon, May 08, 2023 at 08:16:41PM +0000, Moth via bitcoin-dev wrote:
> From what I understand, things like inscriptions can only be inserted bet=
ween two specific flags - OP_FALSE and OP_IF.

That's just an artifical limitation of the current inscription protocol. Th=
ere
are endless ways to embed arbitrary data in Bitcoin transactions. Blocking =
them
all is a hopeless task.

> Having a validation check to reject witness scripts that have arbitrary d=
ata between these two flags could be used to reject inscriptions while stil=
l allowing all the benefits of taproot. This will prevent people from overl=
oading the network with txns geared solely for ordinals and brc-20 tokens.
>=20
> Is there a reason such a validation check is a bad idea? We already have =
OP_RETURN to store arbitrary data that is limited to 80kb. Was it an oversi=
ght that arbitrary data can be inserted between OP_FALSE and OP_IF when the=
 size limit for witness scripts was lifted as part of taproot?

It's pointless to even try.

The current flood of inscription txs are very small, about 150vB, and embed
very little data in the chain. They could have just as easily used OP_RETURN
outputs or any number of other data encoding techniques. Blocking that kind=
 of
use-case is hopeless.

The _purpose_ of the current flood of BRC-20 inscriptions - tl;dr the creat=
ion
of a new set of assets via an auction - is something that doesn't even requ=
ire
any data to be embedded in the chain at all. They could have implemented th=
em
with perfectly normal transactions indistinguishable from any other
transaction. Blocking that is truly hopeless.

--=20
https://petertodd.org 'peter'[:-1]@petertodd.org

--rJQYXhN1Z2LmqwxE
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEE0RcYcKRzsEwFZ3N5Lly11TVRLzcFAmRZjAIACgkQLly11TVR
Lzd8nQ//fVfilxhtTEPyxK8BnE4IP/j4/Dq1JhB+XQaB8SdPKhKFe0pBc4JQB7ZN
4jVmgvgQay86Q9W4QWDLbO5T2caONR2L5zGRuXtfprjxmD/UE2fdR5mqcdqoAzFe
HXUU2mp8y/r8zVm6ieJHn6IbAh9KYOecsXqo+gJC3NuQ/Ns88/U27MzHr2pEaUe0
R0ScNgqzmhJcmxya+JfgCDZG2v0VgEuSGfTw+h0kEk1rj/U+RkL6LtJRk947ye0K
pqMVXAosl7zLw2qel8R+VE08fmzaJLK3NGbSAkYCqz8y7MM+JPFcxUGodpisocl4
xYTprm2JUoS/U2Y+xU98hrYZJ5KOt+5TZ43oXUw+q1UrupjInbfiKsnsrf8GU5yk
ow7ABmnybU8XWrVHB4kYWQw2RuvOQ6Xl2dEdtteAhVNocDKIp6BKdOzHbbCgg1AN
M4o/1Qb59YBkzjlgZuC0MRucs1WRTaqPWLd+s+i+zo4QSH82HHeo1+iDW1qB/hk0
SMXXHXGdFhhVEvMIjG+0ShK94bvjG+/Evn3e9ywOG00bb3Xn1SBYIqjtYjcH534j
8tX4NhXOuLSv5F6GAW4yHbR/Bvcchvt3TRkyEiKkp3iuWaEeJgYUm168h51R/pRl
C9MYvpfQPUf9Jw8fmuEILToNftkT8Ls41/ySyGPQFC9YuJPrYPQ=
=BuML
-----END PGP SIGNATURE-----

--rJQYXhN1Z2LmqwxE--