Chain Reorganization

Chain Reorganization

Advanced

    Chain reorganization, often referred to as a "reorg,” is a situation in blockchain technology where one chain of blocks is replaced by another chain of blocks that has more accumulated proof-of-work (or, in the case of proof-of-stake blockchains, more accumulated stake). This typically happens when two miners solve a block at nearly the same time, leading to a temporary fork in the blockchain.

     

    In a reorg, nodes in the network will switch to the longest valid chain (the one with more accumulated work or stake) as per the consensus rules. The blocks in the shorter chain get discarded, and the transactions they contain either get included in the longer chain or return to the pool of unconfirmed transactions.

     

    Chain reorganizations are a natural part of how blockchains work and are typically resolved quickly and automatically. However, deep reorgs, where many blocks get replaced, can be disruptive and are often the result of a 51% attack.

     

    Chain reorganization is a rare occurrence and is more likely in networks with shorter block confirmation times. It's a mechanism that ensures the integrity and security of the blockchain by resolving temporary conflicts and maintaining a single, agreed-upon version of the ledger.

     

    Disclaimer: The information on this page may have been obtained from third parties and does not necessarily reflect the views or opinions of KuCoin. This content is provided for general informational purposes only, without any representation or warranty of any kind, nor shall it be construed as financial or investment advice. KuCoin shall not be liable for any errors or omissions, or for any outcomes resulting from the use of this information. Investments in digital assets can be risky. Please carefully evaluate the risks of a product and your risk tolerance based on your own financial circumstances. For more information, please refer to our Terms of Use and Risk Disclosure.