Return-Path: Received: from smtp3.osuosl.org (smtp3.osuosl.org [IPv6:2605:bc80:3010::136]) by lists.linuxfoundation.org (Postfix) with ESMTP id 9B04EC0029 for ; Sat, 3 Jun 2023 12:43:50 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp3.osuosl.org (Postfix) with ESMTP id 61BC260B13 for ; Sat, 3 Jun 2023 12:43:50 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 smtp3.osuosl.org 61BC260B13 Authentication-Results: smtp3.osuosl.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20221208 header.b=W3LjHw0i 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 smtp3.osuosl.org ([127.0.0.1]) by localhost (smtp3.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id gGNJuhH8sdmY for ; Sat, 3 Jun 2023 12:43:49 +0000 (UTC) X-Greylist: whitelisted by SQLgrey-1.8.0 DKIM-Filter: OpenDKIM Filter v2.11.0 smtp3.osuosl.org 5A04B60A47 Received: from mail-ej1-x632.google.com (mail-ej1-x632.google.com [IPv6:2a00:1450:4864:20::632]) by smtp3.osuosl.org (Postfix) with ESMTPS id 5A04B60A47 for ; Sat, 3 Jun 2023 12:43:49 +0000 (UTC) Received: by mail-ej1-x632.google.com with SMTP id a640c23a62f3a-969f90d71d4so447130066b.3 for ; Sat, 03 Jun 2023 05:43:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1685796227; x=1688388227; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=lfJbB4nnOpiRcDU4kn5wDRxl3r2/PAbo+jeQsRN6N8Y=; b=W3LjHw0idNZy5YOztA5BrWdTslNQhMHL7gNFUg2e0go188DQm7Sz33t1hbZoCFlNBA SJN81AXYOaI5w1zk3OBgrX18um17ci8SDkWjoXYPFsEaqP5At8hTLywoFj1e4wGXKNZH qdZ1vjsXtFNqBz26/ZNoYlwWJYKDWagdkTGG7eglJaUV3xPA0PRumC0aWEqWsXc15/Cy vpGWQzEYhvbZjEAGcSMqjZxvRk89hb1JjJRnI+q9b0ZUW+4QmYMLr9RKkhQvcbVd8w9k hF41Y437odNNkKhZa+4ScyvI6nEXKLp4Vk5WsFCrfGLK4u3io5H9TzKGKBF7K9uN2XHW FgeQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1685796227; x=1688388227; 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=lfJbB4nnOpiRcDU4kn5wDRxl3r2/PAbo+jeQsRN6N8Y=; b=U4AupJuCw+WahyYmUYAWIpDNrqIwEVZwLDc8WcuEfyGFoVhGSW0mEUhnglkJpGDnRN tleTngSacoDWbEZvldfRWgbTuC6DDcjqQja5VkuNjmTT8qDNmgO/qvPktn4G09SYdqxn t8XLnH342j5aorwJoSVHoyen9OzycUGHVVO34+OsCZ7mUUB5E4MkJFpWhruYchc1Wmr0 Vey3QHzTrByrynYP0qyebi6EVE/2fXkzjYht/lHjK8D7UJYAb8i0HMfxntKylQ6at54d 40gc+K67PJ5NLHI15l/XvrC/FUBW/5KRLD9T501mlr484IsLcQ5UNP90cHvCBn6eqQo5 mAtQ== X-Gm-Message-State: AC+VfDzFt1c7l5NtL8PnMcgdIviwKSStQfPYw31m9Am+cUkX1v6v6RDo vxWOzCEq/eObNPTpVk4ml+G8C7QsL/ZH2bHfMsg= X-Google-Smtp-Source: ACHHUZ5huYIzNQyjcfTdic14xazhLCC3or1p/y5Z3I9g99fhXjDa/umUs8AGey7qF3eu3En158MnveZYYvkCdQgwCqM= X-Received: by 2002:a17:907:724b:b0:94f:395b:df1b with SMTP id ds11-20020a170907724b00b0094f395bdf1bmr1223093ejc.21.1685796227207; Sat, 03 Jun 2023 05:43:47 -0700 (PDT) MIME-Version: 1.0 References: <29ff546a6007cec1a0f85b91541f8e4d@dtrt.org> In-Reply-To: From: Greg Sanders Date: Sat, 3 Jun 2023 08:43:38 -0400 Message-ID: To: Joost Jager Content-Type: multipart/alternative; boundary="00000000000049584c05fd390550" Cc: Bitcoin Protocol Discussion Subject: Re: [bitcoin-dev] Standardisation of an unstructured taproot annex 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: Sat, 03 Jun 2023 12:43:50 -0000 --00000000000049584c05fd390550 Content-Type: text/plain; charset="UTF-8" No in this case the txid is identical. Only the wtxid is malleated, with annex data stuffed to max transaction size. Cheers, Greg On Sat, Jun 3, 2023, 8:36 AM Joost Jager wrote: > > Depending on policy to mitigate this annex malleability vector could >> mislead developers into believing their transactions are immune to >> replacement, when in fact they might not be. >> >> The issue I'm talking about is where someone's transaction is denied >> entry into the mempool entirely because a counter-party decided to put in a >> strictly worse transaction for miners by bloating the weight of it, not >> adding fees. A strictly worse "API" for paying miners for no gain seems >> like a bad trade to me, especially when there are reasonable methods for >> mitigating this. >> > > Just to expand this, an example would be a transaction with inputs A' and > B' signed by two parties A and B. A has a fully signed transaction in > hands, but can't publish it because B created and published an alternative > version of it with a large annex for input B'. Wouldn't miners just accept > A's version because it's fee rate is higher? I am looking at this case > assuming the user has a direct connection to a miner, ignoring any > potential concerns related to p2p transport. > > Joost > --00000000000049584c05fd390550 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
No in this case the txid is identical. Only the wtxid is = malleated, with annex data stuffed to max transaction size.=C2=A0

Cheers,
Greg

On Sat, Jun 3, 2023, 8:36 AM Joost Jager <joost.jager@gmail.com> wrote:
> Depending on= policy to mitigate this annex malleability vector could mislead developers= into believing their transactions are immune to replacement, when in fact = they might not be.=C2=A0

The issue I'm tal= king about=C2=A0is where someone's transaction is denied entry into the= mempool entirely because a counter-party decided to put in a strictly wors= e transaction for miners by bloating the weight of it, not adding fees. A s= trictly worse "API" for paying miners for no gain seems like a ba= d trade to me,=C2=A0especially when there are reasonable methods for mitiga= ting this.

Just to expand this,= an example would be a transaction with inputs A' and B' signed by = two parties A and B. A has a fully signed transaction in hands, but can'= ;t publish it because B created and published an alternative version of it = with a large annex for input B'. Wouldn't miners just accept A'= s version because it's fee rate is higher? I am looking at this case as= suming the user has a direct connection to a miner, ignoring any potential = concerns related to p2p transport.

Joost
--00000000000049584c05fd390550--