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
|
Return-Path: <pete@petertodd.org>
Received: from smtp3.osuosl.org (smtp3.osuosl.org [IPv6:2605:bc80:3010::136])
by lists.linuxfoundation.org (Postfix) with ESMTP id 31E45C002B
for <bitcoin-dev@lists.linuxfoundation.org>;
Tue, 7 Feb 2023 19:04:08 +0000 (UTC)
Received: from localhost (localhost [127.0.0.1])
by smtp3.osuosl.org (Postfix) with ESMTP id 0508561033
for <bitcoin-dev@lists.linuxfoundation.org>;
Tue, 7 Feb 2023 19:04:08 +0000 (UTC)
DKIM-Filter: OpenDKIM Filter v2.11.0 smtp3.osuosl.org 0508561033
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=MXJU/SA8
X-Virus-Scanned: amavisd-new at osuosl.org
X-Spam-Flag: NO
X-Spam-Score: -2.6
X-Spam-Level:
X-Spam-Status: No, score=-2.6 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_H3=0.001,
RCVD_IN_MSPIKE_WL=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 aK4sRVU5Sh96
for <bitcoin-dev@lists.linuxfoundation.org>;
Tue, 7 Feb 2023 19:04:06 +0000 (UTC)
X-Greylist: domain auto-whitelisted by SQLgrey-1.8.0
DKIM-Filter: OpenDKIM Filter v2.11.0 smtp3.osuosl.org C8A8661040
Received: from out2-smtp.messagingengine.com (out2-smtp.messagingengine.com
[66.111.4.26])
by smtp3.osuosl.org (Postfix) with ESMTPS id C8A8661040
for <bitcoin-dev@lists.linuxfoundation.org>;
Tue, 7 Feb 2023 19:04:06 +0000 (UTC)
Received: from compute1.internal (compute1.nyi.internal [10.202.2.41])
by mailout.nyi.internal (Postfix) with ESMTP id E44025C01CE;
Tue, 7 Feb 2023 14:04:05 -0500 (EST)
Received: from mailfrontend1 ([10.202.2.162])
by compute1.internal (MEProxy); Tue, 07 Feb 2023 14:04:05 -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=1675796645; x=1675883045; bh=Opfibo3uqLqgZ5eH7iHQYfMmZNta
vHEddkhSUu/Fe3E=; b=MXJU/SA8GuxRoJdVUBZnm1orS/DrSOAXkeR209MPZJ8P
L0QZ4+Fa3Gts5ES2oeV96bMugdcAj4eOoVEb9ZyKdalCw7u1f1S7wcgWiFkLzzn0
+IQMay0txJYkHDzWXlVFEsp4I4D64bwu2pJrdZ1/I3B9nSadqkb2neVxvOsAlVbN
XXdOcoL2YaToZTHfAVrWXH/VO3CevXGaPyY5ZR5/5Evmsq7JjBzGAuGuy25ywIfa
w1uzctoxOGkBhHQZbI3gki4JDWf75qvQpyXwIJKR32JB3ZzEMtTcQrTC8CLrm5fm
soL+vBTK1cezVKOL8etw0SMmQLpPGnXsaaRvM9M7yA==
X-ME-Sender: <xms:pKDiY1Hn1SiqIskcl9hdi-37wrsARpxSfooeJisDpBIulc28QifJ6g>
<xme:pKDiY6VfiFVnMtteCr0L6WqKLaG8IIZEWi3FsmG_vg6KuaU5vMnQIgZ8DzXd6Q1Iq
IXw5ju25qF2U9FEhyc>
X-ME-Received: <xmr:pKDiY3JPeyqEwJeYY4aLE2-GtPq48KXwZk88dCJhvGkR2S-wXrX9fzrhrOHv>
X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvhedrudegkedguddujecutefuodetggdotefrod
ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh
necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd
enucfjughrpeffhffvvefukfhfgggtuggjsehgtderredttddvnecuhfhrohhmpefrvght
vghrucfvohguugcuoehpvghtvgesphgvthgvrhhtohguugdrohhrgheqnecuggftrfgrth
htvghrnhepledvleelffdtudekudffjefgfeejueehieelfedtgfetudetgeegveeutefh
jedtnecuffhomhgrihhnpehpvghtvghrthhouggurdhorhhgnecuvehluhhsthgvrhfuih
iivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepphgvthgvsehpvghtvghrthhouggu
rdhorhhg
X-ME-Proxy: <xmx:pKDiY7Gr3D2ZFstbEhnixPydc25UxumdwLbGrPi8JeTRrfspXW2jvw>
<xmx:pKDiY7XkpZpf2OrNSHxLmf34mtO6uqMVDqu2OHf90Ewh30RaA4IrXQ>
<xmx:pKDiY2Ob3zEBPoot9YEFiGrpNYOF6I9TENabHDHrKK0aTQ0vZeThEA>
<xmx:paDiYxxEGXvjBW78Sjhk3rWYb3JwPHgjVWApHiPN9i0hVeRxfqK4OA>
Feedback-ID: i525146e8:Fastmail
Received: by mail.messagingengine.com (Postfix) with ESMTPA; Tue,
7 Feb 2023 14:04:04 -0500 (EST)
Received: by localhost (Postfix, from userid 1000)
id BCF775F824; Tue, 7 Feb 2023 14:04:00 -0500 (EST)
Date: Tue, 7 Feb 2023 14:04:00 -0500
From: Peter Todd <pete@petertodd.org>
To: Russell O'Connor <roconnor@blockstream.com>,
Bitcoin Protocol Discussion <bitcoin-dev@lists.linuxfoundation.org>
Message-ID: <Y+KgoLiyAvGhuHCE@petertodd.org>
References: <CAAQdECCH=YOcu4g6Ku1_G4CnRg6rsaFPFPwbABx9aZin9A8+2A@mail.gmail.com>
<Y+JWLsc80gxL4kpG@camus> <Y+KUAlsPc8ohPecb@camus>
<CAMZUoK=u2114uv0Uc0u_RVMBv-cq-gJiNxiyOk_T_xxTYO0Ghw@mail.gmail.com>
MIME-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha512;
protocol="application/pgp-signature"; boundary="efovbRgJqQEYHyKc"
Content-Disposition: inline
In-Reply-To: <CAMZUoK=u2114uv0Uc0u_RVMBv-cq-gJiNxiyOk_T_xxTYO0Ghw@mail.gmail.com>
Subject: Re: [bitcoin-dev] Unenforceable fee obligations in multiparty
protocols with Taproot inputs
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, 07 Feb 2023 19:04:08 -0000
--efovbRgJqQEYHyKc
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
On Tue, Feb 07, 2023 at 01:35:12PM -0500, Russell O'Connor via bitcoin-dev =
wrote:
> There is a bug in Taproot that allows the same Tapleaf to be repeated
> multiple times in the same Taproot, potentially at different Taplevels
> incurring different Tapfee rates.
>=20
> The countermeasure is that you should always know the entire Taptree when
> interacting with someone's Tapspend.
Another countermeasure could be to implement RBF on taproot witnesses, allo=
wing
transactions with deeper, less efficient, tapleaf scripts to be replaced wi=
th
shallower, more efficient, tapleafs. If implemented by giving your peer some
kind of delta encoded update, the bandwidth efficiency may be sufficient to
always allow such updates.
--=20
https://petertodd.org 'peter'[:-1]@petertodd.org
--efovbRgJqQEYHyKc
Content-Type: application/pgp-signature; name="signature.asc"
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCgAdFiEE0RcYcKRzsEwFZ3N5Lly11TVRLzcFAmPioJ0ACgkQLly11TVR
LzciBg//c7gaOFcXL8gHZbPs9kyqfa661M4vTd92h4Zciq7przlZzkv7A7+euhTW
RFAHDWYC5QtngelVf7VaasVtm3qIpO5GUuOBw+oKMk/1ncxXw7dJv1TlLff5xy5d
wwxMrfCTR3t4S/22hx95IUL+kiuO41p3BhXgQax3IbGs4wwZEd9jLmt0Lp43OKYF
izdpM3NeQiOqeG9GgKQsgX6GBYDZ8H+fJ8aTxmAX95zs3w8esuDR8+XntB/r6SJs
oYaeNYVUCoVdCA4eY6YNJ6wm56YRD45yv3a9qd7KbkzAdCm/aExKVBnvdSvJruxJ
hOGhKtSYphmpBa1NQlNKa2GqrACO0K8/xNuEA7BjGElqrn9ed9hEy55iNBah80z/
Ocub/Wkts+5ZdAwLjRTXCL6fZKK+kO37MwnB2k6SNk0JnEzswyXo9Kir0PCXKuia
VyswIPvX/F5xt5E7ccQjKFPJdKQNfPt/mvMqhoDhCJmHvJUomoWpycmGhqQLH1bq
MEtquSZIKwJgVcmMiN4efYvPTOmqCUOiiRiehCGGYSp39beyf3p2eFXv8PeySy1k
TSmRKakJJCv3CA/ZxwJEjWzYmXU3lpnaYURyGw/Frenn96Jt/rKlwN8TMLSGTUtX
TzxAxgyL59ndTYtT9/nUf+k2USs59SOCbQAA4cEUP4xe47ZoajI=
=NPjl
-----END PGP SIGNATURE-----
--efovbRgJqQEYHyKc--
|