Abstract. Quantum devices capable of breaking Bitcoin public-key cryptosystems are reasonably expected within the next decade. The only known defense is to replace ECDSA with post-quantum schemes. Pont, Kearney, Moyer, and Pérez-Delgado (2024) rigorously prove a lower bound on the cumulative downtime for a full UTXO migration: 1827.96 hours (76.16 days) at 100% network throughput and 1306.80 hours (54.45 days) under the condition of pre-migration of all UTXOs to Taproot/Schnorr. The authors demonstrate the existence of a Just-In-Time quantum attack: once the UTXO public key is revealed in the mempool, an attacker with a quantum device (~66 seconds to crack at a 1 kHz clock rate) manages to intercept a transaction before block confirmation (10 minutes). This means that the migration must be completed before scalable quantum computers become available, not after. We systematize the arguments, reproduce key calculations, test the robustness of the conclusions to changing assumptions, and formulate testable questions for further research.
1. Statement of the problem and intrigue
Imagine a network worth approximately $500 billion, the security of which hinges on a mathematical problem solvable in 66 seconds on a device that hasn’t yet been built, but which experts estimate will be built with a ~31% probability within ten years. What is this network doing to prepare? So far, almost nothing at the protocol level.
Bitcoin secures transactions using the ECDSA (Elliptic Curve Digital Signature Algorithm) over the secp256k1 curve. ECDSA’s security is based on the difficulty of the discrete logarithm problem on an elliptic curve. Classical computers can’t solve it in polynomial time; quantum computers can, thanks to Shor’s algorithm. This isn’t a hypothetical vulnerability that will “someday” exist: it’s a structural property of the cryptosystem.
A natural, almost paradoxical question arises, which is the intrigue of the study:
The central question being tested is: can all Bitcoin UTXOs be migrated to post-quantum signatures securely , i.e., such that either the migration is completed before the advent of ECDSA-breaking quantum devices, or the intermediate state of the network does not create a window of vulnerability?
The naive answer is: “We’ll migrate gradually, as needed.” This is the strategy implicitly assumed by many studies, including Stewart et al. (2018). Pont et al. (2024) shows why this answer is incorrect , making two independent arguments:
- The scale argument (simple): even with absolutely optimal transaction packing and 100% network throughput, a full migration takes at least 76 days . This isn’t “a couple of hours for a patch.”
- Just-in-time (JIT) attack: once the owner reveals the public key in the mempool, an attacker with a quantum device can derive the private key and intercept the UTXO before the block is confirmed. Consequently, “safe” UTXOs with an undisclosed key no longer exist the moment the quantum device becomes accessible.
Together, these two arguments transform the task from “we’ll optimize it someday” into “a hard deadline that might arrive before we finish.” The research hypothesis being tested is:
Hypothesis and refutation criterion
Hypothesis H1: Passive waiting and gradual UTXO migration do not provide quantum security for Bitcoin, since (a) the cumulative downtime of migration is measured in tens of days, and (b) a just-in-time attack makes even UTXOs with an undisclosed public key vulnerable at the time of their first use.
What would disprove H1:
- Proof that the JIT attack requires quantum resources that are unachievable within the migration window (e.g., cracking time ≫ 10 minutes under realistic parameters).
- The existence of a soft-fork mechanism that migrates all UTXOs to post-quantum signatures without the need to move them and without a vulnerability window.
- Proof that a quantum device breaking ECDSA-256 is physically impossible or requires resources many orders of magnitude greater than estimated.
2. Physical Mechanism: How a Quantum Computer Breaks ECDSA
To make this article interesting for more than just specialists, we’ll explain the mechanism using a minimal example, without substituting an imprecise analogy.
2.1. Discrete logarithm problem
In the group of points of an elliptic curve over a finite field, a point G (generator) and a point are given Q = k·G. The problem is to find k. Classically, the best algorithms (ρ-Pollard) require ~ √n operations, where n is the order of the group. For a 256-bit curve, this is ~2,128 operations —an astronomical number.
2.2 Shor’s Algorithm
Shor’s algorithm reduces the discrete logarithm to the problem of finding the period of a function f(a,b) = a·G + b·Q. The quantum Fourier transform extracts the period in polynomial time. The key resource is not “magic parallelism,” but quantum interference of amplitudes, which allows one to increase the probability of a correct answer.
Scheme depth: D = O(m²), where m is the size of the search space in bits
For Bitcoin m = 256, where are D ≈ 256² = 65 536 the logical operations? At a clock rate of 1 kHz, this means ~66 seconds for a single hack. This is the quantitative basis for a JIT attack.
An important distinction: 65,536 is the number of logical operations. A real device would require error correction and, therefore, several orders of magnitude more physical qubits and time. The 66-second estimate is an optimistic lower bound, but it sets the scale of the threat. Even if the actual time is hours rather than seconds, the vulnerability window remains.
2.3. What quantum effects are really needed?
An attack on ECDSA requires superposition (to calculate the function on all inputs) and interference (to extract the period). Entanglement arises as a resource during the process, but is not a separate “ingredient” of the attack. Measurement is used at the end to read the result. Understanding this distinguishes the scientific description from the popular metaphor of “a quantum computer trying all options simultaneously.”
3. History of the issue and scientific debate
The idea of a quantum threat to cryptography dates back to the work of Shor (1994). It was systematically studied for Bitcoin by Aggarwal et al. (2017) and Kearney & Pérez-Delgado (2021). A key advance in understanding migration time came from the work of Stewart et al. (2018), who proposed a “slow defense”: a gradual transition of UTXOs to post-quantum signatures.
- 1994 – Shor publishes a polynomial-time quantum algorithm for factorization and discrete logarithm.
- 2012 — BIP 16: Transaction outputs begin using the hash of the public key, rather than the key itself. This creates the illusion that UTXOs with an undisclosed key are “safe.”
- 2017–2021 — Work by Aggarwal et al. and Kearney & Pérez-Delgado quantifies the vulnerability of blockchains.
- 2018 – Stewart et al. propose gradual migration as a “slow defense.”
- 2021 — Taproot activated in Bitcoin; Schnorr signatures reduce transaction sizes but remain vulnerable (discrete logarithm).
- 2024 — NIST approves FIPS 203/204/205 (ML-KEM, ML-DSA, SLH-DSA). Pont et al. publish an analysis of the idle time and just-in-time attack, questioning the “slow defense” strategy.
A scientific dispute: Stewart et al. explicitly assume that not all UTXOs need to be migrated before quantum computers become available. Pont et al. show that this assumption is incorrect due to a just-in-time attack. This isn’t a cosmetic clarification—it changes the very formulation of the migration problem: from “gradually, without rushing” to “before the deadline, otherwise it’s too late.”
4. JIT attack: mechanism and quantitative assessment
This is the central conceptual contribution of the article. Let’s examine it step by step.
4.1. Scenario
- Alice owns a UTXO with a public key that is still undisclosed (the standard situation after 2012).
- Alice initiates a transaction (e.g. to migrate to a post-quantum UTXO).
- The transaction is added to the mempool; Alice’s public key becomes publicly available.
- Attacker Charlie downloads the key and launches the quantum device.
- Charlie derives the private key in ~66 seconds (at 1 kHz) and signs his own transaction spending the same UTXO.
- Charlie uses the increased fee (or quantum advantage in mining) to ensure that his transaction is included in the block before Alice’s.

Attacker’s signature
Block wait (up to 600 seconds)Attack window: from public key disclosure to block confirmation. 66 seconds ≪ 600 seconds—the attacker has plenty of time to spare.
4.2 Why this breaks the “gradual migration” strategy
The argument that “UTXOs with an undisclosed key are secure and can be migrated later” breaks down the moment the quantum device already exists. As soon as Alice attempts to use such a UTXO—even for the migration itself—she reveals the key and becomes a victim. A vicious circle ensues:
The migration paradox: to migrate a UTXO to a post-quantum signature, the current public key must be revealed. But if a quantum device is already available, revealing the key equals losing the UTXO. Therefore, the migration must be completed before the device is available. Gradualism doesn’t help—it only extends the window during which some UTXO is already vulnerable.
The only workarounds imaginable are either protocol changes that don’t require key disclosure (e.g., a hash commitment followed by proof-of-knowledge) or hardware/cryptographic mechanisms that make a just-in-time attack unprofitable. Neither of these mechanisms is implemented in Bitcoin at the time of writing.
5. Methodology for calculating the lower limit of downtime
The authors deliberately construct a strict but not tight lower bound: they reduce all overhead costs to zero and assume perfect packaging. This makes the estimate unquestionably accurate (no technological improvements will reduce it), but obviously underestimated relative to reality.
5.1 Assumptions
- The only change to the protocol is the change to the signature scheme. Everything else (block time 10 minutes, block size 4 million WU) remains unchanged.
- All 4,000,000 WU of the block are available for migration transactions (header and transaction counter are ignored).
- One transaction contains many inputs and one output – minimizes metadata.
- UTXO number: 186,676,874 (June 2024).
5.2. Calculation for ECDSA-UTXO
A transaction with one input and one output takes 163 bytes = 445 WU. With perfect packing, 17,020 UTXO updates (many inputs, one output) fit into one block. Then:
Blocks = 186,676,874 / 17,020 ≈ 10,968
Time = 10,968 × 10 min ≈ 109,680 min = 1,828 h = 76.16 days
5.3. Calculation for Taproot/Schnorr-UTXO
Schnorr signatures allow key aggregation: one witness for all inputs. This allows 23,807 UTXOs to be packed into a block:
Blocks = 186,676,874 / 23,807 ≈ 7,841
Time = 7,841 × 10 min ≈ 78,410 min = 1,306.8 h = 54.45 days
Why is this a lower bound and not an estimate? In reality, part of the block is occupied by the header, transactions incur overhead, the network doesn’t operate at 100% capacity, and migrations compete with regular transactions. Real-world time will be longer . The authors emphasize that even this optimistic estimate demonstrates that “stopping the network for 76 days” is unacceptable.
6. Results and their sustainability

Interpretation: under a “soft” scenario with 25% throughput, the migration takes between 218 and 305 days —almost a year, during which the network operates at a quarter of its capacity, fees rise, and confirmations slow down. At 100% throughput, the network is effectively down for 54–76 days. Both scenarios are unacceptable for a network with a turnover of ~$1.45 billion per hour.
6.1 Robustness to Changes in Assumptions
The authors emphasize that the bound is strict , meaning it is not affected by technological improvements in algorithms or hardware. The only thing that can change it is a change in the Bitcoin protocol itself (reducing block time, increasing block size, or using different packing schemes). This is an important methodological point: the estimate is robust to “quantum progress” but sensitive to “protocol progress.”
A robustness test: if a twice-efficient packing algorithm were to appear tomorrow, the limit would drop to ~38 days (ECDSA)—still unacceptable. To make the migration “invisible” (say, <1 day), an efficiency increase of ~76 times is required, which is physically limited by the block size and the minimum input size.
7. A Fair Comparison: Post-Quantum Signatures and the Transition Cost
Post-quantum schemes standardized by NIST solve the security problem, but introduce a new one: size. Let’s compare signature sizes at an equivalent security level (256-bit):

At first glance, this doesn’t seem to affect the migration itself: inputs use ECDSA, and outputs are post-quantum signature hashes, the size of which can be preserved. However, after the migration, every new transaction spending a post-quantum UTXO will carry a full-size signature. This means a potential 10x slowdown in the network in steady-state mode (according to FALCON, the best-sized network).
The dilemma: migrating now means accepting a 10-fold slowdown and high fees. Waiting for more compact schemes increases the vulnerability window and the risk of a just-in-time attack. The authors point out that the NIST supplemental competition (closed in June 2023, with results expected by the end of 2025) is aimed at scheme diversification , not size reduction, so the hope of a “magic compact scheme” is scientifically unfounded.
7.1 What is stated: theory, experiment or prediction?
It is important to clearly distinguish between levels of evidence:
- Proven mathematically: lower bound for downtime (under the given assumptions).
- Estimated analytically: JIT cracking time (~66 s) based on Shor’s scheme depth.
- Predicted: The probability of a quantum device appearing within a decade (~31%) is an expert estimate, not a measurement.
- Not experimentally confirmed: a real quantum device that breaks ECDSA-256 does not exist at the time of writing.
This is why the article correctly formulates the conclusion as an assessment of future risk , and not as a statement of an attack that has already occurred.
8. Economic and social consequences
Network downtime is not an abstract concept. Estimates of the cost of IT infrastructure downtime range from $300,000 to $1 million per hour. For Bitcoin, with a turnover of approximately $1.45 billion per hour, the consequences could be orders of magnitude higher, especially given the market reaction: news of “network maintenance for 76 days” could devastate trust and the price.
8.1 Who cares?
- For holders and investors: risk of loss of funds due to a JIT attack and risk of price decline due to downtime.
- For miners: change in fee structure and possible quantum advantage in mining (a separate vulnerability mentioned in the article).
- To protocol developers: the need for consensus on one of the most controversial upgrades in Bitcoin history (similar to SegWit, which caused a split for years).
- For regulators and institutional investors: systemic risk to cryptoassets as a class.
8.2. Hidden Costs
The authors note that this estimate does not include time for research, discussion, decision-making, and implementation. Given Bitcoin’s decentralized nature (requiring ~90% miner consensus), this time could be measured in years. Adding it to the 76 days makes the deadline even tighter.
9. Open questions and next experiments
Following the research designer’s methodology, we formulate testable questions that develop the article and can form the basis of a series of publications.
Questions for further research
- JIT attack resource model: How does the hacking time change with realistic error and correction levels? At what number of physical qubits does the attack fail to fit within a 10-minute window? This is the key question for testing H1.
- Protocol workarounds: Are there soft-fork mechanisms (hash commitments, proof-of-knowledge, signature aggregation) that allow UTXO migration without revealing the public key in the mempool? This is a direct test of H1.
- Post-migration cost of ownership: How will a 10x increase in signatures impact throughput, fees, and decentralization in the long term?
- Downtime Economics: Is it possible to quantify Bitcoin’s price elasticity to downtime using historical data (exchange shutdowns, forks, outages)?
- Comparison with alternatives: How do Bitcoin’s migration costs compare to those of other blockchains (Ethereum, Bitcoin Cash) and traditional financial systems?
- Quantum advantage in mining: How does it interact with just-in-time attacks and change the threat model?
- Scheme Diversification: Does NIST’s Additional Competition Really Reduce Signature Size, or Just Increase Security?
9.1 How to connect works into a series
Suggested sequence of studies:
- Threat Statement: A Quantitative JIT Attack Model with Realistic Faults.
- Resource model: estimation of the number of physical qubits and time for different architectures.
- Robustness: The impact of error correction on the vulnerability window.
- Protocol context: what public data is available to the attacker and at what point.
- Security and migration: an assessment of soft-fork mechanisms and their trade-offs.
- Synthesis: what conclusions remain when initial assumptions change (robustness to “quantum” and “protocol” progress).
10. Conclusions
The article by Pont et al. (2024) transforms the abstract “quantum threat” into a concrete engineering and management challenge with measurable parameters. Three conclusions appear to be the most important:
- The scale of the problem: a complete migration of all Bitcoin UTXOs to post-quantum signatures requires at least 76 days of continuous operation at 100% throughput (54 days with a preliminary migration to Taproot/Schnorr). This is not a “one-hour patch.”
- Vulnerability window: A just-in-time attack renders the “migrate gradually, as needed” strategy pointless. As soon as a quantum device is accessible, revealing the public key in the mempool equals UTXO loss. Migration must be completed before this point.
- The cost of migration: post-quantum signatures are 10-120 times longer than ECDSA, which threatens to slow the network down by a factor of 10 after migration. Waiting for “better schemes” is not scientifically proven as a risk mitigation strategy.
The main thesis: Bitcoin is in a position where passive waiting isn’t a neutral choice—it actively increases risk. Starting the migration now , even with suboptimal parameters, the “wait for the perfect solution” strategy dominates. This is a rare case where engineering calculations directly dictate a management decision with a hard deadline, the exact date of which is unknown, but the arrival is inevitable.
For readers interested in the development of quantum technologies, this case study is valuable as a concrete example of how quantum advantage is ceasing to be a laboratory abstraction and becoming a factor influencing asset values, protocol architecture, and the decisions of millions of users. Further research should refine the resource model of the JIT attack and test the existence of protocol workarounds—these two questions determine whether H1 remains valid.
Sources
- Pont JJ, Kearney JJ, Moyer J., Pérez-Delgado CA Downtime Required for Bitcoin Quantum Safety . University of Kent, 2024.
- Stewart I., Ilie D., Zamyatin A., Werner S., Torshizi M., Knottenbelt WJ Committing to quantum resistance: a slow defense for Bitcoin against a fast quantum computing attack . Royal Society Open Science, 5(6), 180410, 2018.
- Aggarwal D., Brennen GK, Lee T., Santha M., Tomamichel M. Quantum attacks on Bitcoin, and how to protect against them . arXiv:1710.10377, 2017.
- Kearney JJ, Pérez-Delgado CA Vulnerability of blockchain technologies to quantum attacks . Array, 10, 100065, 2021.
- Shor PW Algorithms for quantum computation: discrete logarithms and factoring . FOCS, 1994.
- National Institute of Standards and Technology. FIPS 203 (ML-KEM), FIPS 204 (ML-DSA), FIPS 205 (SLH-DSA) , 2024. URL: https://csrc.nist.gov/news/2024/postquantum-cryptography-fips-approved
- National Institute of Standards and Technology. Migration to Post-Quantum Cryptography . NCCoE. URL: https://www.nccoe.nist.gov/applied-cryptography/migration-to-pqc
- National Quantum Initiative. URL: https://www.quantum.gov/national-quantum-initiative/
- Cheung D., Maslov D., Mathew J., Pradhan DK On the design and optimization of a quantum polynomial-time attack on elliptic curve cryptography . TQC, 2008.
- Bitcoin Community. Taproot Upgrade , 2021. URL: https://bitcoin.org/en/bitcoin-core/taproot-upgrade
- Andresen G. BIP 16: Pay to Script Hash , 2012.
- Mosca M., Piani M. Quantum Threat Timeline Research Report 2023 . EvolutionQ, 2023.
Quantum computing, cryptography, Bitcoin, post-quantum circuits, JIT attack, risk analysis
