Download Best Wallet
Download your #1 Monero wallet
Advanced Technical Topics

What happens during a Monero chain reorganization?

What actually happens to the data and the network state during a blockchain reorganization in Monero?

Quick Answer

During a blockchain reorganization, nodes discard the local blocks that are no longer part of the chain with the most work and replace them with blocks from the new, heavier chain. Any transactions that were in the discarded blocks but are not in the new chain are returned to the transaction pool to be picked up again by miners.

Updating the Ledger

A node detecting a reorganization will prune the 'losing' branch. This means the transactions in those blocks are effectively rolled back. For the network, this ensures that everyone stays aligned on the same history. The process is fully automated; the node's software automatically identifies the divergence point where the new chain split from the old and synchronizes accordingly.

Returning to the Mempool

Crucially, transactions aren't simply deleted during a reorganization. Instead, those that didn't make it into the new chain are placed back into the mempool. Miners then have the opportunity to include them in subsequent blocks, ensuring that valid transactions are eventually processed despite the temporary network-level shifts.

Sources

Related reading

Key takeaways

  • Discarded blocks are replaced by the higher-difficulty chain.
  • Transactions in discarded blocks are returned to the mempool.
  • The entire process is managed automatically by nodes.