summaryrefslogtreecommitdiff
path: root/29/2a9245f1d3f83c8b0710cc5259821c59b73597
blob: 4291f40d3e9e408c71082e744805bff48769323e (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
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
Return-Path: <gsanders87@gmail.com>
Received: from smtp1.osuosl.org (smtp1.osuosl.org [IPv6:2605:bc80:3010::138])
 by lists.linuxfoundation.org (Postfix) with ESMTP id 62B39C002B
 for <bitcoin-dev@lists.linuxfoundation.org>;
 Thu,  2 Feb 2023 14:59:24 +0000 (UTC)
Received: from localhost (localhost [127.0.0.1])
 by smtp1.osuosl.org (Postfix) with ESMTP id 2A3118200A
 for <bitcoin-dev@lists.linuxfoundation.org>;
 Thu,  2 Feb 2023 14:59:24 +0000 (UTC)
DKIM-Filter: OpenDKIM Filter v2.11.0 smtp1.osuosl.org 2A3118200A
Authentication-Results: smtp1.osuosl.org;
 dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com
 header.a=rsa-sha256 header.s=20210112 header.b=q1BhjYOB
X-Virus-Scanned: amavisd-new at osuosl.org
X-Spam-Flag: NO
X-Spam-Score: -1.848
X-Spam-Level: 
X-Spam-Status: No, score=-1.848 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,
 FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001,
 HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001,
 SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Received: from smtp1.osuosl.org ([127.0.0.1])
 by localhost (smtp1.osuosl.org [127.0.0.1]) (amavisd-new, port 10024)
 with ESMTP id SVeRNkuyuF_P
 for <bitcoin-dev@lists.linuxfoundation.org>;
 Thu,  2 Feb 2023 14:59:23 +0000 (UTC)
X-Greylist: whitelisted by SQLgrey-1.8.0
DKIM-Filter: OpenDKIM Filter v2.11.0 smtp1.osuosl.org EEDEB82005
Received: from mail-ej1-x633.google.com (mail-ej1-x633.google.com
 [IPv6:2a00:1450:4864:20::633])
 by smtp1.osuosl.org (Postfix) with ESMTPS id EEDEB82005
 for <bitcoin-dev@lists.linuxfoundation.org>;
 Thu,  2 Feb 2023 14:59:22 +0000 (UTC)
Received: by mail-ej1-x633.google.com with SMTP id hx15so6633350ejc.11
 for <bitcoin-dev@lists.linuxfoundation.org>;
 Thu, 02 Feb 2023 06:59:22 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112;
 h=cc:to:subject:message-id:date:from:in-reply-to:references
 :mime-version:from:to:cc:subject:date:message-id:reply-to;
 bh=ynEQLyPuYdluPjl9vi4M9yXP/l+m3C+zh/HgLgDLEGQ=;
 b=q1BhjYOBBm5os2/5utc+mzpP73q+M48//YGGu9AumE1CbadMqQ/eLqJD8jauLHEkuR
 iywYVOuiCxnY57z32YMw4Shf4GQNuicS3L/sb/55K76TDzknoyNgLAN9rgP0NfwnLxOg
 jtN7FCrHxA9jalsmW8QX42weWzMzx7L3f5ni+zU4OZb/EgTeG/CwXbg3D2apMD/3YE1d
 BQYV7wK4ZNA+HZlNGl0zlLuyQSx5/3R0vubgppm3iTJtE4+v8cgVyOAB7U66r7zmjOCa
 S58RO2PquLV5U9iG6puIhNfJqeK8J1SMda9VEFdRHzpCFiAzbUP+1g23pkIcvjJvcjCe
 FRUw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20210112;
 h=cc:to:subject:message-id:date:from:in-reply-to:references
 :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id
 :reply-to;
 bh=ynEQLyPuYdluPjl9vi4M9yXP/l+m3C+zh/HgLgDLEGQ=;
 b=OOD6w9OOC2oekK8zy1gaUCeRUABXfssLIoi/DP6ntTU5Tr3W3W2zmymnlzQMFZP6Xf
 zDzXRzp1aDfIL5jRl3xAY+eQHxdGrff2qLIypxd+uLeS7sh9X21yig8cT5yhVRTRuj6G
 OWLfSY2Q24XronoLyJFj8QpqMzokYD9V1FCsz5i7AqWG3As3tNarTo05CJ8Qt9nxrjAk
 gxIFTyPfBwhxgTpuCQ4Sy3PBkZKq8Q3C3McgLmti9KxhchhAN9zq2AjKAyo6IwK7ptwS
 ayygh7lbs2NYApJbWQAdyDn4FkSmkX8GdFkk9BPqcVpcfNEqfZOegtbszLmik34lL0fu
 sNyg==
X-Gm-Message-State: AO0yUKXI0ShmpXyMZblKYm8NEv5wsLkiC0wMYnFZX8Zv/ekrIlYSYnvE
 ikhxbnfnD/bEP2cd2PDyZ3CrGpteVbLscZsrbT8=
X-Google-Smtp-Source: AK7set9ck82PEQ5Ng3raoSwC/OJfVaVDTub5ZVm99lOL2IVjTNAiZkm+SkdPdNqxfN0P9ltumJh8ZLcvTialjUkT3DI=
X-Received: by 2002:a17:906:f07:b0:888:787d:2061 with SMTP id
 z7-20020a1709060f0700b00888787d2061mr1849295eji.11.1675349960867; Thu, 02 Feb
 2023 06:59:20 -0800 (PST)
MIME-Version: 1.0
References: <CAB3F3Dukoz3P3Ne7tCxMiwwAGm3Fv8r_fUkNbGAtGhAZDYDgCQ@mail.gmail.com>
 <ec952a9c-d810-4996-9ca9-1e9c6f6faca4@app.fastmail.com>
 <CAB3F3DvH3FnK8krykbcRVKc-z8F4yjt9mzYHevpYxaWkH4w9tw@mail.gmail.com>
 <CAD5xwhgFBQ-ScyBU5=WnREGsN-T=Nv=oR6vOsnHJ-ZMzDF8Vqg@mail.gmail.com>
 <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>
In-Reply-To: <Y9vOGVMJx1b9CPYq@petertodd.org>
From: Greg Sanders <gsanders87@gmail.com>
Date: Thu, 2 Feb 2023 09:59:09 -0500
Message-ID: <CAB3F3Du2XsHCh5o5S84XKKizTkrTFJJ-j42-qunyuSRkwX7H_Q@mail.gmail.com>
To: Peter Todd <pete@petertodd.org>
Content-Type: multipart/alternative; boundary="0000000000004ac71805f3b8cfff"
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: Thu, 02 Feb 2023 14:59:24 -0000

--0000000000004ac71805f3b8cfff
Content-Type: text/plain; charset="UTF-8"

Hi Peter,

For the most principled of reasons:

Because I have to change test vectors everywhere!

Greg

On Thu, Feb 2, 2023 at 9:52 AM Peter Todd <pete@petertodd.org> wrote:

> On Fri, Jan 27, 2023 at 09:05:20AM -0500, Greg Sanders via bitcoin-dev
> wrote:
> > Hello again dev,
> >
> > Due to the interest in the proposal and the prodding of certain folks,
> I've
> > written up a short draft BIP of the Ephemeral Anchors idea here:
> >
> https://github.com/instagibbs/bips/blob/ephemeral_anchor/bip-ephemeralanchors.mediawiki
> >
> > The pull request at https://github.com/bitcoin/bitcoin/pull/26403 has
> been
> > refreshed on top of the latest V3 proposal, but the BIP itself is
> > unaffected.
>
> The BIP states that:
>
>     Why OP_2 not OP_TRUE? OP_TRUE is often used in test vectors, using
> OP_2 has
>     the same benefits and none of these common collisions.
>
> Why is a "collision" harmful in this case?
>
> --
> https://petertodd.org 'peter'[:-1]@petertodd.org
>

--0000000000004ac71805f3b8cfff
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div>Hi Peter,</div><div><br></div><div>For the most princ=
ipled of reasons:</div><div><br></div>Because I have to change test vectors=
 everywhere!<div><br></div><div>Greg</div></div><br><div class=3D"gmail_quo=
te"><div dir=3D"ltr" class=3D"gmail_attr">On Thu, Feb 2, 2023 at 9:52 AM Pe=
ter Todd &lt;<a href=3D"mailto:pete@petertodd.org" target=3D"_blank">pete@p=
etertodd.org</a>&gt; wrote:<br></div><blockquote class=3D"gmail_quote" styl=
e=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);paddin=
g-left:1ex">On Fri, Jan 27, 2023 at 09:05:20AM -0500, Greg Sanders via bitc=
oin-dev wrote:<br>
&gt; Hello again dev,<br>
&gt; <br>
&gt; Due to the interest in the proposal and the prodding of certain folks,=
 I&#39;ve<br>
&gt; written up a short draft BIP of the Ephemeral Anchors idea here:<br>
&gt; <a href=3D"https://github.com/instagibbs/bips/blob/ephemeral_anchor/bi=
p-ephemeralanchors.mediawiki" rel=3D"noreferrer" target=3D"_blank">https://=
github.com/instagibbs/bips/blob/ephemeral_anchor/bip-ephemeralanchors.media=
wiki</a><br>
&gt; <br>
&gt; The pull request at <a href=3D"https://github.com/bitcoin/bitcoin/pull=
/26403" rel=3D"noreferrer" target=3D"_blank">https://github.com/bitcoin/bit=
coin/pull/26403</a> has been<br>
&gt; refreshed on top of the latest V3 proposal, but the BIP itself is<br>
&gt; unaffected.<br>
<br>
The BIP states that:<br>
<br>
=C2=A0 =C2=A0 Why OP_2 not OP_TRUE? OP_TRUE is often used in test vectors, =
using OP_2 has<br>
=C2=A0 =C2=A0 the same benefits and none of these common collisions.<br>
<br>
Why is a &quot;collision&quot; harmful in this case?<br>
<br>
-- <br>
<a href=3D"https://petertodd.org" rel=3D"noreferrer" target=3D"_blank">http=
s://petertodd.org</a> &#39;peter&#39;[:-1]@<a href=3D"http://petertodd.org"=
 rel=3D"noreferrer" target=3D"_blank">petertodd.org</a><br>
</blockquote></div>

--0000000000004ac71805f3b8cfff--