{"id":24024,"date":"2017-04-14T16:12:37","date_gmt":"2017-04-14T16:12:37","guid":{"rendered":"http:\/\/ci027cfe7a80042697"},"modified":"2017-04-14T16:12:37","modified_gmt":"2017-04-14T16:12:37","slug":"breaking-down-bitcoins-asicboost-scandal-solutions","status":"publish","type":"post","link":"https:\/\/bitcoinmagazine.com\/business\/breaking-down-bitcoins-asicboost-scandal-solutions","title":{"rendered":"Breaking Down Bitcoin\u2019s \u201cAsicBoost Scandal\u201d: The Solutions"},"content":{"rendered":"<div id=\"bsf_rt_marker\"><\/div><figure><img decoding=\"async\" src=\"https:\/\/bitcoinmagazine.com\/wp-content\/uploads\/2024\/11\/breaking-down-bitcoins-asicboost-scandal-the-solutions.jpg\" title=\"\"><\/figure>\n<p>As first revealed by <a href=\"https:\/\/bitcoincore.org\/\" target=\"_blank\" rel=\"noopener\">Bitcoin Core<\/a> developer and <a href=\"https:\/\/www.blockstream.com\/\" target=\"_blank\" rel=\"noopener\">Blockstream<\/a> Co-Founder and CTO Gregory Maxwell, and subsequently confirmed by <a href=\"https:\/\/www.bitmain.com\/\" target=\"_blank\" rel=\"noopener\">Bitmain<\/a> through a <a href=\"https:\/\/blog.bitmain.com\/en\/regarding-recent-allegations-smear-campaigns\/\" target=\"_blank\" rel=\"noopener\">press release<\/a>, the major Chinese mining hardware manufacturer has included the <a href=\"http:\/\/www.math.rwth-aachen.de\/~Timo.Hanke\/AsicBoostWhitepaperrev5.pdf\" target=\"_blank\" rel=\"noopener\">AsicBoost<\/a> technology in its specialized ASIC chips.<\/p>\n<p>This is controversial, in large part because AsicBoost is patented and therefore potentially skews Bitcoin\u2019s mining ecosystem by government regulation. Furthermore, covert use of AsicBoost, as it turns out, is largely incompatible with a <a href=\"https:\/\/bitcoinmagazine.com\/articles\/segregated-witness-part-how-a-clever-hack-could-significantly-increase-bitcoin-s-potential-1450553618\">Segregated<\/a><a href=\"https:\/\/bitcoinmagazine.com\/articles\/segregated-witness-part-why-you-should-care-about-a-nitty-gritty-technical-trick-1450827675\"> Witness<\/a><a href=\"https:\/\/bitcoinmagazine.com\/articles\/segregated-witness-part-how-a-soft-fork-might-establish-a-block-size-truce-or-not-1451423607\"> soft fork<\/a> (SegWit), the protocol upgrade proposed by the Bitcoin Core development team. <\/p>\n<p>While it is not clear that Bitmain has actually used AsicBoost, and the company denies this is the reason it blocks SegWit, many do believe a response is required.<\/p>\n<p>Having <a href=\"https:\/\/bitcoinmagazine.com\/articles\/breaking-down-bitcoins-asicboost-scandal\">broken down the \u201cAsicBoost scandal\u201d<\/a> in a previous article, what follows here are some options moving forward.<\/p>\n<h2><strong>AsicBoost<\/strong><\/h2>\n<p>First, a quick recap on <a href=\"https:\/\/bitcoinmagazine.com\/bitcoin-mining\">Bitcoin mining<\/a> and AsicBoost. (Skip if you already know the details.)<\/p>\n<p>Bitcoin miners construct blocks of data. These blocks include transactions, some random data (a \u201cnonce\u201d) and more. Once constructed, a miner hashes his block, which is a mathematical trick that scrambles and compresses all the data into a short and random string of numbers: a hash. If this hash happens to start with enough zeroes, the block is valid and it can be submitted to the network. If it\u2019s not valid, the miner will have to try again, for example by changing the nonce.<\/p>\n<p>To construct and hash a block, miners have to invest a tiny bit of computing power, hence, energy. In effect, this means that any time a miner finds a valid block, he must have statistically invested much more energy for all of the invalid blocks he also constructed. <\/p>\n<p>A valid hash is therefore quite literally proof that a miner did a specific amount of work, which is why this process is called \u201cproof of work.\u201d This proof of work is what makes Bitcoin relatively immutable. The only way an attacker can rewrite history is to have access to specialized hardware and invest real energy to redo all the work.<\/p>\n<p>AsicBoost allows miners to take a \u201cshortcut.\u201d Instead of blindly hashing as many variations of a block as possible, AsicBoost lets miners reuse a certain calculation in the hash process across several tries. This saves some 15 to 30 percent of energy.<\/p>\n<p>AsicBoost can be used in two ways: overtly and covertly. Overt use would be obvious to anyone; it\u2019s easily detected by looking at the blocks a miner produces. Covert use, however, is much harder, if not impossible, to detect. Only covert use is largely incompatible with SegWit.<\/p>\n<p>Bitmain\u2019s chips allow for both overt and covert use, but the company has certainly not used AsicBoost overtly. There are <a href=\"https:\/\/www.reddit.com\/r\/Bitcoin\/comments\/63yo27\/some_circumstantial_evidence_supporting_the_claim\/\" target=\"_blank\" rel=\"noopener\">several indications<\/a> that Bitmain has used AsicBoost covertly, but the company denies that it has, and it is so far unproven.<\/p>\n<h2><strong>Option One: Do Nothing<\/strong><\/h2>\n<p>The first option in light of the AsicBoost revelations is, of course, to do nothing at all.<\/p>\n<p>Assuming Bitmain uses AsicBoost, or will use it in the future, miners (or, more accurately, mining hardware manufacturers) will then have to gain access to the patent as well, or compete on other grounds. Depending on how much added profit AsicBoost actually provides (this is <a href=\"https:\/\/medium.com\/@jimmysong\/mining-profitability-and-asicboost-ffdb779ef6dd\" target=\"_blank\" rel=\"noopener\">somewhat<\/a><a href=\"https:\/\/medium.com\/@jimmysong\/just-how-profitable-is-bitmain-a9df82c761a\" target=\"_blank\" rel=\"noopener\"> disputed<\/a>), this could be viable at least in the short term. Whether it\u2019s viable in the long term, however, is much less certain.<\/p>\n<p>Alternatively, the patent could be made free to the public.<\/p>\n<p>One of the patent holders, Sergio Demian Lerner,<a href=\"https:\/\/www.mail-archive.com\/bitcoin-dev@lists.linuxfoundation.org\/msg03739.html\" target=\"_blank\" rel=\"noopener\"> suggested<\/a> this as an option, though he doesn\u2019t appear <a href=\"https:\/\/twitter.com\/SDLerner\/status\/850412920362205187\" target=\"_blank\" rel=\"noopener\">very keen<\/a> on doing so without any reward.<\/p>\n<p>And in their press release Bitmain alluded to freeing the patent too, writing:<\/p>\n<p>\u201cIf all mining equipment could use AsicBoost, it will lower the J\/GH cost and the total network hash rate will increase, making the Bitcoin network even stronger. So, the AsicBoost method is not a \u2018covert attack\u2019 on the Bitcoin PoW function. It is an engineering optimization.\u201d<\/p>\n<p>And:<\/p>\n<p>\u201cWe suggest working with the patent owners so that the patent could be used by the public.\u201d<\/p>\n<p>While this could be a good option, it should be noted that (contrary to Bitmain\u2019s press release) freeing the patent would not really increase Bitcoin\u2019s security in a meaningful way.<\/p>\n<p>This is because in a competitive mining landscape, any energy saved by miners would really have to be re-invested to increase the hash rate. But the purpose of proof of work is not, in itself, finding valid hashes. Hashes are just random numbers and don\u2019t provide security in and of themselves.<\/p>\n<p>Rather, the purpose of proof of work is \u2026 proving work.<\/p>\n<p>If all miners were to use AsicBoost, the hash rate would go up, but miners would not invest more energy. In other words, if all miners take the same \u201cshortcut,\u201d that shortcut just becomes the \u201cmain route.\u201d<\/p>\n<p>As such, reversing a transaction would not be any harder. An attacker would still need access to specialized hardware and would have to invest the same amount of energy.<\/p>\n<p>That is not a problem \u2014 but it does not benefit anyone either.<\/p>\n<h2><strong>Option Two: Blocking Covert AsicBoost<\/strong><\/h2>\n<p>Of course, the main reason Maxwell revealed that Bitmain is implementing AsicBoost in their chips wasn\u2019t so much because of AsicBoost itself; rather, it was because of Segregated Witness. More specifically, since covert use of AsicBoost is largely incompatible with SegWit, it may stop Bitmain from activating the proposed SegWit soft fork.<\/p>\n<p>In his draft Bitcoin Improvement Proposal (BIP) sent to the Bitcoin development mailing list, Maxwell therefore proposed to block only the covert version of AsicBoost (or, really, make it significantly more expensive to use). If covert use of AsicBoost is blocked, it would at least take away that reason to block SegWit.<\/p>\n<p>Bitcoin users can block covert use of AsicBoost with a user-activated soft fork (UASF), which effectively forces miners to pick one of two options: miners would have to either activate Segregated Witness, or they would have to include something in their blocks that doesn\u2019t actually do anything \u2014 except block AsicBoost.<\/p>\n<p>This would still leave miners with the choice to either activate Segregated Witness or not. And they could still use the overt version of AsicBoost as well.<\/p>\n<p>As such (and as opposed to what Bitmain suggested in its press release), the BIP will not result in loss for patent owners. If anything, it would help patent owners: it would ensure that no one covertly breaches the patent. Indeed, Lerner supports blocking covert use of AsicBoost, and he even <a href=\"https:\/\/lists.linuxfoundation.org\/pipermail\/bitcoin-dev\/2017-April\/014077.html\" target=\"_blank\" rel=\"noopener\">resubmitted<\/a> Maxwell\u2019s BIP proposal using different terminology.<\/p>\n<p>Bitmain, however, has not commented on the BIP so far, and it is still unclear whether the company will support it. (Of course, if the company is not covertly using AsicBoost, it would have little reason to oppose the proposal.)<\/p>\n<p>Alternatively, AsicBoost can be blocked by adopting the latest iteration of Extension Blocks, an alternative scaling solution proposed by the <a href=\"https:\/\/bitcoinmagazine.com\/articles\/bcoin-a-menace-to-the-network-or-an-enrichment-of-the-bitcoin-ecosystem-1476909115\">Bcoin<\/a> development team.<\/p>\n<p>As another option, Bitcoin developer Jimmy Song <a href=\"https:\/\/medium.com\/@jimmysong\/a-small-modification-to-segwit-da95cb5d19\" target=\"_blank\" rel=\"noopener\">suggested<\/a> that instead of making covert use of AsicBoost impossible, perhaps overt use should be incentivized. This added incentive could be combined with Segregated Witness, which could give miners one more reason to active the soft fork.<\/p>\n<h2><strong>Option Three: Blocking All of AsicBoost<\/strong><\/h2>\n<p>For some, however, blocking the covert version of AsicBoost alone is not enough.<\/p>\n<p>Since AsicBoost is patented, and patents are state-enforced, the concern is that this could lead to a situation where mining becomes semi-permissioned: mining profitably would effectively require permission from the patent holders and the state(s) that enforces the patents. This could in turn lead to a more centralized, and perhaps even regulated, mining ecosystem.<\/p>\n<p>Bitcoin Core developers <a href=\"https:\/\/www.mail-archive.com\/bitcoin-dev@lists.linuxfoundation.org\/msg03722.html\" target=\"_blank\" rel=\"noopener\">Peter Todd<\/a> and <a href=\"https:\/\/www.mail-archive.com\/bitcoin-dev@lists.linuxfoundation.org\/msg03724.html\" target=\"_blank\" rel=\"noopener\">Matt Corallo<\/a>, for example, have suggested that the Bitcoin protocol should be changed to make AsicBoost irrelevant altogether.<\/p>\n<p>This can of course be done with a hard fork; the initial idea was to bundle it with a hard fork that was part of the <a href=\"https:\/\/medium.com\/@bitcoinroundtable\/bitcoin-roundtable-consensus-266d475a61ff\" target=\"_blank\" rel=\"noopener\">Bitcoin Roundtable Consensus<\/a> (better known as the \u201cHong Kong Agreement\u201d). But since the initial hard fork proposals resulting from this agreement have failed to gain consensus so far, this option seems <a href=\"https:\/\/bitcoinmagazine.com\/articles\/the-status-of-the-hong-kong-hard-fork-an-update-1479843521\">off the table<\/a> for now. Alternatively, AsicBoost can be soft forked out of the current protocol.<\/p>\n<p>But perhaps unsurprisingly, the patent holders dislike these options, while others are afraid that changing the protocol in response to what they consider to be an optimization would disincentivize future innovation. Blocking all of AsicBoost, therefore, still seems like a long shot for now.<\/p>\n<h2><strong>Option Four: Proof of Work Change<\/strong><\/h2>\n<p>Finally, there\u2019s the \u201cnuclear option.\u201d<\/p>\n<p>In an ecosystem where a relatively small group of people has come to control a relatively large chunk of all hash power on the Bitcoin network, and where either AsicBoost-related motives or \u201c<a href=\"https:\/\/bitcoinmagazine.com\/articles\/antpool-will-not-run-segwit-without-block-size-increase-hard-fork-1464028753\">political<\/a>\u201d motives seem to have played a part in blocking Segregated Witness, some \u2014 like the pseudonymous \u201cPraxeology Guy\u201d \u2014<a href=\"https:\/\/www.mail-archive.com\/bitcoin-dev@lists.linuxfoundation.org\/msg05101.html\" target=\"_blank\" rel=\"noopener\"> propose<\/a> that the best way forward is to change the proof of work algorithm entirely. This would render all existing mining hardware useless and would \u201creset\u201d the mining landscape back to where more regular users can participate, while disabling AsicBoost at the same time.<\/p>\n<p>Changing Bitcoin\u2019s proof of work algorithm is very controversial, however, in large part because it punishes all current miners. And as for any hard fork, it would require everyone to switch to a new protocol. This is no easy task \u2014 especially given its controversial nature.<\/p>\n<p><em>This article has been updated for accuracy.<\/em><\/p>\n","protected":false},"excerpt":{"rendered":"<p>As first revealed by Bitcoin Core developer and Blockstream Co-Founder and CTO Gregory Maxwell, and subsequently confirmed by Bitmain through a press release, the major Chinese mining hardware manufacturer has included the AsicBoost technology in its specialized ASIC chips. This is controversial, in large part because AsicBoost is patented and therefore potentially skews Bitcoin\u2019s mining [&hellip;]<\/p>\n","protected":false},"author":2509,"featured_media":24025,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[464,197,1662,97,1079],"class_list":{"0":"post-24024","1":"post","2":"type-post","3":"status-publish","4":"format-standard","5":"has-post-thumbnail","7":"category-business","8":"tag-asics","9":"tag-bitmain","10":"tag-block-size","11":"tag-mining","12":"tag-segwit"},"author_data":{"id":2509,"name":"Aaron van Wirdum","nicename":"aaron-van-wirdum","avatar_url":"https:\/\/bitcoinmagazine.com\/wp-content\/uploads\/2024\/12\/aaron-van-wirdum-96x96.jpg"},"featured_image_url":"https:\/\/bitcoinmagazine.com\/wp-content\/uploads\/2024\/11\/breaking-down-bitcoins-asicboost-scandal-the-solutions.jpg","_links":{"self":[{"href":"https:\/\/bitcoinmagazine.com\/wp-json\/wp\/v2\/posts\/24024","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/bitcoinmagazine.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/bitcoinmagazine.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/bitcoinmagazine.com\/wp-json\/wp\/v2\/users\/2509"}],"replies":[{"embeddable":true,"href":"https:\/\/bitcoinmagazine.com\/wp-json\/wp\/v2\/comments?post=24024"}],"version-history":[{"count":0,"href":"https:\/\/bitcoinmagazine.com\/wp-json\/wp\/v2\/posts\/24024\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/bitcoinmagazine.com\/wp-json\/wp\/v2\/media\/24025"}],"wp:attachment":[{"href":"https:\/\/bitcoinmagazine.com\/wp-json\/wp\/v2\/media?parent=24024"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/bitcoinmagazine.com\/wp-json\/wp\/v2\/categories?post=24024"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/bitcoinmagazine.com\/wp-json\/wp\/v2\/tags?post=24024"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}