Skip to main content
Skip to main content
Polkadot logo

Finality

The guarantee that a blockchain transaction or block cannot be reversed once confirmed.

What is finality?

Finality is the guarantee that a blockchain transaction or block cannot be reversed, altered, or removed once it's been confirmed. When a block achieves finality, all the transactions within it are permanently settled and become part of the immutable ledger. This certainty is crucial for blockchain applications because it determines when participants can truly trust that a transaction is complete.

Think of finality like the difference between a pending credit card transaction and a cleared bank transfer. A pending transaction might still be canceled or adjusted, but once a bank transfer clears and settles, it's permanent. Similarly, blockchain finality provides that same level of certainty, letting users, applications, and businesses know exactly when a transaction is truly complete and irreversible.

Without finality, blockchain systems face significant practical problems. How long should an exchange wait before crediting a deposit? When can a smart contract safely release funds? How many confirmations does a merchant need before shipping a product? Finality answers these questions by providing clear guarantees about transaction permanence.

Probabilistic vs deterministic finality

Blockchains achieve finality in two fundamentally different ways: probabilistic finality and deterministic finality.

Probabilistic finality: Most proof-of-work blockchains like Bitcoin use probabilistic finality, where transactions become increasingly difficult to reverse over time but never achieve absolute certainty. As new blocks are added on top of a transaction, the computational cost of reversing it grows exponentially. After six confirmations (about one hour), a Bitcoin transaction is considered "final" for practical purposes, but theoretically, a sufficiently powerful attacker could still reverse it.

The key characteristics of probabilistic finality:

  • Finality strengthens over time as more blocks are added
  • Never reaches 100% certainty, only very high probability
  • Requires waiting for multiple confirmations before trusting a transaction
  • Vulnerable to chain reorganizations if an attacker controls enough hash power

Deterministic finality: Deterministic finality provides mathematical certainty that a transaction cannot be reversed once finalized. Blockchain networks using Byzantine fault-tolerant consensus mechanisms can achieve this through validator voting and explicit finalization processes. Once a block reaches deterministic finality, it's permanently locked in, regardless of what happens afterward.

The key characteristics of deterministic finality:

  • Provides immediate mathematical certainty when achieved
  • Blocks are either finalized or not, with no gray area
  • Enables instant settlement for time-sensitive applications
  • Prevents chain reorganizations once finality is reached

How does Polkadot achieve finality?

Polkadot achieves deterministic finality through GRANDPA (GHOST-based Recursive Ancestor Deriving Prefix Agreement), its finality mechanism that works alongside BABE block production. While BABE rapidly produces new blocks, GRANDPA validators vote on which chains of blocks should be considered final.

Polkadot's finality process: Rather than finalizing blocks one at a time, GRANDPA uses a sophisticated voting process to finalize entire chains of blocks simultaneously. When more than two-thirds of validators agree on a particular chain, GRANDPA immediately finalizes that chain and all the blocks it contains. This happens in parallel with ongoing block production, so new blocks continue to be created while previous blocks are being finalized.

The separation of block production and finality allows Polkadot to achieve both fast block times (6 seconds) and quick deterministic finality (typically within seconds), without the typical tradeoffs that force other networks to choose between speed and security.

Why this matters: Deterministic finality enables Polkadot to support applications requiring immediate settlement certainty, including cross-chain bridges where assets must be irreversibly locked on one chain before being minted on another, financial derivatives that need instant settlement to prevent arbitrage, and enterprise applications where transaction finality cannot be probabilistic.

Finality across different blockchains

Different blockchain networks make different tradeoffs when it comes to finality:

Bitcoin: Uses probabilistic finality with 6 confirmations (approximately 60 minutes) considered safe for most purposes, though still theoretically reversible.

Ethereum: Originally used probabilistic finality similar to Bitcoin. After transitioning to proof-of-stake, Ethereum now achieves finality in about 12-19 minutes through its Casper finality gadget, providing stronger guarantees than proof-of-work but still requiring a waiting period.

Polkadot: Achieves deterministic finality within seconds through GRANDPA, providing mathematical certainty that finalized blocks are permanent. This rapid finality enables applications that require immediate settlement without waiting periods.

The choice between probabilistic and deterministic finality represents one of the fundamental design decisions in blockchain architecture, with significant implications for user experience, application design, and real-world adoption. Networks built with deterministic finality from the start, like Polkadot, can support use cases that require immediate certainty without forcing users to wait through lengthy confirmation periods.

xs