summaryrefslogtreecommitdiff
path: root/b2/0ce032c40d89aec739031d1468ad2e282aa755
blob: ebaa7f9ee721baa5fec1df26ed16c9f43fafeede (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
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 E96C9C002D
 for <bitcoin-dev@lists.linuxfoundation.org>;
 Thu, 20 Oct 2022 23:21:04 +0000 (UTC)
Received: from localhost (localhost [127.0.0.1])
 by smtp2.osuosl.org (Postfix) with ESMTP id C1F49410D2
 for <bitcoin-dev@lists.linuxfoundation.org>;
 Thu, 20 Oct 2022 23:21:04 +0000 (UTC)
DKIM-Filter: OpenDKIM Filter v2.11.0 smtp2.osuosl.org C1F49410D2
Authentication-Results: smtp2.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=S4ysmfKg
X-Virus-Scanned: amavisd-new at osuosl.org
X-Spam-Flag: NO
X-Spam-Score: -2.602
X-Spam-Level: 
X-Spam-Status: No, score=-2.602 tagged_above=-999 required=5
 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1,
 RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001]
 autolearn=ham autolearn_force=no
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 ux0aaWUwOCf3
 for <bitcoin-dev@lists.linuxfoundation.org>;
 Thu, 20 Oct 2022 23:21:04 +0000 (UTC)
X-Greylist: domain auto-whitelisted by SQLgrey-1.8.0
DKIM-Filter: OpenDKIM Filter v2.11.0 smtp2.osuosl.org D55A2400A6
Received: from out3-smtp.messagingengine.com (out3-smtp.messagingengine.com
 [66.111.4.27])
 by smtp2.osuosl.org (Postfix) with ESMTPS id D55A2400A6
 for <bitcoin-dev@lists.linuxfoundation.org>;
 Thu, 20 Oct 2022 23:21:03 +0000 (UTC)
Received: from compute2.internal (compute2.nyi.internal [10.202.2.46])
 by mailout.nyi.internal (Postfix) with ESMTP id EB16A5C0096;
 Thu, 20 Oct 2022 19:21:02 -0400 (EDT)
Received: from mailfrontend2 ([10.202.2.163])
 by compute2.internal (MEProxy); Thu, 20 Oct 2022 19:21:02 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=
 messagingengine.com; h=cc: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=1666308062; x=1666394462; bh=cXsfrqpTKMCfIc1YjUGFLtmVOGmO
 WZ/C0YF+0IxwEwo=; b=S4ysmfKglZv6SHRJTDYI5zvLLfIeZ5tdaw0jZUDn0hfs
 0PGdZMDvvhKQdL9UyjICFEe4FSs77trpbE77cf8dSWgcxMF/y917QChMTGa6xupt
 hsqderpjvZqaltPm90b6SF+yHuQM+BU1lGsWULQYIXnTEBcK7MvG7pGPv5ssrAIK
 HVacSOZboSFY12EzgFZQtkAIP7fhHgbetpYQ2p4Ur1lHLmqZHsY8wjLsqozDGcdb
 ONncmPy/19ZfM5hgzvgdJkZ7INEMWO4Yu98V76XTBAR3jMismSEXC4GaaeVoO4y6
 A2Ku8rmJp03BvcdnKwo2N9XHvxOoveIj1QAT+LmJhQ==
X-ME-Sender: <xms:3tdRYxL_VVcyL2J3xZBDk_eu3H_MSFLnt5jvGucsRB3-CSzYj12amQ>
 <xme:3tdRY9LiVXsNAp-9RKScmTBT9Fy46poEkQIH-WGr5EsSw0m02Yb8Y9810FTcgjZmS
 kqNfhqAkWC_jXfk9pk>
X-ME-Received: <xmr:3tdRY5uXUtoc5FKrUXkYoOPIiUkOdLG589I6jgavr23fjfww9yYDlew5H_CwRrfdms0H4jerNLYwqhyshWSTw8JtGfwL>
X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvfedrfeeljedgvddvucetufdoteggodetrfdotf
 fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen
 uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne
 cujfgurhepfffhvffukfhfgggtuggjsehgtderredttddvnecuhfhrohhmpefrvghtvghr
 ucfvohguugcuoehpvghtvgesphgvthgvrhhtohguugdrohhrgheqnecuggftrfgrthhtvg
 hrnhepiedvvdelieekjeeukefgtdelfeegheehleffueehteeghfelveejfeelgeevffef
 necuffhomhgrihhnpehpvghtvghrthhouggurdhorhhgnecuvehluhhsthgvrhfuihiivg
 eptdenucfrrghrrghmpehmrghilhhfrhhomhepuhhsvghrsehpvghtvghrthhouggurdho
 rhhg
X-ME-Proxy: <xmx:3tdRYyY7J5v1MyIOetQPOHgUQvB9adtKriLzFFFN9x9M1OBdKfkO6Q>
 <xmx:3tdRY4YXJAZvxBm6OX462mfP_uu_aRMsPeRRBcMzbfrxvoEFcHcHzA>
 <xmx:3tdRY2AE727ARbgiNpijwlEoR8VXsZ1b-_1P755wXCxnKkdA3Z5hkw>
 <xmx:3tdRYwGWD-i6bFuERZUcDzVJTIpxuZoRJGTz4RcL4JUhWxvOJbW8QQ>
Feedback-ID: i525146e8:Fastmail
Received: by mail.messagingengine.com (Postfix) with ESMTPA; Thu,
 20 Oct 2022 19:21:02 -0400 (EDT)
Received: by localhost (Postfix, from userid 1000)
 id 10EA8204BA; Thu, 20 Oct 2022 19:21:01 -0400 (EDT)
Date: Thu, 20 Oct 2022 19:21:01 -0400
From: Peter Todd <pete@petertodd.org>
To: Greg Sanders <gsanders87@gmail.com>,
 Bitcoin Protocol Discussion <bitcoin-dev@lists.linuxfoundation.org>
Message-ID: <Y1HX3cI7k91pTFUf@petertodd.org>
References: <CAB3F3DtNWajm669s9a=cs+Dft0PXDu1JHchzEw+yYLmRS+YSYQ@mail.gmail.com>
MIME-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha512;
 protocol="application/pgp-signature"; boundary="7v7nFs9Tdl9IzEvF"
Content-Disposition: inline
In-Reply-To: <CAB3F3DtNWajm669s9a=cs+Dft0PXDu1JHchzEw+yYLmRS+YSYQ@mail.gmail.com>
Subject: Re: [bitcoin-dev] Relaxing minimum non-witness transaction size
 policy restriction
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: Thu, 20 Oct 2022 23:21:05 -0000


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

On Tue, Oct 11, 2022 at 08:50:07AM -0400, Greg Sanders via bitcoin-dev wrot=
e:
> Hello fellow Bitcoiners,
>=20
> After looking at some fairly exotic possible transaction types, I ran into
> the current policy limit requiring transactions to be 85 non-witness
> serialized bytes. This was introduced as a covert fix to policy fix
> for CVE-2017-12842. Later the real motivation was revealed, but the
> "reasonable" constant chosen was not.
>=20
> I'd like to propose relaxing this to effectively the value BlueMatt
> proposed in the Great Consensus Cleanup: 65 non-witness bytes. This would
> allow a single input, single output transaction with 4 bytes of OP_RETURN
> padding, rather than padding out 21 bytes to get to p2wpkh size.
>=20
> The alternative would be to also allow anything below 64 non-witness byte=
s,
> but this seems fraught with footguns for a few bytes gain.

What footguns exactly? Spending a single input to OP_RETURN with no payload=
 is
a valid use to get rid of dust in the UTXO set.

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

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

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

iQEzBAEBCgAdFiEEFcyURjhyM68BBPYTJIFAPaXwkfsFAmNR19gACgkQJIFAPaXw
kfsjlQf+Oda2VM423DYAw2drUaaIrdb70WLE6OvP2PRH2lLSCHio5kcpjq7AQl1L
h1JB+Zuya96JJaLAUcNvoafPtUcck2H1rgvMF1FW80V2zqPfBkVwqG8bMaKxRtRa
o3XmpU0r9Nkd4lYbKVUOuBX/EtTQE0pLGAwpXZbMBkXyJtRi+Y5zuJduzVVADOrS
ggQfmKxRaBEp+2pEVljuZ63Y/Vejvv/+tkkVf86j+JOuFYgMo+yyQYL4YPrnQ5j0
lAlqD+kXJkanE/K0JRAbZ18U5r5ZdzHSiwLfY/l3voxjwTC2ivqY450dOoBZT8C8
3vLBuvhRhSrpvaiRVVbvKt1nuKW5/Q==
=HMFx
-----END PGP SIGNATURE-----

--7v7nFs9Tdl9IzEvF--