Project Chintan

Ravencoin Faces Blockchain Rollback After Consensus Flaw

Ravencoin is experiencing a potential four-day blockchain rollback due to a consensus flaw that allowed invalid blocks. Two major mining pools are creating an alternative chain, which could invalidate transactions made since August 7.

· 2 min read
Updated

Key takeaways

  • A critical software vulnerability allowed invalid blocks to be added to the Ravencoin blockchain.
  • Two major mining pools are working to establish a new chain, which could reverse transactions from August 7.
  • The flaw affected the KAWPOW proof-of-work validation by mischecking block-header fields.
  • Several cryptocurrency exchanges have suspended services for Ravencoin amidst the uncertainty.

Ravencoin is facing a significant blockchain reorganization that could reverse several days of transactions. This situation arose after a critical software vulnerability permitted invalid blocks to be added to the network's ledger.

What Happened

The issue began with the appearance of an invalid block at height 4,487,776 on August 7. A flaw in Ravencoin's KAWPOW proof-of-work validation system allowed specially crafted blocks to bypass necessary checks. This vulnerability involved a block-header field for the declared block height, which was not sufficiently validated against its actual position in the chain. An attacker could exploit this by manipulating the field, leading some Ravencoin nodes to accept blocks that had not met the required computational conditions for legitimate mining. Additional invalid blocks followed, making it difficult to establish a definitive point for the blockchain to continue safely.

In response, two of Ravencoin's largest mining pools, 2Miners and RavenMiner, are constructing an alternative chain starting from block 4,487,775, the last known valid block. These pools collectively control a majority of the network's computing power, increasing the probability that their new chain will become the accepted version. This potential rollback could nullify transactions, payments, and exchange deposits and withdrawals processed after 15:44 UTC on August 7.

2Miners has released an emergency software patch, version 4.6.1.1-hf1. This patch is designed to reject blocks where the declared height differs from their actual position and includes a checkpoint at block 4,487,775 to anchor participating nodes to the last unaffected block.

Background

Ravencoin has processed over 4.4 million blocks and tens of millions of transactions since its inception. The consensus vulnerability highlights how concentrated hashpower can significantly influence smaller proof-of-work networks. Unlike Bitcoin, which has a much larger and more distributed computing power, Ravencoin has less total computing power and a more concentrated mining distribution, granting a few pools greater influence during a chain split.

RavenMiner has suspended payouts while the competing chains are being resolved, noting that mining rewards earned during the disputed period may be affected. Earnings prior to the first invalid block are not within the contested window.

Ravencoin itself has alerted users, miners, exchanges, and infrastructure operators to the vulnerability but has not formally endorsed a specific rollback strategy. While the project aimed for a recovery point that would risk less transaction history, the dominant mining pools proceeded with rebuilding from the block immediately preceding the first identified exploit.

Key Facts

  • A consensus vulnerability allowed invalid blocks to enter the Ravencoin ledger.
  • The first identified invalid block occurred at height 4,487,776 on August 7.
  • Two major mining pools, 2Miners and RavenMiner, are building an alternative chain from block 4,487,775.
  • This action could invalidate transactions confirmed after 15:44 UTC on August 7.
  • 2Miners released an emergency patch, version 4.6.1.1-hf1, with a checkpoint at block 4,487,775.
  • Cryptocurrency exchanges like Upbit and Bitvavo halted deposits, withdrawals, or trading activities due to the uncertainty.

Story by Project Chintan

Related stories