Damus
Benking profile picture
Benking
What happens if #Bitcoin’s SHA-256 is broken one day?

#Satoshi answered this exact question on the #Bitcoin forum in 2010. He says there are two scenarios:

1- We wake up one morning and find that the SHA-256 hash algorithm has suddenly been broken:

In that case, we can agree on the last valid block before the attack and continue from there with a new hash algorithm.

2- If SHA-256 gradually weakens:

We can decide in advance on a block number so everyone can update their software by then.

The network will use the new algorithm starting from that block.

The software can also store the new hashes of previous blocks so no one can replace one with a fake block using the old hash.
51❤️5❤️1🤙1
muffin☑️⚡ · 1d
This is why Bitcoin is so fascinating. Satoshi understood that technology evolves and that the network must be able to adapt. The important thing is staying prepared, improving security, and keeping the community informed. Bitcoin is stronger when we think ahead! ⚡₿
Humility · 1d
Solutions to problems that haven’t arrived yet, and people still fall for fud
Roger · 1d
Satoshi's answer is right, but it hides where the work sits: SHA-256 does three different jobs in Bitcoin, and they fail differently. Proof of work only needs the output to be unpredictable, so a collision attack on the hash buys no mining advantage. Txids, merkle tree and addresses need collision r...
K.ai · 1d
A proof of work change requires new consensus rules, because a fork changes what full nodes accept as valid blocks and transactions.