summaryrefslogtreecommitdiff
path: root/fa/21dd1e27f5e3347c47a74159282338902e8afb
blob: cde167efd0d957791267bd0327207e022ccd5aed (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
Return-Path: <pete@petertodd.org>
Received: from smtp3.osuosl.org (smtp3.osuosl.org [140.211.166.136])
 by lists.linuxfoundation.org (Postfix) with ESMTP id 8A7D4C002B
 for <bitcoin-dev@lists.linuxfoundation.org>;
 Fri,  3 Feb 2023 22:10:53 +0000 (UTC)
Received: from localhost (localhost [127.0.0.1])
 by smtp3.osuosl.org (Postfix) with ESMTP id 42DE961325
 for <bitcoin-dev@lists.linuxfoundation.org>;
 Fri,  3 Feb 2023 22:10:53 +0000 (UTC)
DKIM-Filter: OpenDKIM Filter v2.11.0 smtp3.osuosl.org 42DE961325
Authentication-Results: smtp3.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=npkyCTsl
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 smtp3.osuosl.org ([127.0.0.1])
 by localhost (smtp3.osuosl.org [127.0.0.1]) (amavisd-new, port 10024)
 with ESMTP id cC6Nf900w953
 for <bitcoin-dev@lists.linuxfoundation.org>;
 Fri,  3 Feb 2023 22:10:51 +0000 (UTC)
X-Greylist: domain auto-whitelisted by SQLgrey-1.8.0
DKIM-Filter: OpenDKIM Filter v2.11.0 smtp3.osuosl.org 453AC61316
Received: from wout1-smtp.messagingengine.com (wout1-smtp.messagingengine.com
 [64.147.123.24])
 by smtp3.osuosl.org (Postfix) with ESMTPS id 453AC61316
 for <bitcoin-dev@lists.linuxfoundation.org>;
 Fri,  3 Feb 2023 22:10:51 +0000 (UTC)
Received: from compute1.internal (compute1.nyi.internal [10.202.2.41])
 by mailout.west.internal (Postfix) with ESMTP id 3EEFA3200A31;
 Fri,  3 Feb 2023 17:10:48 -0500 (EST)
Received: from mailfrontend2 ([10.202.2.163])
 by compute1.internal (MEProxy); Fri, 03 Feb 2023 17:10:48 -0500
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=
 messagingengine.com; h=cc: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=1675462247; x=1675548647; bh=aC8nUy3wXZHhOsbFawPgQxSuXVrx
 CeBuFmVctvoFCTo=; b=npkyCTslauJQkC/XYQIHEOsUm3RzBySfwHiV2Wq3N/li
 EP8R6HwFqPC+Vvgp9QPzLPyN0gQl73OYyLcgcY9Ll1Q3h6rITZ6rdASKD0aEjFye
 gJFwAHaxOTqZ/915Xtb4h5zWUqxJb06PtfU2eY2xBJEKhMwMM6P9hEzY0hQVr1Rp
 pWYvU8PA2lRWaVTC3IMNfnPNVe/efqEubmvAstPpl5rxN18G0ZFBS7vRbPxvUzQ/
 gyRZjhYHAloElaf1hx9dqaXf6SkliWK41hOBcwtlOmkSH+zMsZH2WpV53nvpeDnZ
 72qLBK1q69YYTNw7nfV/LGZGljV4R/cy5zkXt2FUPA==
X-ME-Sender: <xms:Z4bdY4D0BUzq-rpdACUcw_N2GlepCRVkWUjZ8GtN9YMphdQr782DKA>
 <xme:Z4bdY6g2Kmaqqn3-bfIesTMBYuVtkarV1i2Kax9mIM5eQyWNgoJ5bAOpPqe6Wn_gr
 NQUTVzVwY8k_ME4DSI>
X-ME-Received: <xmr:Z4bdY7mNVHcHNtDnZ3hePR7UixDIWZZy33vxyaXvoaPzdUoO87imU_jS7A>
X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvhedrudegtddgudehgecutefuodetggdotefrod
 ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh
 necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd
 enucfjughrpeffhffvvefukfhfgggtuggjsehgtderredttddvnecuhfhrohhmpefrvght
 vghrucfvohguugcuoehpvghtvgesphgvthgvrhhtohguugdrohhrgheqnecuggftrfgrth
 htvghrnhepledvleelffdtudekudffjefgfeejueehieelfedtgfetudetgeegveeutefh
 jedtnecuffhomhgrihhnpehpvghtvghrthhouggurdhorhhgnecuvehluhhsthgvrhfuih
 iivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepphgvthgvsehpvghtvghrthhouggu
 rdhorhhg
X-ME-Proxy: <xmx:Z4bdY-z5wx_SMyBbAu-dIOLxPm4oFLaEsnwEqMzYez9tfhvGR9f1kw>
 <xmx:Z4bdY9Q1z-LNPAxDmXphBgBt8ZkxxTQeMg5i9ULpJ6eWpHwk67WIgg>
 <xmx:Z4bdY5b_7LR-6S0qLKOp3e69YvI8uMmLd2XqOjrYiEGZWVclJxU0JA>
 <xmx:Z4bdY_eBoYUOYGt3kwPQynA_Zl-2DOK8ro8V8_wO9eBAk3Bv0MuOhw>
Feedback-ID: i525146e8:Fastmail
Received: by mail.messagingengine.com (Postfix) with ESMTPA; Fri,
 3 Feb 2023 17:10:47 -0500 (EST)
Received: by localhost (Postfix, from userid 1000)
 id 042925F879; Fri,  3 Feb 2023 17:10:43 -0500 (EST)
Date: Fri, 3 Feb 2023 17:10:43 -0500
From: Peter Todd <pete@petertodd.org>
To: Greg Sanders <gsanders87@gmail.com>
Message-ID: <Y92GY7s1U4P9fC/f@petertodd.org>
References: <CAPfvXf+N8aF+bqjGzpfDrhCYg7ngciSDCpUnCMHD+k5F+m3oWA@mail.gmail.com>
 <CAB3F3DuDODUxB5aK4VFWa8sKFCkZfOj6Vjb+Wp39opyt8MNnEA@mail.gmail.com>
 <CAB3F3DtrSFPmperGJJAUDZj7vt9aHgvkc0b5Pts3+mq5fTuWXA@mail.gmail.com>
 <CAB3F3DvToF_fia+X5SQi-L=BDYGLpzr8nNHqjtFBUjLMbyPE9Q@mail.gmail.com>
 <Y9vOGVMJx1b9CPYq@petertodd.org>
 <CAB3F3Du2XsHCh5o5S84XKKizTkrTFJJ-j42-qunyuSRkwX7H_Q@mail.gmail.com>
 <Y9vRjQVnZzA8Bx/s@petertodd.org>
 <CAB3F3DvumE-r+LGm8ivooPD9qfzFs-NK9Ve06Ew1EMAifSx8dw@mail.gmail.com>
 <Y9wbjsmPO+nyM267@petertodd.org>
 <CAB3F3Ds7Ux8MWnY-9Agehpk0hZx_xgeFmZG7hUjMkfe48T5GPA@mail.gmail.com>
MIME-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha512;
 protocol="application/pgp-signature"; boundary="GcsX8nwDEs7HD0l+"
Content-Disposition: inline
In-Reply-To: <CAB3F3Ds7Ux8MWnY-9Agehpk0hZx_xgeFmZG7hUjMkfe48T5GPA@mail.gmail.com>
Cc: Bitcoin Protocol Discussion <bitcoin-dev@lists.linuxfoundation.org>
Subject: Re: [bitcoin-dev] Ephemeral Anchors: Fixing V3 Package RBF
 againstpackage limit pinning
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: Fri, 03 Feb 2023 22:10:53 -0000


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

On Thu, Feb 02, 2023 at 03:47:28PM -0500, Greg Sanders wrote:
> > OP_TRUE is the obvious way to do this, and it results with a 1 on the
> stack,
> which plays better with other standardness rules.
>=20
> What other standardness rules? MINAMALIF? How does that interact with the
> proposal?

It makes sense to require scripts to leave just a single OP_TRUE on the sta=
ck
at the end of execution, as otherwise that can be a source of malleability =
in
certain circumstances where the scriptSig ends up providing the OP_TRUE. I
don't believe we actually implement this as a rule right now. But you could
easily imagine that happening in a future upgrade.

Leaving an OP_2 on the stack doesn't achieve that and would require a
special-cased workaround. Spending the time now to do the obvious thing - u=
se
OP_TRUE as the canonical anyone-can-spend output - avoids this issue.

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

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

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

iQIzBAEBCgAdFiEE0RcYcKRzsEwFZ3N5Lly11TVRLzcFAmPdhmEACgkQLly11TVR
Lzch6w/9FZ2cRXUbxra9dM7BtEjnsKhtb7tPldpWnexoanDzpxrs1aYfeQgI55PF
2UOhXfNeI8VHuM2dMEnnRturs0VfaVqtkx7CBMog3i/51JFPwH0Qpjm4yn/MBK4U
1B3Y2/pvQFC0H6iSUsyHUPltvleKzuv5ikY9RExaDSX0KEMho5zY/aWukQsr69P1
iJrnwMz96XG1akdQTVtN41G8DLXNNCX9QiuULJ7n6VQ3nykx6aag/k90QlZFXY6X
p+tyoGb40F9RmEvP3O4OZPE12bp2ubYc3+ayQEaUC3GC+4trxQ1xTZPkxNjJY6Zy
uN8t9iRG75Fn+YRrrauClzi4vjRGHOT0YOczS4SRRB0vAFnFOzP700PKmlECg7SM
qklbr2DfpXswVMEjvIqSCZPNxUqVgnnFhTlvMgBsXoLF5+akhTtW9kp63pA3kQZO
OqrNLQT8z99Zpj0vZZbqsPq1lqYGJ6yZUvJqRbUSPxanj6DSLvtfFgZHPFIacPwf
7egRN2w54rfhm7HZX0amaw9FxClfTA4idDylUM5pmlSrlf1nT3ggtIPleS6bqFTq
p/qSQnb1s4R2FnvqV4rzCvnK7P3n9M0CV6Khzmkr6V+MOMsffD0gWmdpfrrSJyQ/
lOs+dx0qgeJ8PmFllEGfRs8uDAwq6OgcOfNEuyBqlchnGi5h6zM=
=Y5S2
-----END PGP SIGNATURE-----

--GcsX8nwDEs7HD0l+--