Skip to content

Commit

Permalink
Update index.md
Browse files Browse the repository at this point in the history
Signed-off-by: matt-nervos <[email protected]>
  • Loading branch information
matt-nervos authored Jun 3, 2024
1 parent 48b2446 commit 571c1a3
Showing 1 changed file with 21 additions and 5 deletions.
26 changes: 21 additions & 5 deletions What_is_finality_crypto_(explainCKBot)/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,9 @@ author:
- github:explainCKBot
---

This permanence is crucial for the authenticity and security of the blockchain, making it a foundational aspect of cryptocurrency networks. Why does finality matter so much? It provides certainty and trust in transactions, ensuring that once a deal is done, it's done for good. Without finality, the risk of transaction reversal could undermine the entire blockchain's integrity, making digital assets vulnerable to fraud and double-spending.
This permanence is crucial for the authenticity and security of the blockchain, making it a foundational aspect of cryptocurrency networks. Why does finality matter so much?

It provides certainty and trust in transactions, ensuring that once a deal is done, it's done for good. Without finality, the risk of transaction reversal could undermine the entire blockchain's integrity, making digital assets vulnerable to fraud and double-spending.


## The Mechanics of Finality
Expand All @@ -18,16 +20,30 @@ The attainment of finality in a blockchain is primarily through consensus mechan

### Types of Finality

Blockchain networks exhibit various forms of finality, including probabilistic, economic, instant, unconditional, and state finality. Probabilistic finality, common in PoW systems like Bitcoin, means that the probability of a transaction being reversed decreases over time as an increasing number of blocks is built upon the block containing the said transaction. For example, if a transaction has only one confirmation (only one block is built atop the block containing the transaction), it’s relatively easy for a miner with significant hash power to reorganize the tip of the chain and tamper with that transaction. However, reorganizing deeper blocks with more confirmations is exponentially more difficult, to the point that most Bitcoin users, including centralized exchanges, consider blocks with more than 6 confirmations as final.
Blockchain networks exhibit various forms of finality, including probabilistic, economic, instant, unconditional, and state finality.

Moving on, economic finality, often seen in PoS systems, ensures that reversing a transaction would result in significant financial loss, deterring malicious behavior. Instant finality is achieved in networks using pBFT-based consensus, where transactions are confirmed immediately and are irreversible. Unconditional finality implies absolute assurance against reversal, requiring a high degree of network centralization or a unique consensus mechanism. State finality refers to the irrevocable completion of a state transition, such as a transaction or smart contract execution, essential for applications relying on the accuracy of the entire blockchain state.
Probabilistic finality, such as in PoW systems like Bitcoin, means that the probability of a transaction being reversed decreases over time as an increasing number of blocks is built upon the block containing the said transaction.

Furthermore, the concept of finality varies across different blockchain protocols, impacting their performance and suitability for various applications. For instance, Bitcoin achieves probabilistic finality after six confirmations, typically taking about an hour, while networks like Binance Chain offer near-instant finality due to their consensus mechanisms. Layer 1 (L1) solutions provide the foundational security and finality for transactions, whereas Layer 2 (L2) protocols, designed for scalability, may have different finality considerations depending on their connection to the L1 blockchain.
For example, if a transaction has only one confirmation (only one block is built atop the block containing the transaction), it’s relatively easy for a miner with significant hashpower to reorganize the tip of the chain and tamper with that transaction. However, reorganizing deeper blocks with more confirmations is exponentially more difficult, to the point that most Bitcoin users, including centralized exchanges, consider blocks with more than 6 confirmations as final.

Moving on, economic finality, often seen in PoS systems, ensures that reversing a transaction would result in significant financial loss, deterring malicious behavior.

Instant finality is achieved in networks using pBFT-based consensus, where transactions are confirmed immediately and are irreversible. Unconditional finality implies absolute assurance against reversal, requiring a high degree of network centralization or a unique consensus mechanism.

State finality refers to the irrevocable completion of a state transition, such as a transaction or smart contract execution, essential for applications relying on the accuracy of the entire blockchain state.

Furthermore, the concept of finality varies across different blockchain protocols, impacting their performance and suitability for various applications.

For instance, Bitcoin achieves probabilistic finality after six confirmations, typically taking about an hour, while networks like Binance Chain offer near-instant finality due to their consensus mechanisms. Layer 1 (L1) solutions provide the foundational security and finality for transactions, whereas Layer 2 (L2) protocols, designed for scalability, may have different finality considerations depending on their consensus mechanism and connection to the L1 blockchain.


## Challenges to Achieving Finality

Achieving transaction finality in blockchain is not without its challenges. Forking, network latency, and 51% attacks are significant obstacles that can compromise the finality of transactions. Forking creates temporary divergences in the blockchain, leading to uncertainty about which version of the transaction history is valid. Network latency delays the propagation of transactions, potentially causing discrepancies in transaction order. Meanwhile, 51% attacks, where an entity gains control of the majority of a network's mining power, pose a threat to the immutability of transactions, undermining the blockchain's security and finality.
Achieving transaction finality in blockchain is not without its challenges. Forking, network latency, and 51% attacks are significant obstacles that can compromise the finality of transactions.

Forking creates temporary divergences in the blockchain, leading to uncertainty about which version of the transaction history is valid. Network latency delays the propagation of transactions, potentially causing discrepancies in transaction order.

Meanwhile, 51% attacks, where an entity gains control of the majority of a network's mining power, pose a threat to the immutability of transactions, undermining the blockchain's security and finality.

To enhance finality, blockchain networks employ various techniques and consensus algorithms. Longer confirmation periods and multiple validations provide added security layers, increasing the likelihood of irreversible finality. Advanced consensus algorithms, such as Algorand's Pure PoS, DPoS, and HoneyBadgerBFT, offer innovative solutions to achieving faster and more reliable finality by improving network efficiency and resilience against attacks.

Expand Down

0 comments on commit 571c1a3

Please sign in to comment.