Bitcoin Forum
July 23, 2025, 08:45:00 AM *
News: Latest Bitcoin Core release: 29.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Will Quantum-Resistant Bitcoin Break Existing ASIC Miners?  (Read 105 times)
BATTLEROYALXS (OP)
Newbie
*
Offline Offline

Activity: 7
Merit: 1


View Profile
July 18, 2025, 12:22:33 PM
Merited by stwenhao (1)
 #1

Hi everyone,

I've been researching quantum computing and its potential impact on Bitcoin, and a key concern came up:

If Bitcoin eventually upgrades to a quantum-resistant signature scheme (e.g., replacing ECDSA), wouldn’t that make current ASIC miners obsolete, since they're all optimized for the current cryptographic assumptions?

That leads me to a few big questions:

Would such an upgrade render all existing mining equipment useless unless hardware is redesigned for the new algorithm?

How would manufacturers like Bitmain and the rest of the ecosystem adapt?

What would be the timeline for this transition if it ever happens? 5 years? 10?

And finally, how would this affect small/retail miners who are still heavily investing in current-generation hardware?

Is this a real threat we’re underestimating, or just distant speculation?

Thanks for your thoughts!

FP91G
Legendary
*
Offline Offline

Activity: 2072
Merit: 1270



View Profile
July 18, 2025, 08:08:12 PM
 #2

The public keys of the first Satoshi wallets can be found freely available on the blockchain. If someone can use a quantum PC to pick up the private key, then the old wallets will probably change owners. I think it's still too long for that.

Read about quantum security
https://bitcointalk.org/index.php?topic=5536662

█████████████████████████
████████▀▀████▀▀█▀▀██████
█████▀████▄▄▄▄████████
███▀███▄███████████████
██▀█████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
██▄███████████████▀▀▄▄███
███▄███▀████████▀███▄████
█████▄████▀▀▀▀████▄██████
████████▄▄████▄▄█████████
█████████████████████████
 
 BitList 
█▀▀▀▀











█▄▄▄▄
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
.
REAL-TIME DATA TRACKING
CURATED BY THE COMMUNITY

.
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀▀█











▄▄▄▄█
 
  List #kycfree Websites   
ABCbits
Legendary
*
Offline Offline

Activity: 3304
Merit: 8948



View Profile
July 19, 2025, 08:33:29 AM
 #3

I've been researching quantum computing and its potential impact on Bitcoin, and a key concern came up:

If Bitcoin eventually upgrades to a quantum-resistant signature scheme (e.g., replacing ECDSA), wouldn’t that make current ASIC miners obsolete, since they're all optimized for the current cryptographic assumptions?

ASIC only perform SHA-256 twice on 80-byte data (block header), so it doesn't care what kind of signature cryptography used in Bitcoin TX.

stwenhao
Sr. Member
****
Offline Offline

Activity: 325
Merit: 631


View Profile
July 19, 2025, 09:46:38 AM
Merited by NotFuzzyWarm (1)
 #4

Quote
wouldn’t that make current ASIC miners obsolete, since they're all optimized for the current cryptographic assumptions?
No. If ECDSA will be fully broken, and SHA-256 will be still strong, then nothing will change from the miners' perspective. And if SHA-256 will be broken, then everything else will be broken too (including ECDSA), but in that case, re-hashing the whole chain will be needed. For SHA-256, there are no known shortcuts today, when it comes to post-quantum algorithms, which means, that mining is unaffected, as long as nobody invented any quantum attack on hash functions. Even MD5, which has trivial collisions, is still quantum-safe.

Also, even if no quantum-resistant addresses will be deployed, then still, OP_CHECKSIG alone can be used to require small DER signatures, which would make double-spending harder. For example: https://mempool.space/testnet4/tx/cc159432ffb7a166abeccc79800e9616a09ea9ac6937080c2ca37b38671970e5 (the private key is known, but because coins are protected by Proof of Work, they are still quantum-safe, even though I used OP_CHECKSIG).

Quote
Would such an upgrade render all existing mining equipment useless unless hardware is redesigned for the new algorithm?
No. Even when you have Proof of Work inside Script, then still, applying double SHA-256 on around 200 byte message is not that much different, than applying it on 80 byte block headers. Also, hashed transaction size can be made smaller, to fit on exactly 80 bytes, if needed. Raw Script of "OP_SIZE <difficulty> OP_LESSTHAN OP_VERIFY <templatePubKey> OP_CHECKSIG" can be used now (even if it is non-standard), to hash exactly 80 byte data chunks in legacy transactions, or a new witness can be made, like "<newSegwitVersion> <difficulty>", which would require grinding any message with Merged Mining, meeting a given difficulty.

Quote
How would manufacturers like Bitmain and the rest of the ecosystem adapt?
As long as SHA-256 is safe, no changes are needed. And as long as grinding nLockTime is similar to grinding nonces in block headers, there is not that much to change, so things can be tweaked quite easily. And if SHA-256 will be broken, then it will require re-hashing the whole chain, and re-signing every single message, which would be a huge earthquake everywhere, and in that case, Bitcoin will be the least important problem, if major network protocols, and half of the Internet will burn.

Quote
What would be the timeline for this transition if it ever happens? 5 years? 10?
If you are worried about SHA-256, then you can observe total chainwork. As soon as it starts getting close to 2^128, then upgrading SHA-256 to something else will be needed, because then, the whole effort of Bitcoin network from N years would be sufficient, to produce a single SHA-256 collision (and still: having 2^128 chainwork could mean for example 64k blocks with 2^112 chainwork each, which still means, that it will be rather "one collision per year" than "one collision per 10 minutes", and we will still have plenty of time to react, if it will happen gradually).

Quote
And finally, how would this affect small/retail miners who are still heavily investing in current-generation hardware?
In general, big miners push small ones away, and it is harder and harder to compete. As Satoshi said, there will be big server farms. And smaller ones will probably switch to something else, or will be focused on producing just enough Proof of Work, to protect single transactions from double-spending. Because in general, if you use "pay to Proof of Work" output types, then even if your private key is publicly known, you can safely run a second layer network on top of Bitcoin, because as long as double-spending your coins require re-mining them, and it takes more than 10 minutes, then you can adjust your difficulty, to finalize your transactions on-chain for example every three months (like proposed in sidechain BIPs), and then, no attacker will be strong enough, to compete with the whole, honest network, and produce a second double-spending version in 10 minutes.

Which means, that even if mining 80 bytes Bitcoin block headers will be too hard for smaller miners, then still, they can be used to protect second layers with their Proof of Work (which could be smaller than in Bitcoin, but still significant, and resistant to double-spend attempts from most attackers). Also, as long as mining template for "pay to Proof of Work" outputs will be unknown by the outside world, it is quite unlikely to see any double-spending attempts at all.

Quote
Is this a real threat we’re underestimating, or just distant speculation?
Just observe total chainwork, and you will know, how close we are. Or put your coins on "pay to Proof of Work" outputs, if you want to be sure, and observe, how many of them will be stolen, and how much time it will take. It is possible to make a mainnet puzzle, similar to what I made in testnet4, or even launch some decentralized sidechains on top of mainnet, and by putting coins in, it can be measured, how much Proof of Work is needed to be safe. So far, nobody took even a single test coin out of my addresses, so I think attacks are quite unlikely, because for now, nobody is interested in stealing my coins (but of course, mainnet test would be more bulletproof, than my testnet4 examples; but I don't have around 2k mainnet BTCs to replicate it there).

Proof of Work puzzle in mainnet and testnet4.
philipma1957
Legendary
*
Offline Offline

Activity: 4550
Merit: 10234

'The right to privacy matters'


View Profile WWW
July 19, 2025, 06:03:43 PM
 #5

Basically we would need a new math invented. Now since other matches have been invented.

I suppose  one could be invented.

I don't worry much about it since it would likely be able to do more damage  to banks and credit cards and the entire financial  world.

My signature is for rent. Send me a pm
roemer
Newbie
*
Offline Offline

Activity: 14
Merit: 0


View Profile WWW
July 20, 2025, 02:01:36 AM
 #6

The public keys of the first Satoshi wallets can be found freely available on the blockchain. If someone can use a quantum PC to pick up the private key, then the old wallets will probably change owners. I think it's still too long for that.

Read about quantum security
https://bitcointalk.org/index.php?topic=5536662

I wouldn't necessarily say that since the people with access to a quantum pc are the only ones holding the original keys.
NotFuzzyWarm
Legendary
*
Offline Offline

Activity: 4060
Merit: 3176


Evil beware: We have waffles!


View Profile
July 20, 2025, 03:22:51 AM
Last edit: July 21, 2025, 01:14:07 PM by NotFuzzyWarm
Merited by ABCbits (3), vjudeu (1)
 #7

So now yer talking about quantum PC's? As in personal consumer-grade?  
Folks you do know that QC's capable of doing ANYTHING significant beyond very simple and specific test problems do not even exist yet right? Once they progress to actually being able to do something significant, give it maybe another 30 years or more before they exist outside of large corporations, universities & government labs much less being available & affordable to us regular folks.

Right now they are almost at the stage where standard computers were back in the late 1940's - early 50's: huge machines filling entire rooms. Difference is at least those ancient original computers were able to actually process data whereas the current prototype QC's can't even do that...

- For bitcoin to succeed the community must police itself -    My info useful? Donations welcome!  3NtFuzyWREGoDHWeMczeJzxFZpiLAFJXYr
 -Sole remaining active Primary developer of cgminer, Kano's repo is here  Discord support invite at https://kano.is/
-Support Sidehacks miner development. Donations to:   1BURGERAXHH6Yi6LRybRJK7ybEm5m5HwTr
FP91G
Legendary
*
Offline Offline

Activity: 2072
Merit: 1270



View Profile
July 20, 2025, 10:03:36 AM
 #8

The public keys of the first Satoshi wallets can be found freely available on the blockchain. If someone can use a quantum PC to pick up the private key, then the old wallets will probably change owners. I think it's still too long for that.

Read about quantum security
https://bitcointalk.org/index.php?topic=5536662

I wouldn't necessarily say that since the people with access to a quantum pc are the only ones holding the original keys.
I think that if a quantum computer can extract a private key from a public key in the blockchain, then this attack will have a certain cost. I would assume that it will be unprofitable for them to attack wallets with a small balance.
You can transfer coins to a new wallet and not make payments to protect yourself from hacking. When the first Satoshi wallets are hacked, we will all know about it.

█████████████████████████
████████▀▀████▀▀█▀▀██████
█████▀████▄▄▄▄████████
███▀███▄███████████████
██▀█████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
██▄███████████████▀▀▄▄███
███▄███▀████████▀███▄████
█████▄████▀▀▀▀████▄██████
████████▄▄████▄▄█████████
█████████████████████████
 
 BitList 
█▀▀▀▀











█▄▄▄▄
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
.
REAL-TIME DATA TRACKING
CURATED BY THE COMMUNITY

.
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀▀█











▄▄▄▄█
 
  List #kycfree Websites   
BATTLEROYALXS (OP)
Newbie
*
Offline Offline

Activity: 7
Merit: 1


View Profile
July 22, 2025, 03:41:42 PM
 #9

Quote
wouldn’t that make current ASIC miners obsolete, since they're all optimized for the current cryptographic assumptions?
No. If ECDSA will be fully broken, and SHA-256 will be still strong, then nothing will change from the miners' perspective. And if SHA-256 will be broken, then everything else will be broken too (including ECDSA), but in that case, re-hashing the whole chain will be needed. For SHA-256, there are no known shortcuts today, when it comes to post-quantum algorithms, which means, that mining is unaffected, as long as nobody invented any quantum attack on hash functions. Even MD5, which has trivial collisions, is still quantum-safe.

Also, even if no quantum-resistant addresses will be deployed, then still, OP_CHECKSIG alone can be used to require small DER signatures, which would make double-spending harder. For example: https://mempool.space/testnet4/tx/cc159432ffb7a166abeccc79800e9616a09ea9ac6937080c2ca37b38671970e5 (the private key is known, but because coins are protected by Proof of Work, they are still quantum-safe, even though I used OP_CHECKSIG).

Quote
Would such an upgrade render all existing mining equipment useless unless hardware is redesigned for the new algorithm?
No. Even when you have Proof of Work inside Script, then still, applying double SHA-256 on around 200 byte message is not that much different, than applying it on 80 byte block headers. Also, hashed transaction size can be made smaller, to fit on exactly 80 bytes, if needed. Raw Script of "OP_SIZE <difficulty> OP_LESSTHAN OP_VERIFY <templatePubKey> OP_CHECKSIG" can be used now (even if it is non-standard), to hash exactly 80 byte data chunks in legacy transactions, or a new witness can be made, like "<newSegwitVersion> <difficulty>", which would require grinding any message with Merged Mining, meeting a given difficulty.

Quote
How would manufacturers like Bitmain and the rest of the ecosystem adapt?
As long as SHA-256 is safe, no changes are needed. And as long as grinding nLockTime is similar to grinding nonces in block headers, there is not that much to change, so things can be tweaked quite easily. And if SHA-256 will be broken, then it will require re-hashing the whole chain, and re-signing every single message, which would be a huge earthquake everywhere, and in that case, Bitcoin will be the least important problem, if major network protocols, and half of the Internet will burn.

Quote
What would be the timeline for this transition if it ever happens? 5 years? 10?
If you are worried about SHA-256, then you can observe total chainwork. As soon as it starts getting close to 2^128, then upgrading SHA-256 to something else will be needed, because then, the whole effort of Bitcoin network from N years would be sufficient, to produce a single SHA-256 collision (and still: having 2^128 chainwork could mean for example 64k blocks with 2^112 chainwork each, which still means, that it will be rather "one collision per year" than "one collision per 10 minutes", and we will still have plenty of time to react, if it will happen gradually).

Quote
And finally, how would this affect small/retail miners who are still heavily investing in current-generation hardware?
In general, big miners push small ones away, and it is harder and harder to compete. As Satoshi said, there will be big server farms. And smaller ones will probably switch to something else, or will be focused on producing just enough Proof of Work, to protect single transactions from double-spending. Because in general, if you use "pay to Proof of Work" output types, then even if your private key is publicly known, you can safely run a second layer network on top of Bitcoin, because as long as double-spending your coins require re-mining them, and it takes more than 10 minutes, then you can adjust your difficulty, to finalize your transactions on-chain for example every three months (like proposed in sidechain BIPs), and then, no attacker will be strong enough, to compete with the whole, honest network, and produce a second double-spending version in 10 minutes.

Which means, that even if mining 80 bytes Bitcoin block headers will be too hard for smaller miners, then still, they can be used to protect second layers with their Proof of Work (which could be smaller than in Bitcoin, but still significant, and resistant to double-spend attempts from most attackers). Also, as long as mining template for "pay to Proof of Work" outputs will be unknown by the outside world, it is quite unlikely to see any double-spending attempts at all.

Quote
Is this a real threat we’re underestimating, or just distant speculation?
Just observe total chainwork, and you will know, how close we are. Or put your coins on "pay to Proof of Work" outputs, if you want to be sure, and observe, how many of them will be stolen, and how much time it will take. It is possible to make a mainnet puzzle, similar to what I made in testnet4, or even launch some decentralized sidechains on top of mainnet, and by putting coins in, it can be measured, how much Proof of Work is needed to be safe. So far, nobody took even a single test coin out of my addresses, so I think attacks are quite unlikely, because for now, nobody is interested in stealing my coins (but of course, mainnet test would be more bulletproof, than my testnet4 examples; but I don't have around 2k mainnet BTCs to replicate it there).


Thanks a lot for your detailed response — very informative and helpful! I appreciate you taking the time to clarify all these points.
philipma1957
Legendary
*
Offline Offline

Activity: 4550
Merit: 10234

'The right to privacy matters'


View Profile WWW
July 22, 2025, 05:44:52 PM
 #10

The public keys of the first Satoshi wallets can be found freely available on the blockchain. If someone can use a quantum PC to pick up the private key, then the old wallets will probably change owners. I think it's still too long for that.

Read about quantum security
https://bitcointalk.org/index.php?topic=5536662

I wouldn't necessarily say that since the people with access to a quantum pc are the only ones holding the original keys.
I think that if a quantum computer can extract a private key from a public key in the blockchain, then this attack will have a certain cost. I would assume that it will be unprofitable for them to attack wallets with a small balance.
You can transfer coins to a new wallet and not make payments to protect yourself from hacking. When the first Satoshi wallets are hacked, we will all know about it.

the numbers involved are huge.

so 21,000,000 btc to 1 sat is

2,100,000,000,000,000 to 1 that is really tiny as compared to the numbers involved in sha-256

115,792,089,237,316,195,423,570,985,008,687,907,853,269,984,665,640,564,039,457,584,007,913,129,639,936  to 1


so the idea that it is worth trying for a 50 coin address while true doe not impose the math much as compared to the number of sha-256 combos

My signature is for rent. Send me a pm
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!