Glossary index › I

Immutability (Blockchain)

Immutability refers to the property that once a transaction is recorded on a blockchain and confirmed by enough subsequent blocks, it cannot practically be altered, reversed, or deleted. Each block contains a cryptographic hash of the block before it, so changing any past transaction would change that block's hash - which would break the link to every block that follows, an inconsistency that every node validating the chain would immediately reject. To successfully rewrite history, an attacker would need to redo the computational work (or stake) for that block and every block after it faster than the rest of the honest network combined, which becomes exponentially harder the more confirmations have passed.

In practice, most exchanges and merchants treat a Bitcoin transaction as effectively final after about 6 confirmations, roughly one hour given Bitcoin's ~10-minute average block time; other chains finalize faster or slower depending on their consensus design. This is a sharp contrast with traditional finance, where a card payment can be charged back for months and a bank wire can sometimes be recalled or frozen by court order - blockchain immutability trades that flexibility for certainty: once a confirmed crypto transaction settles, no bank, court, or exchange can reverse it.

For traders and holders, immutability cuts both ways. It's what makes crypto ownership records trustworthy without a central authority - nobody can quietly edit a balance. But it also means a mistake, such as sending funds to the wrong wallet address or to an address on the wrong network, is typically permanent and unrecoverable, unlike a bank transfer error that a bank can sometimes reverse. Understanding this trade-off is a basic part of managing risk before ever sending a transaction.

The property is enforced by agreement rather than by physics, which sounds like a quibble until it is tested. After the DAO theft in 2016, Ethereum's participants chose to run software that rewrote the affected transactions, and because most of them did, the rewritten chain became the real one while the unedited version continued as a separate coin. Nothing in the mathematics prevented this; what prevented it everywhere else is that enough people declined. Smaller networks have had their recent history rewritten by attackers renting computing power for hours, which is the same event without the vote.

There is also a gap between the word and the thing on the contracts built on top. A great many are deployed behind an upgradeable proxy, or with administrative keys able to pause the system, change parameters or drain it, so the code read today is not necessarily the code that runs tomorrow. That flexibility exists for good reasons, since bugs cannot otherwise be fixed, and it means the assurance a user actually has is about who holds those keys rather than about immutability at all. Checking that is a different and more useful exercise than trusting the word.

What does immutability mean? That once a transaction is recorded and buried under enough later blocks, it cannot practically be altered, reversed or deleted.
What enforces it? Each block carries a hash of the one before, so altering an old transaction breaks the link to everything after it, and every node validating the chain rejects the result.
Could someone do it anyway? Only by redoing the work or the stake for that block and every block since, faster than the rest of the network combined, which becomes exponentially harder with each confirmation.
When is a payment considered final? Most exchanges and merchants treat a bitcoin transaction as settled after about six confirmations, roughly an hour. Other chains settle faster or slower depending on their design.
How does that compare with a bank? A card payment can be reversed for months and a wire can sometimes be recalled or frozen. This trades that flexibility for certainty: once settled, no bank, court or exchange can undo it.
What is the cost of that? Mistakes are permanent. Sending funds to a wrong address, or to the right address on the wrong network, is normally unrecoverable, where a bank can occasionally reverse an error.
Has a chain ever been rewritten anyway? Yes. After the DAO hack in 2016, Ethereum's participants agreed to roll back the theft, which worked because enough of them chose to run the new software. The rule is enforced by people agreeing to enforce it, which makes it a social fact as much as a technical one.
Does it apply to smart contracts? Less often than the word suggests. A great many are deployed behind upgradeable proxies or with administrative keys that can change the rules or pause the system, so the code you read today is not necessarily the code that runs tomorrow.

By InsiderTicker Editorial Team · Last updated

All news on Crypto →