Delivery-date: Mon, 14 Apr 2025 06:54:25 -0700
Received: from mail-oo1-f59.google.com ([209.85.161.59])
	by mail.fairlystable.org with esmtps  (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256
	(Exim 4.94.2)
	(envelope-from <bitcoindev+bncBAABBB5H6S7QMGQEYXAYRWQ@googlegroups.com>)
	id 1u4KGX-0005bb-2I
	for bitcoindev@gnusha.org; Mon, 14 Apr 2025 06:54:25 -0700
Received: by mail-oo1-f59.google.com with SMTP id 006d021491bc7-6022020de0dsf3239544eaf.0
        for <bitcoindev@gnusha.org>; Mon, 14 Apr 2025 06:54:25 -0700 (PDT)
ARC-Seal: i=2; a=rsa-sha256; t=1744638859; cv=pass;
        d=google.com; s=arc-20240605;
        b=ReBEdqMr9rFn2axONBr9USSOR4FSatNLJbBE4bZcub+EBHAdWa9pBoGpCHlQzcvZGU
         zMJscQtTzGHMXwuPA4tDvH0p2lIpSHGtTY0GYHmuTskGXDe1ayTK5wVnDXdSeOyaF8GA
         jM6bRTYTfs8Yzx5ddjj4pQgxGyb4L8XcclBx/sUTd3RCpyF4YfeRKnEW/NoKXOl1sfaK
         qyk0LfW6nzg6MzUfDqjCDjNbm5InVoFCnMA8Ywf8HsnC79ZX0sOYbickYUxcvZhtRqIi
         LZCTGV48yNtdpp51cWKgcrJUWgz6nJNCV1m505L10Eu3Rn4bdUwJRPTxvbETUpoMON9e
         Mmsg==
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:content-transfer-encoding
         :mime-version:feedback-id:references:in-reply-to:message-id:subject
         :cc:from:to:date:sender:dkim-signature;
        bh=kc/vG2TWVFIuQuzY4M+G84OMzsxmIVjNAjuS+Z5qETw=;
        fh=P3oepkXoH2xYVbvOE+hgyF9ZrwORTm8sdASrIkyO+wE=;
        b=dF8oNMjjoOge+I8UKlB3CcwlMR36GzP7GPCdAmrNnDkS62USXBweoTWB3GNH+iZpvy
         kQatRYVushGWCk6CC/lTYONG7QsPntPoszq4uDMh+rxxKLbWGaNDdoigW9u33u4lU+ws
         P3BrcvSzpxk2vozzJ/7Jb2h1pKnVosAm2fGLXJm7Gq4FIuxF2opJlCXQOekFuNSpvQsZ
         pgLaUj1mdjzViwicEE386tUzBje1qAMiPjI7eC5ZoJgOI+rnCWNQ/l2DwSfDjtpqXtxt
         6BSaSjMGBVvy1DDVOurrg/lzbcaBWB0Oa0oCIuFtrXhU+5HImbaZYX0mWYgbfpj/dFV0
         2uMA==;
        darn=gnusha.org
ARC-Authentication-Results: i=2; gmr-mx.google.com;
       dkim=pass header.i=@wuille.net header.s=protonmail2 header.b=liNJc1rL;
       spf=pass (google.com: domain of bitcoin-dev@wuille.net designates 109.224.244.21 as permitted sender) smtp.mailfrom=bitcoin-dev@wuille.net;
       dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=wuille.net
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=googlegroups.com; s=20230601; t=1744638859; x=1745243659; darn=gnusha.org;
        h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post
         :list-id:mailing-list:precedence:x-original-authentication-results
         :x-original-sender:content-transfer-encoding:mime-version
         :feedback-id:references:in-reply-to:message-id:subject:cc:from:to
         :date:sender:from:to:cc:subject:date:message-id:reply-to;
        bh=kc/vG2TWVFIuQuzY4M+G84OMzsxmIVjNAjuS+Z5qETw=;
        b=BeT0bfreJt18XWlLytGT/mY+9O+PTcWqh99xKIHsV7XwwU5f57dBF8b11ObpDHt5lW
         LPwm1Y0kVLa+LSE+wLT9HtkE+87IGEndI0DUUq2sDU7pT3wlIE6fKqD1x+RWooeiyraf
         O+NUxayUPj1wH9PCT137iRfx3Vf2ODekxZTx1/Hwttx0gM7pkoJwgCmxY8fvC/sXT7FG
         gFls5jcWl016iG86gC8x2nkXbbd3nIBjAN5DDYUtDO43eHV4/kFAge/kFiRnj2hy+HVu
         82FmTaJY4H0iMdh1PXrbAXjKvbIWiLJyamCDh9ukUCuHz7NGJNdyWUEER28jmh78dg81
         qgKw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20230601; t=1744638859; x=1745243659;
        h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post
         :list-id:mailing-list:precedence:x-original-authentication-results
         :x-original-sender:content-transfer-encoding:mime-version
         :feedback-id:references:in-reply-to:message-id:subject:cc:from:to
         :date:x-beenthere:x-gm-message-state:sender:from:to:cc:subject:date
         :message-id:reply-to;
        bh=kc/vG2TWVFIuQuzY4M+G84OMzsxmIVjNAjuS+Z5qETw=;
        b=F+HkCN4YTKaOh6yc/CNJdAcqnR86onryXgW/VLD3md2cq3yuDtbE979rvy8NXDhFLM
         FNUXcb7Mf/SegMFtcfAe67nEzOjy9z28QUxVfleDhhw1zesLgPzFPj9ywORk3EDHIS0Z
         c2Gt76zGD6+e6vp3ZS+axiotbLrlHEI6NEbtzsB0xU9O9W8GLx3TIPML+zX7V8EMzLFL
         hOP+F+o5opp+LuyP53CZXMme3vVYp+jBgt0vsw032m2V+R8/TKhFeAas5IXM3PNJMiz8
         36w1QCtpziessICTO4hHdspzBFFKV9pxrbbSB5WsUFMYy+CO8rGh5z2ftgFndAERSfl9
         YQLA==
Sender: bitcoindev@googlegroups.com
X-Forwarded-Encrypted: i=2; AJvYcCV7xHUN9PSIC2GzLlf8Hi+vTGenPhBa4IiH73E04Ga6HndcsyYG/6+zDuxz0FviLtfQXMRepQwp9hzj@gnusha.org
X-Gm-Message-State: AOJu0YycMv8w6TpKkE4uxMZBqlqcfm5NqyLeraWp2wNT1M6Dc5xWaacN
	EYaYP3J/ore7BQpdh9oM1PfGqwij3QyGm1lhSJ53WXz0lDv/ibQX
X-Google-Smtp-Source: AGHT+IHXg6YpwDv1Fi0iJJMdn95ZdxnxCjvU6vUTZY4zM5qL/vt1c8X7yzGY29FLWmvogSdhEc4Tww==
X-Received: by 2002:a05:6820:1f03:b0:603:ffc3:60f6 with SMTP id 006d021491bc7-6046f4dfffbmr6832035eaf.1.1744638858655;
        Mon, 14 Apr 2025 06:54:18 -0700 (PDT)
X-BeenThere: bitcoindev@googlegroups.com; h=ARLLPALfLgaVKfpikjDfzaZU3vnsl0DGPtKYMVynkRWrrwO9iw==
Received: by 2002:a4a:e5d1:0:b0:600:3635:7454 with SMTP id 006d021491bc7-60464ad1b76ls1654542eaf.1.-pod-prod-07-us;
 Mon, 14 Apr 2025 06:54:14 -0700 (PDT)
X-Received: by 2002:a05:6808:14c6:b0:3f9:17f9:3096 with SMTP id 5614622812f47-4008500ea03mr8119175b6e.5.1744638854780;
        Mon, 14 Apr 2025 06:54:14 -0700 (PDT)
Received: by 2002:a05:6808:2d0c:b0:3f6:a384:eb6f with SMTP id 5614622812f47-40083eaf931msb6e;
        Mon, 14 Apr 2025 06:47:40 -0700 (PDT)
X-Received: by 2002:a17:902:ea01:b0:223:37b8:c213 with SMTP id d9443c01a7336-22bea4fdbaemr160201665ad.52.1744638458933;
        Mon, 14 Apr 2025 06:47:38 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; t=1744638458; cv=none;
        d=google.com; s=arc-20240605;
        b=V1LoJxlCBHLMCZDTScsA+bbmhgj/nJjjKyszABTPOn3gF+aOaSPBg/sdTlHaMuAybn
         HSQUfF7TNFnjROmuR2xVd/ORNXAz4rDnyr/mPOY62YKcnslpO4pghIJpsvIo23plgY0l
         EvZ1R0CZMjYOgP7YuGWiVEh+W3oJZlkgnoNm+p6nDxKtyVDUiWHKtOMVZFaidnHYIhP1
         ZsfLc9NT+bFhSTCV4TDOZDU6jSzE+WKNS4oZZ3EAm48zuMphcSKOTBSsEm3iVQfWjpi3
         VOWWoOXbGY9ld9W9yOncdSzGtKygrp5ds+fkACDRzX7/2ZcxkdPuqBmkuYR0kdle9XtH
         j9GA==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605;
        h=content-transfer-encoding:mime-version:feedback-id:references
         :in-reply-to:message-id:subject:cc:from:to:date:dkim-signature;
        bh=NwBfT5PoWmLmPZ+mDwg92H06U/pYb+oz2ptrMJfpM7s=;
        fh=MhNL3lrwfbsRO5DJHn9ZZ/LeA3+mAuX0vCziGEghh6s=;
        b=Nk3dia2K+8JoDJVNRWJzay/ymxAV4V+GV6xGxps92YbDgDrMsIUSr9cCuQp4zaA+HK
         zGkPkrDGzBFpjgiys2jl3qzTS0EMBh9pzPXUXFLoomwTnGZ7EsIsguVF/obq30Zxr/Gd
         LWIUNORqBSLk4WpvwTyVVdy/vS7HriO28/71jH4wYaT/HRn6h6YnGxectsFFgeVec1hF
         Bs5TVBb5hfg5vzvjQMxiWXinNxb3CYBz102V9+WYF8FTNbq5nmg1T4SKpDjDsLRYMXk4
         56DgrUpbVmI4/gHFrYRXq7NOZCh5bCevs0cTxIpYSZ6rEwjrRajIgKQgzMzU2EYTBt+Z
         mZUg==;
        dara=google.com
ARC-Authentication-Results: i=1; gmr-mx.google.com;
       dkim=pass header.i=@wuille.net header.s=protonmail2 header.b=liNJc1rL;
       spf=pass (google.com: domain of bitcoin-dev@wuille.net designates 109.224.244.21 as permitted sender) smtp.mailfrom=bitcoin-dev@wuille.net;
       dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=wuille.net
Received: from mail-24421.protonmail.ch (mail-24421.protonmail.ch. [109.224.244.21])
        by gmr-mx.google.com with ESMTPS id d2e1a72fcca58-73bd22cb006si306552b3a.3.2025.04.14.06.47.38
        for <bitcoindev@googlegroups.com>
        (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
        Mon, 14 Apr 2025 06:47:38 -0700 (PDT)
Received-SPF: pass (google.com: domain of bitcoin-dev@wuille.net designates 109.224.244.21 as permitted sender) client-ip=109.224.244.21;
Date: Mon, 14 Apr 2025 13:47:31 +0000
To: Ethan Heilman <eth3rs@gmail.com>
From: Pieter Wuille <bitcoin-dev@wuille.net>
Cc: Bitcoin Development Mailing List <bitcoindev@googlegroups.com>
Subject: Re: [bitcoindev] Post Quantum Signatures and Scaling Bitcoin
Message-ID: <p8kWp-qhHYIB-nMWGHI5GJ65j2Ve_apGJXG3QByimJrGHKcyrfZII1OG0I40KJMCyeV-HDuhLfg-29S3nfKu1k9cUbvtJ_N5n2x9jmopRxA=@wuille.net>
In-Reply-To: <CAEM=y+XMLuGH-MAfkYanfbU3Ynduw54jDVguKxgO2xEtnSEkZg@mail.gmail.com>
References: <CAEM=y+XMLuGH-MAfkYanfbU3Ynduw54jDVguKxgO2xEtnSEkZg@mail.gmail.com>
Feedback-ID: 19463299:user:proton
X-Pm-Message-ID: dc7f33f3b4bd3deab01a1d09bb8b89de18694d0b
MIME-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Original-Sender: bitcoin-dev@wuille.net
X-Original-Authentication-Results: gmr-mx.google.com;       dkim=pass
 header.i=@wuille.net header.s=protonmail2 header.b=liNJc1rL;       spf=pass
 (google.com: domain of bitcoin-dev@wuille.net designates 109.224.244.21 as
 permitted sender) smtp.mailfrom=bitcoin-dev@wuille.net;       dmarc=pass
 (p=NONE sp=NONE dis=NONE) header.from=wuille.net
Precedence: list
Mailing-list: list bitcoindev@googlegroups.com; contact bitcoindev+owners@googlegroups.com
List-ID: <bitcoindev.googlegroups.com>
X-Google-Group-Id: 786775582512
List-Post: <https://groups.google.com/group/bitcoindev/post>, <mailto:bitcoindev@googlegroups.com>
List-Help: <https://groups.google.com/support/>, <mailto:bitcoindev+help@googlegroups.com>
List-Archive: <https://groups.google.com/group/bitcoindev
List-Subscribe: <https://groups.google.com/group/bitcoindev/subscribe>, <mailto:bitcoindev+subscribe@googlegroups.com>
List-Unsubscribe: <mailto:googlegroups-manage+786775582512+unsubscribe@googlegroups.com>,
 <https://groups.google.com/group/bitcoindev/subscribe>
X-Spam-Score: -0.8 (/)

Hi Ethan,

thank you bringing this up. I'm unconvinced about the practicality, but I'm=
 happy to see thinking and discussion in this area.

Two points addressed below:

On Friday, April 4th, 2025 at 12:29 PM, Ethan Heilman <eth3rs@gmail.com> wr=
ote:

> If it is the case that we can
> handle these extra bytes without degrading performance or
> decentralization, then consider the head room we are giving up that
> could be used for scalability.

I don't disagree with the overall point raised here, but I do think it's wo=
rth distinguishing between the "size" (bandwidth/storage) and "computation"=
 (CPU/IO) aspects of scalability.

If it turns out to be the case that PQ schemes need more on-chain size, but=
 have lower per-byte computation cost, a reasonable argument could be made =
that a higher discount factor for PQ data is acceptable. I don't know what =
the trade-off here ought to be, and this does not diminish your "JPEG resis=
tance" argument, but I did want to point out that just counting size isn't =
the only constraint here.

> Such a system would present scaling issues for the mempool because
> prior to aggregation and compression, these transactions would be 2kb
> to 100kb in size and there would be a lot more of them. It is likely
> parties producing large numbers of transactions would want to
> pre-aggregate and compress them in one big many input, many output
> transactions. Aggregating prior to the miner may have privacy benefits
> but also scalability benefits as it would enable cut-throughs and very
> cheap consolidation transactions. ~87/txns a second does not include
> these additional scalability benefits.

I don't think pre-aggregation (beyond a single-transaction-wide one) is rea=
listic, as it effectively breaks in-mempool transaction replacement, turnin=
g every pre-aggregated group of transactions that is being relayed together=
 into an atomic package that must be taken or not as a whole. Consider for =
example the case where transactions P, C1, and C2 are relayed, with C1 and =
C2 depending on P. One node sees P and C1, but not C2, they may pre-aggrega=
te prior to relay. Another node sees P and C2, but not C1, they may pre-agg=
regate those prior to relay. These two packages (P+C1, P+C2) cannot be comb=
ined, so we've effectively forced the network/miners to choose between one =
of C1 or C2, unless the individual transactions are still available somewhe=
re.

I fear this is a very fast way to cause mining without direct-to-miner tran=
saction submission from users to become uncompetitive, making entering the =
mining business permissioned, and effectively removing the point of having =
a decentralized consensus mechanism in the first place.

--=20
Pieter

--=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/=
p8kWp-qhHYIB-nMWGHI5GJ65j2Ve_apGJXG3QByimJrGHKcyrfZII1OG0I40KJMCyeV-HDuhLfg=
-29S3nfKu1k9cUbvtJ_N5n2x9jmopRxA%3D%40wuille.net.