See More

What Happens When Bitcoin Miners Mine an Invalid Block?

2 mins
Updated by Geraint Price
Join our Trading Community on Telegram

In Brief

  • Marathon Digital, a US-based Bitcoin miner, recently mined an invalid block due to a transaction ordering issue.
  • The Bitcoin network's distributed ledger technology allows for easy detection and rejection of invalid blocks by other nodes.
  • This incident underscores the tamper-proof nature of the Bitcoin network, minimizing chances for double-spending.
  • promo

Multiple nodes verify the transactions in the Bitcoin network. Hence, while Marathon Digital mined an invalid block, other nodes rejected it.

Bitcoin network runs through the distributed ledger technology (DLT). The other nodes can easily detect an error by a single node, which will cancel the invalid block through the consensus mechanism.

How Marathon Digital Mined Invalid Block

While the company has been in the Bitcoin mining business for over a decade, it still managed to mine an invalid block. But how did it happen?

According to the Bitcoin developer, 0xB10C, the invalid block was at the height of 809478. A transaction ordering issue was the primary reason for the invalid block. BitMEX Research explained the situation on X (Twitter):

“The invalid block included this txn (A)

“Spending an output from this txin (B):

“However, txin B was included in the block after txin A, therefore the block was invalid”

Later, other nodes rejected the block, and finally, Foundry USA mined the valid block.

Bitcoin invalid block, Marathon Digital
Miner of block 809478 block. Source:

Bitcoin uses the Distributed Ledger Technology, wherein transactions’ data are decentralized and distributed. The screenshot below shows that while Peer A mined an invalid node, Peer B and Peer C can verify it. They follow the consensus mechanism, and the invalid block is finally rejected.

Read more: What is Distributed Ledger Technology

Marathon Digital, Bitcoin network, Bitcoin invalid block
A distributed blockchain. Source: GitHub

Marathon Digital’s invalid block incident indicated that the Bitcoin network is indeed tamper-proof, leaving a minimum chance for double-spending. A community member wrote:

“The #BTC engineering never ceases to amaze me.”

Read More: How To Build a Mining Rig: A Step-by-Step Guide.

Do you have anything to say about Marathon Digital or anything else? Write to us or join the discussion on our Telegram channel. You can also catch us on TikTok, Facebook, or X (Twitter).

For BeInCrypto’s latest Bitcoin (BTC) analysis, click here.


In adherence to the Trust Project guidelines, BeInCrypto is committed to unbiased, transparent reporting. This news article aims to provide accurate, timely information. However, readers are advised to verify facts independently and consult with a professional before making any decisions based on this content.

Harsh Notariya
Harsh started investing in crypto during the 2021 bull market. He took the opportunity of the market crash in May to learn more about Bitcoin and blockchain technology. Since then, he has helped metaverse projects build an engaging community and educate them on Web3. He has also helped Web3 creators write educational blogs around crypto.