<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Bernie Rihn on Medium]]></title>
        <description><![CDATA[Stories by Bernie Rihn on Medium]]></description>
        <link>https://medium.com/@BernieRihn?source=rss-8eb304897fff------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*vQkTTpagtwa2P86j.jpg</url>
            <title>Stories by Bernie Rihn on Medium</title>
            <link>https://medium.com/@BernieRihn?source=rss-8eb304897fff------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Fri, 20 Nov 2026 18:13:53 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@BernieRihn/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[On the Clothing of Emperors: A Rant about 21.co and the Future of Bitcoin Mining]]></title>
            <link>https://medium.com/@BernieRihn/on-the-clothing-of-emperors-a-rant-about-21-co-and-the-future-of-bitcoin-mining-a96d2647ccca?source=rss-8eb304897fff------2</link>
            <guid isPermaLink="false">https://medium.com/p/a96d2647ccca</guid>
            <category><![CDATA[bitcoin-mining]]></category>
            <category><![CDATA[bitcoin]]></category>
            <dc:creator><![CDATA[Bernie Rihn]]></dc:creator>
            <pubDate>Wed, 06 May 2015 12:45:28 GMT</pubDate>
            <atom:updated>2015-05-06T19:47:15.549Z</atom:updated>
            <content:encoded><![CDATA[<p>An enigmatic start-up, formerly called <a href="https://bitcointalk.org/index.php?topic=334759.0">21E6</a>, now re-branded as <a href="https://21.co/">21</a>, is doing “top secret” bitcoin-related things in San Francisco. They have recently raised <a href="http://www.coindesk.com/21-record-116-million-funding-all-star-investors/">stratospheric funding</a>. Their secrecy has lead to all sorts of <a href="http://www.reddit.com/r/Bitcoin/comments/2z1a2q/what_is_21_inc_developing/">free marketing</a>.</p><p>Reading all the speculation is painful for me as a participant in the bitcoin ecosystem. <a href="http://ftalphaville.ft.com/2015/04/30/2127543/meet-the-company-that-wants-to-put-a-bitcoin-miner-in-your-toaster/">21 wants to bring mining back to all home users</a> by “giving” them internet-connected devices that pay for themselves by mining. Home mining is dead. For good. There’s no bringing it back, and no <a href="https://en.bitcoin.it/wiki/Proof_of_work">proof-of-work</a> that uses electricity will ever make sense to run out of your house. It’s just too expensive.</p><p>That said, it’s incredibly important that we all see value in our participation in bitcoin through things like <a href="https://www.google.com/url?sa=t&amp;rct=j&amp;q=&amp;esrc=s&amp;source=video&amp;cd=2&amp;cad=rja&amp;uact=8&amp;ved=0CCAQtwIwAQ&amp;url=http%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DGmOzih6I1zs&amp;ei=w-JHVdvUKIPvoAT9goC4DQ&amp;usg=AFQjCNE6fBCJDr-aE8kXdXONUdt0SprSPA&amp;sig2=SsbvotY_S2LtpyNkznK2yg">mining</a> and operation of a <a href="https://bitcoin.org/en/full-node">full-node</a>. Bitcoin is the most liberating and self-empowering tech the world has ever seen. It deprecates entire industries — banking, identity, and escrow to name a few — freeing people to learn new things and solve new problems. But, it only works with mass participation (I would argue, through services like <a href="https://bitmaintech.com/product.htm">Bitmain</a>, <a href="http://www.spondoolies-tech.com/">Spondoolies</a>, <a href="https://hashplex.com/">HashPlex</a>, and <a href="https://blockchain.info/">Blockchain.info</a>, but I’m pretty biased).</p><p>There’s a long history of “cloud-mining” companies that run the spectrum from <a href="https://cex.io/">dis-empowering rip-offs</a> to <a href="https://bitcointalk.org/index.php?topic=749980.0">pyramid schemes</a>. It’s no wonder mining has seen great consolidation. I worry that 21 will only further entrench distrust in the mining industry when customers discover how much they pay (in electricity) to run 21&#39;s equipment (mostly for 21&#39;s gain).</p><p>Before I go too far off the rails, let’s explore some background.</p><h3>The economics of bitcoin mining</h3><p>Bitcoin mining is fundamentally a process whereby we put in electrons, and we get out quantifiable amounts of “work” for which “anonymous” people &amp; machines on the internet will pay us (because that “work” helps to create a system of <a href="https://en.bitcoin.it/wiki/Bitcoin_whitepaper">distributed time-stamping</a>, which can be leveraged into a <a href="https://bitcoin.org/en/how-it-works">global, distributed ledger of signed inputs and outputs</a>). The key here is that mining (in the simplest sense) follows this state diagram:</p><p><em>electrons → BTC</em></p><h4>Miners as the Fed</h4><p>Bitcoin miners play the role of the Fed. They enforce the rules. The core-developers write the rules, but the miners enforce them. If the majority (or even a large minority) of the miners disagree with the devs, there’s all kinds of funny business they can get up to (just a few examples below).</p><ul><li><a href="http://www.reddit.com/r/Bitcoin/comments/22cohy/8024121746_mining_18_blocks_today_containing/">80.241.217.46 mining 18 blocks today containing mostly 1 -&gt; 64 -&gt; -128 -&gt; 256 -&gt; 512 transactions * /r/Bitcoin</a></li><li><a href="http://www.coindesk.com/blacklist-debate-ok-meddle-bitcoins-code/">The Blacklist Debate: When is it OK to Mess with Bitcoin&#39;s Code?</a></li><li><a href="http://bitcoin.stackexchange.com/questions/11307/why-did-this-empty-transaction-block-get-awarded-25-bitcoins">Why did this empty transaction block get awarded 25 bitcoins?</a></li><li><a href="http://www.reddit.com/r/Bitcoin/comments/1g0yvf/feathercoin_going_through_a_real_51_attack_people/">Feathercoin going through a real 51% attack. People are not happy. * /r/Bitcoin</a></li><li><a href="http://www.coindesk.com/feathercoin-hit-by-massive-attack/">Feathercoin hit by massive attack - CoinDesk</a></li></ul><p>The most canonical example of how a large group of miners would protest a decision of the core-devs is to</p><ol><li>fork the chain with their own rule-set</li><li>apply hashrate to the original chain and publish empty blocks or blocks filled with spam transactions (ramping up the difficulty in the process)</li><li>(if they have more than half the hashrate) re-write recent portions of the chain (stealing the coins published in those portions)</li><li>after the next difficulty adjustment, pull their mining power off the chain back onto their own chain, and let the hashrate that remains on the original chain work against a disproportionately high difficulty (dramatically slowing confirmation rates)</li></ol><p>This results in a very healthy tension: Miners depend on the core-devs to be forward-looking and maintain an economically sound rule-set. The core-devs depend on the miners to enforce their rule-set and strengthen their chain against attackers or competing chains.</p><p>Thus, as a holder of bitcoin, we have an interest in holding some proportional amount of mining power so that we get to help decide the future of The One Best Chain. A bitcoin holder without mining power has voiceless, helpless entries in a distributed database that are (for the most part) along for the ride.</p><h4>End-Game Economics of Mining</h4><p>Naturally a miner wants to make BTC as cheaply as possible. There are two ways to do this:</p><ol><li>Make a chip that produces cryptographic work as efficiently as possible (minimize electrons / hash). See <a href="https://bitmaintech.com/">Bitmain</a>, <a href="http://www.spondoolies-tech.com/">Spondoolies-Tech</a>.</li><li><a href="http://en.wikipedia.org/wiki/Electricity_pricing">Find cheap electrons</a>. See <a href="http://www.savingiceland.org/2010/05/landsvirkjun%C2%B4s-spin-on-their-energy-prices-to-heavy-industry/">Iceland</a> ($0.015 / kw-hr), China ($0.03 / kw-hr→ Free), <a href="http://www.chelanpud.org/rates.html">Washington State</a> ($0.027 / kw-hr)</li></ol><p>The path of bitcoin mining is paved with the (still warm) graves of companies that have failed to do (1) successfully. See <a href="http://hashfast.com/">HashFast</a>, <a href="http://www.coindesk.com/coinlabs-alydian-bankruptcy-debt-3-6m/">Alydian</a>, <a href="http://www.coindesk.com/bitcoin-mining-firm-cointerra-files-chapter-7-bankruptcy/">Cointerra</a>, <a href="http://www.coindesk.com/bitcoin-miner-aquifer-files-for-chapter-11-bankruptcy/">Aquifer</a>, <a href="http://www.biostar.com.tw/app/en/event/bitcoin/page2.htm">Biostar</a>, <a href="http://www.btc-digger.com/">BTC-Digger</a>, <a href="http://www.btcgarden.com/">BTC Garden</a>, <a href="https://bitcointalk.org/index.php?topic=343856.20">CLAM</a>, <a href="http://www.digbig.io/">DigBig</a>, <a href="http://hashra.com/">Hashra</a>, <a href="https://bitcointalk.org/index.php?topic=455332.0">iCoinTech</a>, <a href="https://bitcointalk.org/index.php?topic=261716">Land ASIC</a>, <a href="http://www.tmr-asic.com/support.html">TMR</a>, and <a href="https://en.bitcoin.it/wiki/ASIC#Canceled_projects">many</a>, <a href="https://en.bitcoin.it/wiki/ASIC#Questionable_projects">MANY</a> more. To watch fires in progress see <a href="http://arstechnica.com/tech-policy/2014/09/feds-label-bitcoin-miner-maker-butterfly-labs-as-systematic-deception/">Butterfly Labs</a>, <a href="https://www.cryptocoinsnews.com/bitcoin-mining-company-bitmine-facing-multiple-lawsuits-defrauding-customers/">Bitmine/Innosilicon</a>, <a href="http://kncclassaction.com/">KNC Miner</a>, <a href="http://www.btcreporter.com/2015/03/04/mystery-in-bitcoinland-the-disappearance-of-friedcat/">ASICMiner</a>, <a href="https://bitcointalk.org/index.php?topic=294197.7600">Black Arrow</a>.</p><p>In any market, margins tend to settle out after a while. Some people use the “1–3–9 rule” (cost of goods sold (COGS), distributor cost, retail cost). Some use “the rule of pi” (about 1/3 of the retail price is won by each of the manufacturer (COGS), the distributor, and the retailer). <strong>I would contend that the profits of miners will settle out at around triple the lowest broadly-available (un-subsidized) power cost in the world.</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/526/1*if9kU_433ZMs7Dc4WRbl3w.png" /></figure><p>From this we can very easily see how various business models work (or don’t).</p><p>Let’s assume that lowest broadly-available, un-subsidized power cost is around $0.02 / kw-hr. Armed with our understanding (assumption) above, we can say that (in some idealized far future), for every kilowatt of mining equipment that we run for an hour, we will make $0.06. If the price of Bitcoin goes up, people bring more mining power online; if the price goes down, people shut off less efficient hardware. The returns might deviate over the short-term, but they are certain to settle into something like $0.06-$0.08 / kw-hr in the long-run.</p><p>Ok, now that we’ve set the stage, let’s make some money (and hopefully debunk some ideas of what 21.co is going to offer)!</p><h3>Mining on a phone</h3><p>A typical cell-phone has a thermal design power (TDP) of 2 to 5 watts. Let’s assume all of it could be devoted to mining.</p><p><em>Profit / Month = 0.005 kw * $0.06 x 24 hours x 30 days = </em><strong><em>$0.22 / month</em></strong></p><p>They’re not putting a miner on our phone. Moving on.</p><h3>Mining on AC power adapters</h3><p>We have roughly the same case as our phone here — our power adapter needs to be able to dissipate some heat (let’s say 20w). We make money at 4x the rate of our phone. But… this is still just under a dollar a month, and now we have to add a wifi card to our power adapter which costs us another $10 (adding 10 months of amortization time). We need a device with lots of power that already needs internet connectivity…</p><h3>Mining on a home router</h3><p>The only possible model here is they <em>give us </em>a router with a <a href="https://bitcoin.org/en/full-node">full node</a> and a mining chip in it. Free router! Yayyyy! Let’s look at the economics.</p><p>A standard home router has a total design power of about 5 watts. Let’s assume they ship everybody something a bit beefier though. How about 100w (the wattage of a macbook pro charger)?</p><p><em>Profit = 0.1 kw * $0.06 x 24 hours x 30 days = </em><strong><em>$4.32 / month</em></strong></p><p>Assuming this device costs something around $100 (wherein $80 is devoted to mining hardware), this device pays for itself in about 2 years. Quickly we’ll find an interesting relationship — that the time to payoff doesn’t relate to the size of the device. Let’s go big!</p><h3>Mining with a hot water heater</h3><p>We found that if we pump in more joules, we make more money. Where do we put in lots of joules in our lives? Baseboard heaters! Stoves! Dryers! HOT WATER HEATERS!</p><p>A typical electric hot-water heater draws 3 to 4.5 kilowatts at full power. To the maths!</p><p><em>Profit = 3 kw * $0.06 x 24 hours x 30 days = </em><strong><em>$129.60 / month</em></strong></p><p>This looks pretty great until we realize that hot water heaters have a heating element <a href="http://www.mygreenpeacebuddies.com/power-cost-of-idle-electric-water-heater-46276.html">which is on for 1–5% of the day</a>. Now we’re back down to ~$4 / mo.</p><p>But! We could use it to keep the water warm at off-peak times… which requires ~30–100 watts… making us ~$1–4 / month.</p><p>…</p><p>Ok, so what about space heaters (crosses fingers)?</p><h3>Mining with a space heater (that identifies as some other internet-&amp;-blockchain-connected device)</h3><p>This is were we start to dig in and things get interesting. Let’s define some complete, built-at-scale Cost-Of-Goods-Sold-per-kilowatt of mining power (<a href="http://www.extremetech.com/computing/198822-samsung-expected-to-manufacture-14nm-chips-for-qualcomm-apple-possibly-nvidia-in-2015">built at the 14nm Samsung node</a>) that we would actually want in our house. We can split hairs here (lower-efficiency → lower built cost, etc.), but it’s not critical that we get it right since it just gives us reference amortization rates (how quickly the space heater pays for itself — what we care about). As a proxy we can use something like the <a href="https://bitmaintech.com/productDetail.htm?pid=00020150303095018716e2uWKIA70662">Bitmain Antminer S5</a>. (In reality, 21 will spend more than this per kilowatt for something built at 14nm, but let’s be conservative for the sake of argument.)</p><p><em>Built Miner Cost @ 14nm / kilowatt = $500</em></p><p>Let’s find our time to break-even @ 100% duty cycle:</p><p><em>Time to break-even = $500 / ($0.06 * 24 hours * 30 days) = 11.57 months</em></p><p>This means that over 12 months, if we kept our 1-kilowatt heater on 24 hours a day, 7 days a week, (and it magically reconnected itself after power outages &amp; internet outages, and <em>never crashed [listens for laughter from fellow miners]</em>) we would make back the $500 COGS.</p><p>Let’s look at how much we spent on power during that time. <a href="https://www.google.com/search?q=united+states+average+electricity+cost">The average american household gets their electricity for $0.12 / kw-hr</a>. This means we <strong>also spent $1000 on electricity</strong>. Some might see this as a horrible net loss, but that isn’t the case. Neglecting the $500 we spent on a small-ish capacity space-heater, what really happened was that <em>we got a discount on electricity</em>. Neglecting the COGS, we spent $500 for 1 kilowatt of heat throughout the year instead of $1000.</p><p>This is marginally interesting… until we consider that most people don’t run their space heater 24x7. I’d venture a guess that the duty-cycle is in fact (much) less than 50% (vacation, summer, … <em>most daytime… </em>probably all contribute to low duty-cycle<em>)</em>. Our duty-cycle is directly related to our amortization rate — if we only have our heater on at night during the winter (we’ll say 8 hours / day, 4 months / year) our 1 year payoff turns into a 9 year payoff.</p><p>It happens that this is also why most renewable energy (except hydro-power) sucks — low duty-cycle. The sun tends to go down. The wind tends to stop blowing. This means that the power company still has to finance the full capacity with non-renewable sources (again, excepting hydro-power) like natural gas, coal, and nuclear (they don’t want the grid to go down if the wind stops blowing, right?). This has an unintended negative consequence — it actually causes the price of mixed energy (e.g. solar + coal) sources <em>to be more expensive</em> than their non-renewable counterparts (e.g. just coal) — even if the renewable energy sources are actually significantly cheaper to operate. I digress.</p><p>Our marginal interest in our BTC mining heater likely fades toward disgust when we consider what we could have purchased instead — <a href="http://en.wikipedia.org/wiki/Heat_pump">a heat pump</a>. 1000 watts is equivalent to 3400 BTUs (British Thermal Units — <a href="https://www.youtube.com/watch?v=JvKIWjnEPNY">they always wanted their own units, didn’t they?</a>). A casual search yields a typical cost of $100 to $200 per 3400 BTU of heat-pump capacity.</p><p>So, we decide to buy $200 of heat-pump capacity instead of a $500 1000w bitcoin space-heater. What do the numbers look like? Well, it seems that typical <a href="http://en.wikipedia.org/wiki/Heat_pump#Efficiency">heatpump efficiencies</a> are about 2 to 4x that of common electric, resistive heating elements (i.e. for every watt we put in, we get 2 to 4 watts at the condenser — the thing blowing warm air into our house). <strong>So… now we’re using 300w of electricity to get 1000w of heat.</strong> Unless I’m missing something, <strong>we’ve</strong> <strong>now saved ourselves $700 in electricity</strong>.</p><h3>How to not suck at bitcoin mining (an aside &amp; shameless plug)</h3><p>For the foreseeable future, it makes a lot more sense to <a href="https://hashplex.com/">host our mining equipment</a>. In reality, if we’re not running our space heater to heat our home 24x7, we’ll likely be wasting our money (and even then, we probably still will be by neglecting to use a heatpump). It’s my guess that hosting companies will slowly lean towards profit sharing with customers in exchange for customers’ putting up the cash for mining hardware (remember that “rule of pi” ratio?) — leaving ~$0.02 / kw-hr for their power costs, ~$0.02 / kw-hr for operational costs, and ~$0.02 as a split of customer &amp; hosting company profit.</p><p>Does this mean mining is broken? Not in the slightest. “Centralization” the crowd yells! I disagree. <a href="https://bitcointalk.org/index.php?topic=622998.0">There seem to be tens (if not hundreds) of options — all geographically distributed</a>. All it means is that the boxes aren’t running in our house (and wouldn’t we rather that they not be there anyway?).</p><p>Find a service that <a href="http://www.coindesk.com/hashplex-launches-hydropowered-miner-hosting-facility/">provides power off renewables</a>, and send equipment there. The water running through a dam (for example) will be dissipating energy in its descent of the river whether we take advantage or not. It might as well induce entropy generation in a more controlled and measurable fashion (and make money while securing the blockchain).</p><h3>What is 21 building?</h3><p>We’ve established from the above (rant-warm-up) that 21 can’t (sustainably, with a straight face) sell anything that mines bitcoin in our house as a network-connected device masquerading as a “heater.”</p><p>They are clearly already in the mining business (their mining pool, <a href="http://mempool.info/pool/pool34">pool34</a> was recently outed and is <a href="http://mempool.info/pools">humming along nicely at 3–4 petahashes / second</a>). They are <a href="https://21.co/#jobs">clearly building an ASIC</a> (Application Specific Integrated Circuit, commonly called a “chip”). The question is, for what? A few possibilities:</p><ol><li><strong>A mining ASIC for SHA-256 (the hashing algorithm bitcoin uses).</strong></li><li><strong>An integrated hardware “wallet” for mobile.</strong></li><li><strong>A mining ASIC for a new proof-of-work &amp; chain (SHA-3 + A16Z3000?).</strong></li></ol><p>Let’s have a look at each, shall we?</p><h3>A mining ASIC for SHA-256</h3><p>Right off the bat I’m going to say this is the highest probability (Occam’s razor). The question is, what will be interesting about their ASIC in comparison with others that have come before?</p><p>In case you haven’t had a look, <a href="http://en.wikipedia.org/wiki/SHA-2">SHA-256 is an open specification</a> with <a href="https://github.com/secworks/sha256">reference implementations in hardware description languages</a>. I’ve built my own <a href="http://en.wikipedia.org/wiki/Field-programmable_gate_array">FPGA</a>-based systems that have run it:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*9Sz-AZlAMQv1wMpI3cTi-Q.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Cl1a70b-OWwp6QEGovMTyw.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*RGE4VEux3H4QxUEVVjhyEg.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*iMlFCYvOyDuNofYRdWwSSw.jpeg" /></figure><p><a href="http://en.wikipedia.org/wiki/SHA-2">It looks complicated</a>, but it’s just a series of adds, shifts, rotates, and xors. A hardware implementation is <em>significantly </em>simpler than any modern microprocessor. A small bitcoin ASIC has several tens if not low hundreds of these cores that compute SHA <a href="http://bitcoin.stackexchange.com/questions/16940/what-are-asic-miners-actually-doing"><em>completely unrolled</em></a> on a single chunk of silicon. Example parameters for three popular modern bitcoin ASICs:</p><h4>Antminer S5 (BM1384 ASIC)</h4><p>Core Dimensions: 3.77mm x 4.14mm (15.61 mm^2) (28nm process)<br>SHA Chains: 55<br>Area / Chain: 0.28mm^2<br>Hashrate / Area: 1.23 GH / mm^2</p><h4>Spondoolies SPXX (RockerBox ASIC)</h4><p>Core Dimensions: 10mm x 11.5mm (115 mm^2) (28nm process)<br>SHA Chains: 193<br>Area / Chain: 0.59mm^2<br>Hashrate / Area: 1.72 GH / mm^2</p><h4>KNC Neptune (Neptune ASIC)</h4><p>Core Dimensions: 10.78mm x 10.56mm (113.90 mm^2) (<strong><em>n.b. 20nm process</em></strong>)<br>SHA Chains: 360<br>Area / Chain: 0.32mm^2<br>Hashrate / Area: 1.45 GH / mm^2</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/636/1*qi01oDfT_gVECQiRXI7Gmw.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/711/1*kch2zwAkGWOPBBu2oSgOEg.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/326/1*YRPTBzHJbbv9NELAQmYyUA.jpeg" /></figure><p>We note that the design for a fully unrolled chain is between 0.3mm^2 and 0.6mm^2. In comparison, Intel Core-I7 series processors are 150 to 350 mm^2. Even if we remove the cache (which is highly repetitive), we have something around 50–150mm^2 of unique die area (probably 80–500X more <em>designed</em> area).</p><p>A <em>single designer</em> is more than capable of designing a mining ASIC (e.g. Bitfury’s <a href="http://www.bitfury.org/team">Valery Nebesny</a>).</p><h4>ASIC Optimizations (What I would do if I were 21 or any other ASIC designer)</h4><p>Let’s recall the primary objective — minimize the power required to make BTC (to solve SHA-256). There are a few parameters that we can work with to achieve this goal. To first order, integrated circuit power consumption follows the law</p><p><em>Power Consumed = Frequency * Transistor Gate Capacitances * Voltage^2 + Leakage Current * Voltage</em></p><p>So we can</p><ol><li>Make our transistors smaller (make the buckets that shuttle electrons hold fewer electrons — we’re lowering “Transistor Gate Capacitances”).</li><li>Use fewer transistors.</li><li>Lower our transistor voltages (give the electrons lower energy as they traverse our chip, so that when they change state, they use less power — we’re lowering “Voltage”).</li><li>Underclock (we’re lowering “Frequency”).</li><li>Build custom, process-specific transistor “cells.” Cells are groups of transistors that make up common logic (<a href="http://en.wikipedia.org/wiki/XOR_gate">xor</a>, <a href="http://en.wikipedia.org/wiki/Shift_register">shift</a>, <a href="http://en.wikipedia.org/wiki/Adder_%28electronics%29">add</a>, etc.) elements. By customizing our cells, we are, for the most part, reducing “Transistor Gate Capacitances.”</li><li>Lower the resistivity of our metal layers (allowing us to lower “Voltage”).</li><li>Lower our leakage current through <a href="http://en.wikipedia.org/wiki/High-%CE%BA_dielectric">high-k dielectrics</a>.</li></ol><p><strong>All of these optimizations <em>any </em>designer should (and will) pursue.</strong> Solutions for each follow:</p><ol><li>Find an investor with a lot of money (the finer the pitch of the lithography, the more expensive the mask — a 28nm mask + <a href="http://en.wikipedia.org/wiki/Non-recurring_engineering">NRE</a> is probably ~2–3M USD, but a 14nm mask + NRE is probably 7–12M USD).</li><li>Most logic is pretty well defined and requires some minimum number of transistors. Two things we can do are optimize our adder chains and eliminate inter-stage flip-flops. Bitmain, Bitfury, and KNC all seem to be doing this already given their nominal clock rates.</li><li>Change one resistor value on our DC/DC converter.</li><li>Change one register value in our firmware that drives our <a href="http://en.wikipedia.org/wiki/Voltage-controlled_oscillator">VCOs</a> and <a href="http://en.wikipedia.org/wiki/Phase-locked_loop">PLLs</a>.</li><li>Ask a designer at our chosen fab to help customize cells for our usage profile (always on).</li><li>Deposit thicker copper layers.</li><li>Ask our fab to use a low-leakage process.</li></ol><h4>The Point</h4><p>We’ve now seen a gauntlet of things we can do to make BTC with fewer electrons with our mining chip that we design. So what? What’s the point? You probably don’t want to build your own mining chip, right? Why do we care? <strong>The point is anybody can build a competitive mining ASIC with a single qualified designer and an injection of cash. </strong>There’s no instruction decode, caches, TLBs, instruction re-ordering, P-States, C-States, etc. A mining ASIC is relatively simple<em>.</em></p><p>The idea that there will be some future in which there is a performance chasm between mining hardware vendors anywhere near the one between Intel &amp; AMD, AMD &amp; NVIDIA, etc. is silly, frankly. Building a mining chip is (laughably) simple in comparison with other chips. <a href="http://www.intc.com/financials.cfm">Intel</a>, for example, probably has thousands of engineers and billions of dollars devoted to a single core CPU family.</p><p>Should bitcoin continue to grow and the market support mining, many other existing fabless semiconductor firms will also build mining chips. There’s <a href="http://amtminers.com/reports-production/">already rampant counterfeiting in China</a> (another reason 21 probably chose Qualcomm + Samsung).</p><p><strong>So, in the short-term, my guess is that 21 is building a mining ASIC for SHA-256. And this is largely irrelevant in the grand scheme.</strong></p><p>The best-case scenario is</p><ol><li>21 releases their ASIC into the wild and it is ~25% more efficient than the nearest competitor.</li><li>Their ASIC is immediately counterfeited and available on Chinese markets within 4–6 months.</li><li>Industrial mining facilities fill up with this slightly-more-efficient design driving margins back down.</li><li>Lots of retail miners end up with really inefficient space-heaters that complain when they’re not connected to the internet.</li></ol><h3>An integrated hardware “wallet” for mobile</h3><p><a href="http://www.coindesk.com/21-record-116-million-funding-all-star-investors/">Some conjecture that they’re making a hardware wallet.</a> I’m just going to say it flat out: I don’t understand “hardware wallets.” I have a phone. <a href="http://theiphonewiki.com/wiki/Bootchain">It boots a secured OS image</a>. <em>It’s connected to the internet.</em> I have <a href="https://www.authy.com/">apps</a> that provide a platform for <a href="http://en.wikipedia.org/wiki/Google_Authenticator">2-Factor Auth</a>. <a href="https://www.yubico.com/">Companies</a> sell <a href="https://www.yubico.com/products/yubikey-hardware/">devices</a> that have solved the “something you have” piece of “<a href="http://en.wikipedia.org/wiki/Multi-factor_authentication">something you have &amp; something you know</a>.” With the advent of <a href="http://bitcoin.stackexchange.com/questions/3718/what-are-multi-signature-transactions">multi-sig</a>, I see no need for any hardware-specific bitcoin implementations (other than mining chips), ever. (Ok maybe hardware acceleration for block verification done by full nodes, but that’s only a nice-to-have for embedded devices in the case we <a href="http://gavinandresen.ninja/it-must-be-done-but-is-not-a-panacea">move to ever larger blocks instead of something like lightning</a>.) The most I need is a mobile app. The most my refrigerator should need is a minimal linux kernel and an embedded version of BitcoinD. You disagree? <a href="/service/mailto:bernie@hashplex.com">I’d love to hear about it.</a></p><h3>A mining ASIC for a new proof-of-work &amp; chain (SHA-3 + A16Z3000?)</h3><p>21 could, conceivably, roll their own blockchain with their own <a href="http://en.wikipedia.org/wiki/Proof-of-work_system">proof-of-work</a>. Reasons that they’re not:</p><ol><li>Their company has the word “bitcoin” littered everywhere, and Marc Andreesen <a href="https://twitter.com/search?q=%40pmarca+bitcoin">writes nearly weekly about his bitcoin boner</a>.</li><li>There’s way too much momentum around SHA-2.</li><li>It would be perceived by the community as “<a href="http://themisescircle.org/blog/2013/08/22/the-problem-with-altcoins/">yet another alt-coin</a>” and a power grab (unless they open-sourced the hardware design or offered people truly at-cost shares).</li></ol><h3>Why Qualcomm</h3><p>Qualcomm has started to work with Samsung, <a href="http://www.engadget.com/2012/12/21/samsung-first-14nm-finfet-test-chip-/">who happened to have the first working 14nm process</a>. It may also happen to be the case that building an ASIC (that is completely unprotectable by any form of copyright or IP law — <em>it’s open source </em>after all) and not having it ripped-off by the people who run the fab or friends of people who run the fab is easier in Korea than in China or Taiwan.</p><ul><li><a href="http://forums.windowscentral.com/windows-central-news-discussion/352690-qualcomm-reportedly-planning-use-samsungs-fab-manufacture-snapdragon-820-a.html">Qualcomm reportedly planning to use Samsung&#39;s fab to manufacture the Snapdragon 820</a></li><li><a href="http://www.eetimes.com/document.asp?doc_id=1262030">Report: Qualcomm wafer fab not ruled out | EE Times</a></li></ul><h3>21&#39;s model and why it doesn’t work</h3><p>There’s a (conventional at this point) wisdom that says that you build a more defensible software / services product if it’s backed with great hardware — (e.g. iPhone, Mac, Surface, Chromebook, Nest, Wearables + Fitness Software). All of these pieces of hardware are well defined and differentiated. They’re sold to consumers as complete products. To illustrate: how many consumers buy Intel processors vs. how many consumers buy devices that contain Intel processors? 21 wants to put bitcoin miners in every-day items and give them away for free or at a discount. The problem is, bitcoin mining devices do nothing that strongly couples them to any day-to-day consumer software experience (unlike Intel processors), and they probably won’t for the foreseeable future. The consumer hardware + software coupling model doesn’t fit well.</p><h4>Machines that “pay for themselves”</h4><p>We’ve already covered this, but let’s drive it home: If somebody offered to give you a home router which served the purpose of a typical $40 home router, but cost you $100–200 / year in electrical bills to operate, would you use it? I’d guess not. Mining just isn’t one of these things that makes sense to decentralize into the home.</p><h4>A full-node</h4><p>21 could relatively easily build a <a href="https://bitcoin.org/en/full-node">full-node</a> into the hardware that they ship. A full node, however, requires no special hardware or software (many people run one on their home computer), and requires no native interoperability with mining equipment (a node talks to peers &amp; mining pools, not mining equipment).</p><h3>What 21 could build that would make sense</h3><p>We can relatively quickly think of other things that do make sense to decentralize into the home, however (all of which are un-related to mining). Examples:</p><ol><li>A <a href="https://bitcoin.org/en/full-node">full-node</a> + <a href="https://www.torproject.org/">tor node</a> paid for in bitcoin micropayments (<a href="https://www.cryptocoinsnews.com/solution-trustless-bitcoin-microtransactions/">perhaps through payment channels?</a>) based on bandwidth served. (particularly interesting because it should operate autonomously &amp; anonymously)</li><li>A connectivity device (similar to a wireless router) that enables pervasive, distributed connectivity like <a href="https://seattlemesh.net/">SeattleMeshNet</a> and receives payment based on bandwidth served &amp; uptime (which would likely include the tor node in (1)). If they sell this (<strong>without an ASIC miner in it</strong>), I will buy it.</li><li>A distributed storage system in which participants get paid bitcoin micropayments based on capacity, bandwidth, and uptime (yes, there’s <a href="http://storj.io/">Storj</a>, but there’s definitely room for another, better player).</li></ol><h3>Sidenotes</h3><h4>Previous uproar over surreptitious insertion of *coin miners</h4><ul><li><a href="https://torrentfreak.com/utorrent-quietly-installs-riskware-bitcoin-miner-users-report-150306/">uTorrent Quietly Installs Cryptocurrency Miner, Users Complain | TorrentFreak</a></li><li><a href="http://www.forbes.com/sites/kashmirhill/2013/11/19/brilliant-but-evil-gaming-company-turned-players-computers-into-unwitting-bitcoin-mining-slaves/">Brilliant But Evil: Gaming Company Fined $1 Million For Secretly Using Players&#39; Computers To Mine Bitcoin</a></li></ul><h4>Energy consumption and the environment</h4><p>A person could make the argument that locating 2–3x the amount of mining power in remote facilities close to hydro-electric dams is actually more wasteful than running a fraction of that in our homes (as 21 would like to do). The truth is that the economies of electricity actually dictate the waste directly. Our electrical company charges us more money to bring power to our homes than it does to bring it to industrial areas for a reason — they have fewer costs to amortize. They’re not making more money on residential power because they like to take advantage of the consumer, they’re charging more money <em>because it costs more to serve the consumer</em>. Literally, there’s more wire, more transformers, more low-load-factor substations to finance, more service cost, etc. Assuming our energy source is clean hydro-power (and consumption of more joules does not mean more carbon emissions), higher energy cost directly implies more consumption. This is a semi-efficient free-market, and we should celebrate it.</p><h4>Mining with Refrigerators, Air Conditioners, Other Cooling Apparati</h4><p>Anybody who might have suggested that any means of cooling could be directly performed purely by production of phonons (heat) without any intermediate energy recovery mechanism was trolling. All common<em> </em>cooling mechanisms use <a href="http://en.wikipedia.org/wiki/Vapor-compression_refrigeration">vapor compression &amp; evaporation</a> (yes, we could do some <a href="http://en.wikipedia.org/wiki/Stirling_engine">Stirling engine silliness</a> or <a href="http://en.wikipedia.org/wiki/Thermoelectric_effect">peltier effect</a> energy recovery, but we shouldn’t entertain it given the cost-ineffectiveness and inefficiency, respectively).</p><h4>Mining with solar panels</h4><p>Oh man, this is a good one and warrants another full post for its subtlety. Soon.</p><h4>Mining / full nodes in space</h4><p>Shorter, but rant-worthy. Soon.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a96d2647ccca" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>