Finality in Blockchain
Finality means that once a transaction is confirmed on the blockchain, it is permanent and cannot be reversed or altered.
π Why It Matters
- Ensures confidence in the transaction history.
- Prevents double-spending and fraud.
- Essential for DeFi, payments, and NFTs.
β³ Types of Finality
- Probabilistic Finality: Used in Proof of Work (e.g., Bitcoin). The more blocks added after a transaction, the more βfinalβ it is. Common rule: wait for 6 confirmations.
- Deterministic Finality: Used in Proof of Stake systems (e.g., Ethereum 2.0, Cosmos). Once a transaction is validated, itβs instantly final.
π§ Real-World Analogy
Imagine writing in pencil vs. ink. Probabilistic finality is like pencil: you trust it more as time goes on. Deterministic finality is ink β immediate and irreversible.
π Examples
- Bitcoin: Finality after ~6 blocks (60 minutes)
- Ethereum (PoS): Finality in 12β15 seconds
- Solana: Fast finality under 2 seconds
- Avalanche: Uses "snowball consensus" with near-instant finality
Conclusion: Finality ensures that once something is written to the blockchain, it stays there β secure, tamper-proof, and trusted.