Return-Path: Received: from smtp1.osuosl.org (smtp1.osuosl.org [IPv6:2605:bc80:3010::138]) by lists.linuxfoundation.org (Postfix) with ESMTP id 62B39C002B for ; 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 ; 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 ; 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 ; Thu, 2 Feb 2023 14:59:22 +0000 (UTC) Received: by mail-ej1-x633.google.com with SMTP id hx15so6633350ejc.11 for ; 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: In-Reply-To: From: Greg Sanders Date: Thu, 2 Feb 2023 09:59:09 -0500 Message-ID: To: Peter Todd Content-Type: multipart/alternative; boundary="0000000000004ac71805f3b8cfff" Cc: Bitcoin Protocol Discussion 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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-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 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
Hi Peter,

For the most princ= ipled of reasons:

Because I have to change test vectors= everywhere!

Greg

On Thu, Feb 2, 2023 at 9:52 AM Pe= ter Todd <pete@p= etertodd.org> wrote:
On Fri, Jan 27, 2023 at 09:05:20AM -0500, Greg Sanders via bitc= oin-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.media= wiki
>
> The pull request at https://github.com/bitcoin/bit= coin/pull/26403 has been
> refreshed on top of the latest V3 proposal, but the BIP itself is
> unaffected.

The BIP states that:

=C2=A0 =C2=A0 Why OP_2 not OP_TRUE? OP_TRUE is often used in test vectors, = using OP_2 has
=C2=A0 =C2=A0 the same benefits and none of these common collisions.

Why is a "collision" harmful in this case?

--
http= s://petertodd.org 'peter'[:-1]@petertodd.org
--0000000000004ac71805f3b8cfff--