This article was published on July 11, 2019

Bitmain lost $150,000 because it mined an invalid Bitcoin block

It really hurts when Bitcoin rejects blocks after they've been mined


Bitmain lost $150,000 because it mined an invalid Bitcoin block

Bitmain-owned mining pool Antpool appears to have squandered at least $150,000 worth of Bitcoin mining rewards, reports BitMEX Research, the analytic arm of cryptocurrency exchange BitMEX.

At 14:35 UTC, June 10, the Bitcoin network rejected a block after it had been mined, which effectively cancelled the 12.5 BTC ($146,200) reward intended for its miner. Any resources spent mining the block were also essentially wasted.

Did a bug in Bitcoin mining software really cause this?

Bitcoin awards BTC to cryptocurrency miners for successfully adding blocks to its blockchain. To claim this reward, they must first add “coinbase transactions” to blocks (not to be confused with cryptocurrency exchange Coinbase).

When the Bitcoin network accepts blocks, their miner collects the coinbase transaction. There are rules: it must equal the amount set by the Bitcoin protocol, which is currently 12.5 BTC ($146,200). This is scheduled to halve in just over 300 days.

Bitcoin’s full nodes then ensure miners are creating blocks correctly by automatically rejecting those that don’t match the protocol.

Coinbase transactions must equal 12.5 BTC (for now)

According to BitMEX Research, the Bitcoin network denied Antpool’s block as it featured an erroneous coinbase transaction.

Instead of 12.5 BTC, whoever mined the block seems to have requested a reward of 13.26 BTC ($154,700). This appears to equal the correct coinbase transaction (12.5 BTC) plus the sum of the associated transaction fees.

“The coinbase value was too high, presumably because this included the transaction fees, but due to some error the transactions themselves were not included,” tweeted BitMEX Research.

The transactions that were supposed to be added to Bitcoin’s blockchain were effectively cancelled.

Hard Fork has reached out to mining firm Bitmain, which oversees Antpool, to confirm its role in the costly snafu and will update this piece should we receive a reply.

Get the TNW newsletter

Get the most important tech news in your inbox each week.

Also tagged with