From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Mon, 28 Apr 2025 17:20:04 -0700 Received: from mail-oi1-f187.google.com ([209.85.167.187]) by mail.fairlystable.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.94.2) (envelope-from ) id 1u9Yhf-0004mf-Ot for bitcoindev@gnusha.org; Mon, 28 Apr 2025 17:20:04 -0700 Received: by mail-oi1-f187.google.com with SMTP id 5614622812f47-3f85d071f94sf5306832b6e.1 for ; Mon, 28 Apr 2025 17:20:03 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1745885998; cv=pass; d=google.com; s=arc-20240605; b=bEgsVI7cCtcoJA77CYGlMViwJ8dLyl/rp5hqPFJJGrDOW5xUNHACIcaxaRhNNlsePT bXaKiI1jjcbjHcCWqM19sgxgejoYMRi0loudWeR4eXfMt/0rn1pH4xNhki15+KLwt8s+ /RLhSRWOorNBPWkDCcnbu8Gicc+29x7qTCaTp6gXobvvnnYrXXdXKR8ijQ+sm8o/2Xl0 ZkrFkdCLjcjkDmCN6NN0yhVJMDWIHZ92rMjDypP9t/uI/lTnB1abrzpY0W2j8UPI/MgU GnH4RtSNQHEomJhGiw4Zwv0kSEZR2nfz0l8Hl4zKkVyDJPGu5ZG5SvIKLj3aq5hq8dgj hGLQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:reply-to:cc:to:subject:message-id :date:from:in-reply-to:references:mime-version:dkim-signature; bh=HZFLP4mg50jOXwC5dp2VQLqxptvZWKaxOWfcs8+Q+rM=; fh=PT7MqDj5uzOyGrjwdVdRRiqPmMlPeEnuvegln7s9bL0=; b=PsPNs+58ZyQFafwtZ8YaJZDLbJwpxWbQiUDmaFMhqehHdUSb6O3DQp32jyJUlzYZSK aVaMcswzFsndn40x8ymzWdOAESV4zl3c+rKo0Fjcl1POlSL4tDxjWC0iBEexZRyGuHAV jiJAKaBWRH+NsJr/yTQUiyl32mo7i6Kea41wrJ9WmVxlwGs69FYwauCMJJxPHqJfM45v x/9q77Gry6Wa1Zh69btG9iTcGHBSGS1BheXgAMmJGEg+M/AFwYV/PVmrZaypIbI7Bjdb sbx4P6cyC5gN42/3zSVamKpkM96Xbc6naV1/SJVT/iLPPZm2hiYNFEiDAz15wyI1GqY4 HXVg==; darn=gnusha.org ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@blockstream.com header.s=google header.b=PEJalwUR; spf=pass (google.com: domain of roconnor@blockstream.com designates 2607:f8b0:4864:20::1032 as permitted sender) smtp.mailfrom=roconnor@blockstream.com; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=blockstream.com; dara=pass header.i=@googlegroups.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20230601; t=1745885998; x=1746490798; darn=gnusha.org; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:reply-to :x-original-authentication-results:x-original-sender:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version:from:to:cc :subject:date:message-id:reply-to; bh=HZFLP4mg50jOXwC5dp2VQLqxptvZWKaxOWfcs8+Q+rM=; b=KKNXZk4QdpVeEMbfp4wYDkKxu8dSFU24BqmRpH3y2URj4OM+kF7Z2ns83ar68YvSC+ gZHBW5YgOuVQTeUpp6Wky0PZlw84WwvaP/9DdCNFX+n0WuENfRvLFeoOE/6k8p18+vXt MvaAJR2nay/EMWzQl2C9PkC5gmsaKJ4JIcWk6u4Oz2U+G8dqKgorQ59ARPQPHmx6641F lxyNmDNnKQZAMRfUUprU3zaXW3NT47ZUY7PNxbGBfvAaSH4jnLWTJbW8+WeBp2KrgY4J PB6EGrJbHutKWvJVhptFUDs7cjh5VLLfVN8M69D4pvLxlITOp7hOg1/yG2ITpNFrlME6 rtYA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1745885998; x=1746490798; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:reply-to :x-original-authentication-results:x-original-sender:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :x-beenthere:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=HZFLP4mg50jOXwC5dp2VQLqxptvZWKaxOWfcs8+Q+rM=; b=aE88pJMRDfYC9LFY7sPCzBfJgnXDa6hy+lCqAgNXcwQyKvsZi6s93UuNG38ZzNzs2k pfg3XI0CT295gymWjPf1SKWvUNEN4mXYSpdBi8fA/ZZVPCx2UE8wpwhvppu+CjgP1Ok6 +azwqQ+E8EpaJ7WqAbH0DxBmgLA70jhtMLvkDF/ees2jl3EJy+R9xkvDlMu5GsRIpzYw PTQRhTZmnhgI591K8YpgZsZ7Fqzw4dZHWo6NNEMJSlEs8K0SqUgpl+TO0keorMCb5lPV 4q4Fqznd0jQUzS6gwg2oKhn2hfv58sx8aUQoxWH3DAD0o4VNLZbbWLs6xGVsYbHENZii xbtw== X-Forwarded-Encrypted: i=2; AJvYcCXltuh8ScT50O/sw9ubYjV1EtL61SwoUX20nZQXrrXsXA9UMD+ed7Bw5Wti67Vci4hV3PWo6689cHdA@gnusha.org X-Gm-Message-State: AOJu0YzOhoKJhrf7BtDZYwtChEuatmUd/etGpaROm+NroqhpG4pjV2N5 paZCzxtHQ6bX4DeiQrIoWRURI2n8lAJOxY08pJbOr7F0L18hgFBB X-Google-Smtp-Source: AGHT+IGVMSSyoXShoSgmIcMTdfE32c3zy8VXOhq1/W9AY3x8tzkd3i9vLjN+6DmMX7HeIPuWbejjJw== X-Received: by 2002:a05:6808:338b:b0:3fa:82f6:f74d with SMTP id 5614622812f47-40210805d5fmr1091583b6e.23.1745885997852; Mon, 28 Apr 2025 17:19:57 -0700 (PDT) X-BeenThere: bitcoindev@googlegroups.com; h=AVT/gBFYNyEejba+BcdmzfozdInqKprqykBNSLAmViTAggeDjg== Received: by 2002:a4a:eac4:0:b0:606:8665:33d0 with SMTP id 006d021491bc7-60686653778ls54371eaf.2.-pod-prod-09-us; Mon, 28 Apr 2025 17:19:55 -0700 (PDT) X-Received: by 2002:a54:4390:0:b0:401:ea99:532 with SMTP id 5614622812f47-402107fbabbmr732299b6e.21.1745885994941; Mon, 28 Apr 2025 17:19:54 -0700 (PDT) Received: by 2002:a05:6808:2002:b0:3fa:da36:efcd with SMTP id 5614622812f47-401f2fc0e20msb6e; Mon, 28 Apr 2025 09:13:14 -0700 (PDT) X-Received: by 2002:a17:90b:53cc:b0:2f8:b2c:5ef3 with SMTP id 98e67ed59e1d1-30a21550733mr644716a91.14.1745856793381; Mon, 28 Apr 2025 09:13:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1745856793; cv=none; d=google.com; s=arc-20240605; b=OX8R3mBSBi9QXBmCOCxN5pj+z+r28sXO3Ffj6GEilCI7cbjFbINt12v5SmK1/70vAm XrQ6bhLy6/Yw6UY6KLOzNRH8Cx5sf00NDvFkOfs//pq5TDdDPpARi/GEGpqayacF864f 49mEtiURn13dncTUfnma1Q2O44S6NLyKo70SjNVMoBKLENoqR3AdIL8lCTM0CUDluwTf MQDSgjDxg1YaQ+NBpnhPX5SDiRL+I3QgQR3pbGRv3HN/6vSUWS2Yjz4KosvPJaPvvb0f 1vNEhuRIfMb3bu+WJ9NJ9ziR+yy5yr2uvi/yAtK3g7Wz/uAxjvV3l35XXYLFSzxu64ah ww+g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:dkim-signature; bh=y8WKnWZEeIxIozPKlx6TPNsog5W1/IW4JDGEVYn5fOY=; fh=psWP3UCtCzzPEOUoUzVM9ZZK8adYsTeWDAKCd6L5Zok=; b=Zv9xut/gcJzDwoZw7Pwrf/9sw3K+SZ0/MrM/617E+TPGQlhtmMyaHVFq2g1M7QJZO8 WPGva8hGMGDEScOWal0a2gX/NUOehVVdwTv8uY3qYMKE6xjxWUs0jliBuqDd3WdghXX8 lXnWrxMPEYADJWkw2HH7/1etJimUisI2f4IgG4IL9o65Ka8ZnXRMIgIOxPoVqRgIPTNT ErORg3PJSBpbBUJJQKTGz5lZrzM5zfotMlbT6lpyw2EswURB7va8wE7KKyMWs1C6IxSL 9OfDoyi6u5/cvHBPiNYjoS9DfQUuKpg4rt/EyF59o+T0KJaVwKVqO2GqPWrzg4QrvlOH ARmA==; dara=google.com ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@blockstream.com header.s=google header.b=PEJalwUR; spf=pass (google.com: domain of roconnor@blockstream.com designates 2607:f8b0:4864:20::1032 as permitted sender) smtp.mailfrom=roconnor@blockstream.com; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=blockstream.com; dara=pass header.i=@googlegroups.com Received: from mail-pj1-x1032.google.com (mail-pj1-x1032.google.com. [2607:f8b0:4864:20::1032]) by gmr-mx.google.com with ESMTPS id 98e67ed59e1d1-309d62be984si5198a91.1.2025.04.28.09.13.13 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 28 Apr 2025 09:13:13 -0700 (PDT) Received-SPF: pass (google.com: domain of roconnor@blockstream.com designates 2607:f8b0:4864:20::1032 as permitted sender) client-ip=2607:f8b0:4864:20::1032; Received: by mail-pj1-x1032.google.com with SMTP id 98e67ed59e1d1-3035858c687so4184309a91.2 for ; Mon, 28 Apr 2025 09:13:13 -0700 (PDT) X-Gm-Gg: ASbGnctAopF7UN5afvpBE0oh+yhLOEVy5won2QGv76WRND1xoe+8B5SJvEEzqFQnOVg MVsOHSMvlivGv1rUdDCnC4IgnRZMAqdM/ByULtysqNeR9QySC8YzLlilIjNboMJrglgVv0f4pLZ MAWb0yikJphHuJsCG+/i8h X-Received: by 2002:a17:90b:2d08:b0:2fe:b9be:216 with SMTP id 98e67ed59e1d1-30a215a9e35mr494282a91.31.1745856792801; Mon, 28 Apr 2025 09:13:12 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: "'Russell O'Connor' via Bitcoin Development Mailing List" Date: Mon, 28 Apr 2025 12:13:01 -0400 X-Gm-Features: ATxdqUG4I-ekCP4LDvUFhqA9sccaLFpewM5prMIAMmIIpMAt3qh8OmLZwZO_ivQ Message-ID: Subject: Re: [bitcoindev] Standard Unstructured Annex To: Peter Todd Cc: bitcoindev@googlegroups.com Content-Type: multipart/alternative; boundary="000000000000f6c5fc0633d8f567" X-Original-Sender: roconnor@blockstream.com X-Original-Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@blockstream.com header.s=google header.b=PEJalwUR; spf=pass (google.com: domain of roconnor@blockstream.com designates 2607:f8b0:4864:20::1032 as permitted sender) smtp.mailfrom=roconnor@blockstream.com; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=blockstream.com; dara=pass header.i=@googlegroups.com X-Original-From: "Russell O'Connor" Reply-To: "Russell O'Connor" Precedence: list Mailing-list: list bitcoindev@googlegroups.com; contact bitcoindev+owners@googlegroups.com List-ID: X-Google-Group-Id: 786775582512 List-Post: , List-Help: , List-Archive: , List-Unsubscribe: , X-Spam-Score: -1.0 (-) --000000000000f6c5fc0633d8f567 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Can you provide more details on how all inputs having an annex prevents transaction pinning attacks in multi-party protocols? >From my naive understanding, in multi-party protocols one party can grief by inflating the weight of their annex and broadcast their heavier / lower-fee rate version of the transaction, and having an annex in all inputs does not help this because one party can still change their own annex, resign, and broadcast their heavier transaction. However, I'm not up to date on the latest details about full RBF and pinning attacks, so there is a good chance I'm missing something here. On Wed, Mar 19, 2025 at 9:02=E2=80=AFPM Peter Todd wro= te: > I'm working on adding support for the taproot annex to Libre Relay: > > > https://github.com/petertodd/bitcoin/commit/04c8e449a34e74e048bf5751d1359= 2a22763ff7e > > I'm basing this on Joost Jager's pull-req: > https://github.com/bitcoin/bitcoin/pull/27926 > > Specifically, transactions containing taproot annexes will be standard > if: > > 1) All non-empty annexes start with the byte 0x00, to distinguish them > from consensus-relevant annexes. This ensures that any use of the > annex will not conflict with future soft-forks that may assign > meaning to the annex. > > 2) All inputs have an annex. This ensures that use of the annex is > opt-in, preventing transaction pinning attacks in multi-party > protocols. This requirement may be relaxed in the future, eg to allow > spends of keyless outputs, and/or if RBF for witness-only > replacements is implemented. > > An example of a transaction meeting these requirements is: > > > 010000000001011a559447098aaa14dec0c62ea55f43f9ce6bda07d1759f11b634334ab9d= a939b0000000000ffffffff010000000000000000076a05616e6e657802406840b6fa27a00b= a001cc92797ce4f3ab7b7a32c21d1fce49e893b42e506bd92e8db187966a84ef799915cf671= 334cc59779915b192bfb66b2afcf384bb61d0f422500049276d20616e20616e6e6578212041= 726520796f7520616e20616e6e65783f0000000000 > > -- > https://petertodd.org 'peter'[:-1]@petertodd.org > > -- > You received this message because you are subscribed to the Google Groups > "Bitcoin Development Mailing List" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to bitcoindev+unsubscribe@googlegroups.com. > To view this discussion visit > https://groups.google.com/d/msgid/bitcoindev/Z9tg-NbTNnYciSOh%40petertodd= .org > . > --=20 You received this message because you are subscribed to the Google Groups "= Bitcoin Development Mailing List" group. To unsubscribe from this group and stop receiving emails from it, send an e= mail to bitcoindev+unsubscribe@googlegroups.com. To view this discussion visit https://groups.google.com/d/msgid/bitcoindev/= CAMZUoKkczgSZiJAjicBLTVhA88egqpLF8y%2BzN3LmZ14yAdRY1Q%40mail.gmail.com. --000000000000f6c5fc0633d8f567 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Can you provide more details o= n how all inputs having an annex prevents transaction pinning attacks in mu= lti-party protocols?

From my naive understanding, = in multi-party protocols one party can grief by inflating the weight of the= ir annex and broadcast their heavier / lower-fee rate version of the transa= ction, and having an annex in all inputs does not help this because one par= ty can still change their own annex, resign, and broadcast their heavier tr= ansaction.

However, I'm not up to date on the = latest details about full RBF and pinning attacks, so there is a good chanc= e I'm missing something here.

On Wed, M= ar 19, 2025 at 9:02=E2=80=AFPM Peter Todd <pete@petertodd.org> wrote:
I'm working on adding support for the taproo= t annex to Libre Relay:

https://github.c= om/petertodd/bitcoin/commit/04c8e449a34e74e048bf5751d13592a22763ff7e
I'm basing this on Joost Jager's pull-req: http= s://github.com/bitcoin/bitcoin/pull/27926

Specifically, transactions containing taproot annexes will be standard
if:

1) All non-empty annexes start with the byte 0x00, to distinguish them
=C2=A0 =C2=A0from consensus-relevant annexes. This ensures that any use of = the
=C2=A0 =C2=A0annex will not conflict with future soft-forks that may assign=
=C2=A0 =C2=A0meaning to the annex.

2) All inputs have an annex. This ensures that use of the annex is
=C2=A0 =C2=A0opt-in, preventing transaction pinning attacks in multi-party<= br> =C2=A0 =C2=A0protocols. This requirement may be relaxed in the future, eg t= o allow
=C2=A0 =C2=A0spends of keyless outputs, and/or if RBF for witness-only
=C2=A0 =C2=A0replacements is implemented.

An example of a transaction meeting these requirements is:

010000000001011a559447098aaa14dec0c62ea55f43f9ce6bda07d1759f11b634334ab9da9= 39b0000000000ffffffff010000000000000000076a05616e6e657802406840b6fa27a00ba0= 01cc92797ce4f3ab7b7a32c21d1fce49e893b42e506bd92e8db187966a84ef799915cf67133= 4cc59779915b192bfb66b2afcf384bb61d0f422500049276d20616e20616e6e657821204172= 6520796f7520616e20616e6e65783f0000000000

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

--
You received this message because you are subscribed to the Google Groups &= quot;Bitcoin Development Mailing List" group.
To unsubscribe from this group and stop receiving emails from it, send an e= mail to bitcoindev+unsubscribe@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/bitcoindev/Z9tg-NbTNnYciSOh%40pete= rtodd.org.

--
You received this message because you are subscribed to the Google Groups &= quot;Bitcoin Development Mailing List" group.
To unsubscribe from this group and stop receiving emails from it, send an e= mail to bitcoind= ev+unsubscribe@googlegroups.com.
To view this discussion visit https://groups.google.com/d/= msgid/bitcoindev/CAMZUoKkczgSZiJAjicBLTVhA88egqpLF8y%2BzN3LmZ14yAdRY1Q%40ma= il.gmail.com.
--000000000000f6c5fc0633d8f567--