How Greg Maxwell Exploited Bitcoin Unlimited in Every Way Possible
Segregated Witness (Segwit) support has been on the rise ever since the disclosure of the covert usage of AsicBoost by Bitcoin Core developer Greg Maxwell.
On April 5, Maxwell sent out a letter entitled “Inhibiting a covert attack on the Bitcoin POW function” to the Bitcoin development mailing list. In it, Maxwell explained the possibility of utilizing a method called AsicBoost to exploit a flaw in the Proof of Work function of Bitcoin.
“There are two major ways of exploiting the underlying vulnerability: One obvious way which is highly detectable and is not in use on the network today and a covert way which has significant interaction and potential interference with the Bitcoin protocol. The covert mechanism is not easily detected except through its interference with the protocol. In particular, the protocol interactions of the covert method can block the implementation of virtuous improvements such as segregated witness.”
Upon the release of Maxwell’s letter, the vast majority of the community assumed that the company or the ASIC manufacturer in question was Bitmain. In fact, Bitcoin journalist Kyle Torpey confirmed with a source that Bitmain was the company mentioned in Maxwell’s letter.
As expected, Bitmain refuted the claims of Maxwell with a response statement. In it, Bitmain denied the usage of AsicBoost on the mainnet of Bitcoin but admitted to testing the technology on testnet, which further validated the statement of Maxwell.
“I never alleged that I could prove they were using it on mainnet, only that their hardware secretly supported it. They've admitted to putting it in their hardware and to using it on testnet. They claim that haven't used it on mainnet "for the good of the network"-- but the constantly produce empty blocks (a potential asicboost sign) and argued that it was fine because the protocol permits it, when people complained,” Maxwell said in a separate statement.
Controversy on the Bitmain-AsicBoost discussion deepened when various users discovered several loopholes in the public statement of Bitmain. Although the company denied the actual usage of AsicBooost on Bitcoin’s mainnet, it did not specify whether their statement applied to its subsidiaries and other companies they own.
"More importantly, Bitmain admitted their ownership of a patent on AsicBoost."
However, the company was criticized for failing to credit the original inventors of AsicBoost Timo Hanke and Sergio Lerner, who reportedly hold a patent on AsicBoost elsewhere.
Whalepanda, a cryptocurrency trader, further emphasized in his blog post that Bitmain CEO Jihan Wu’s strange behavior and his support for AsicBoost-compatible solutions or proposals such as a BCoin’s extension block proves his intent to protect AsicBoost from being disabled permanently with solutions like SegWit.
“Yesterday BCoin’s proposal came with Extension Blocks which is compatible with ASICBoost. BCoin didn’t follow the normal rules of Bitcoin proposals but got the media immediately involved. EB was nothing new, they just needed another excuse to stall.”
Apart from his AsicBoost discovery, Maxwell and the rest of the Bitcoin Core development team privately disclosed bugs and technical errors in the Bitcoin Unlimited software to its development team. In return, the Bitcoin Unlimited development team has been attempting for weeks to publicize supposed bugs in Core’s software although they turned out to be non-existent.
“Next time you have a suspected vulnerability in Bitcoin Core, it would be helpful if told us immediately instead of discussing it in public for 13 days first. There are vulnerabilities in unlimited which have been privately reported to you in Unlimited by Bitcoin Core folks which you have not acted on, sadly. More severe than this one, in fact,” Maxwell said.
So far, Maxwell has made a point in disclosing bugs and errors in the Bitcoin Unlimited software and unraveling the intent behind some mining pools and companies which opposed SegWit.