Bitmain gained an edge by supplying a superior product in large quantities, a feat that has eluded every other company in the industry. The Ordos facility is stuffed almost exclusively with Bitmain’s best performing rig, the Antminer S9. According to company specs, the S9 is capable of churning out 14 terahashes, or 14 trillion hashes, every second while consuming around 0.1 joules of energy per gigahash for a total of about 1,400 watts (about as much as a microwave oven consumes).
Unlike ever before, the world is now able to transfer and receive funds locally and internationally at low costs, and the potential is increased given that a significant number of people in developing countries do not have access to the formal financial system, and compared to the developed countries where the competition is fierce in the financial institutions, little number of banks available in the under-developed countries imposed very high fees during international transactions.
Bitcoin Mining is intentionally designed to be resource-intensive and difficult so that the number of blocks found each day by miners remains steady over time, producing a controlled finite monetary supply. Individual blocks must contain a proof-of-work to be considered valid. This proof-of-work (PoW) is verified by other Bitcoin nodes each time they receive a block. Bitcoin uses a PoW function to protect against double-spending, which also makes Bitcoin's ledger immutable.
A wallet stores the information necessary to transact bitcoins. While wallets are often described as a place to hold or store bitcoins, due to the nature of the system, bitcoins are inseparable from the blockchain transaction ledger. A better way to describe a wallet is something that "stores the digital credentials for your bitcoin holdings" and allows one to access (and spend) them. Bitcoin uses public-key cryptography, in which two cryptographic keys, one public and one private, are generated. At its most basic, a wallet is a collection of these keys.
But not everyone is going along for the ride. Back in East Wenatchee, Miehe is giving me an impromptu tour of the epicenter of the basin’s boom. We drive out to the industrial park by the regional airport, where the Douglas County Port Authority has created a kind of mining zone. We roll past Carlson’s construction site, which is swarming with equipment and men. Not far away, we can see a cluster of maybe two dozen cargo containers that Salcido has converted into mines, with transformers and cooling systems. Across the highway, near the new, already-tapped out substation, Salcido has another crew working a much larger mine. “A year ago, none of this was here,” Miehe says. “This road wasn’t here.”
And, inevitably, there was a growing tension with the utilities, which were finally grasping the scale of the miners’ ambitions. In 2014, the public utility district in Chelan County received requests from would-be miners for a total of 220 megawatts—a startling development in a county whose 70,000 residents were then using barely 200 megawatts. Similar patterns were emerging across the river in neighboring Douglas and Grant counties, where power is also cheap.
These dynamics have resulted in a race among miners to amass the fastest, most energy-efficient chips. And the demand for faster equipment has spawned a new industry devoted entirely to the computational needs of Bitcoin miners. Until late 2013, generic graphics cards and field-programmable gate arrays (FPGAs) were powerful enough to put you in the race. But that same year companies began to sell computer chips, called application-specific integrated circuits (ASICs), which are specifically designed for the task of computing the Bitcoin hashing algorithm. Today, ASICs are the standard technology found in every large-scale facility, including the mining farm in Ordos. When Bitmain first started making ASICs in 2013, the field was thick with competitors—BitFury, a multinational ASIC maker; KnCMiner in Stockholm; Butterfly Labs in the United States; Canaan Creative in Beijing; and about 20 other companies spread around China.
To form a distributed timestamp server as a peer-to-peer network, bitcoin uses a proof-of-work system. This work is often called bitcoin mining. The signature is discovered rather than provided by knowledge. This process is energy intensive. Electricity can consume more than 90% of operating costs for miners. A data center in China, planned mostly for bitcoin mining, is expected to require up to 135 megawatts of power.
The Ledger Nano is a smartcard based hardware wallet. Private keys are generated and signed offline in the smartcard’s secure environment. The Nano is setup using the Ledger Chrome Application. A random 24-word seed is generated upon setup and backed offline by writing it down on a piece of paper. In case of theft, damage or loss, the entire wallet can be recreated with the seed. A user selected PIN code is also assigned to the device to protect against physical theft or hacking.
Bitcoin mining is the process of updating the ledger of Bitcoin transactions known as the blockchain. Mining is done by running extremely powerful computers (known as ASICs) that race against other miners in an attempt to guess a specific number. The first miner to guess the number gets to update the ledger of transactions and also receives a reward of newly minted Bitcoins (currently the reward is 12.5 Bitcoins).
Each ASIC has more than 100 cores, all of which operate independently to run Bitcoin’s SHA-256 hashing algorithm. A control board on the top of the machine coordinates the work, downloading the block header to be hashed and distributing the problem to all the hashing engines, which then report back with solutions and the random numbers they used to get them.
But bitcoin is completely digital, and it has no third parties. The idea of an overseeing body runs completely counter to its ethos. So if you tell me you have 25 bitcoins, how do I know you’re telling the truth? The solution is that public ledger with records of all transactions, known as the block chain. (We’ll get to why it’s called that shortly.) If all of your bitcoins can be traced back to when they were created, you can’t get away with lying about how many you have.
“It’s a real testament to Bitmain that they’ve been able to fend off the competition they have fended off. But still, you haven’t seen an Intel and a Nvidia go full hog into this sector, and it would be interesting to see what would happen if they did,” says Garrick Hileman, an economic historian at the London School of Economics who compiled a miner survey with the University of Cambridge.
To save money on cooling, some mine operators have opted for cooler climates. BitFury also runs three large mining facilities, one of which is in Iceland to benefit from the cool weather. “Many data centers around the world have 30 to 40 percent of electricity costs going to cooling,” explains Valery Vavilov, the CEO of BitFury. “This is not an issue in our Iceland data center.”
Due to the widespread proliferation of the internet and mobile devices, more people in the developing world now have access to web services. It therefore follows that the number of Bitcoin users should increase as a result. Citizens who find it inconvenient to access traditional banking services will seek out virtual systems such as Bitcoin, and as internet usage increases within the developing world, one can only predict that the adoption of Bitcoin (and cryptocurrencies generally) will go viral.
These days, Miehe says, a serious miner wouldn’t even look at a site like that. As bitcoin’s soaring price has drawn in thousands of new players worldwide, the strange math at the heart of this cryptocurrency has grown steadily more complicated. Generating a single bitcoin takes a lot more servers than it used to—and a lot more power. Today, a half-megawatt mine, Miehe says, “is nothing.” The commercial miners now pouring into the valley are building sites with tens of thousands of servers and electrical loads of as much as 30 megawatts, or enough to power a neighborhood of 13,000 homes. And in the arms race that cryptocurrency mining has become, even these operations will soon be considered small-scale. Miehe knows of substantially larger mining projects in the basin backed by out-of-state investors from Wall Street, Europe and Asia whose prospecting strategy, as he puts it, amounts to “running around with a checkbook just trying to get in there and establish scale.”
The Bank for International Settlements summarized several criticisms of bitcoin in Chapter V of their 2018 annual report. The criticisms include the lack of stability in bitcoin's price, the high energy consumption, high and variable transactions costs, the poor security and fraud at cryptocurrency exchanges, vulnerability to debasement (from forking), and the influence of miners.
Paint mixing is a good way to think about the one-way nature of hash functions, but it doesn’t capture their unpredictability. If you substitute light pink paint for regular pink paint in the example above, the result is still going to be pretty much the same purple, just a little lighter. But with hashes, a slight variation in the input results in a completely different output:
Of course, by the end of 2017, the players who were pouring into the basin weren’t interested in building 5-megawatt mines. According to Carlson, mining has now reached the stage where the minimum size for a new commercial mine, given the high levels of difficulty, will soon be 50 megawatts, enough for around 22,000 homes and bigger than one of Amazon Web Services’ immense data centers. Miehe, who has become a kind of broker for out-of-town miners and investors, was fielding calls and emails from much larger players. There were calls from China, where a recent government crackdown on cryptocurrency has miners trying to move operations as large as 200 megawatts to safer ground. And there was a flood of interest from players outside the sector, including big institutional investors from Wall Street, Miami, the Middle East, Europe and Japan, all eager to get in on a commodity that some believe could touch $100,000 by the end of the year. And not all the interest has been so civil. Stories abound of bitcoin miners using hardball tactics to get their mines up and running. Carlson, for example, says some foreign miners tried to bribe building and safety inspectors to let them cut corners on construction. “They are bringing suitcases full of cash,” Carlson says, adding that such ploys invariably backfire. Adds Miehe, “I mean, you know how they talk about the animal spirits—greed and fear? Well, right now, everyone is in full-greed mode.”
A variant race attack (which has been called a Finney attack by reference to Hal Finney) requires the participation of a miner. Instead of sending both payment requests (to pay Bob and Alice with the same coins) to the network, Eve issues only Alice's payment request to the network, while the accomplice tries to mine a block that includes the payment to Bob instead of Alice. There is a positive probability that the rogue miner will succeed before the network, in which case the payment to Alice will be rejected. As with the plain race attack, Alice can reduce the risk of a Finney attack by waiting for the payment to be included in the blockchain.
Based in Austin, TX, Steven is the Executive Editor at CoinCentral. He’s interviewed industry heavyweights such as Wanchain President Dustin Byington, TechCrunch Editor-in-Chief Josh Constine, IOST CEO Jimmy Zhong, Celsius Network CEO Alex Mashinsky, and ICON co-founder Min Kim among others. Outside of his role at CoinCentral, Steven is a co-founder and CEO of Coin Clear, a mobile app that automates cryptocurrency investments. You can follow him on Twitter @TheRealBucci to read his “clever insights on the crypto industry.” His words, not ours.
Bitcoin is a peer-to-peer version of electronic cash that allows payments to be sent directly from one party to another without going through a financial institution. The network timestamps transactions by hashing them into an ongoing chain of hash-based proof-of-work, forming a record that cannot be changed without redoing the proof-of-work. – Satoshi Nakamoto
In the blockchain, bitcoins are registered to bitcoin addresses. Creating a bitcoin address requires nothing more than picking a random valid private key and computing the corresponding bitcoin address. This computation can be done in a split second. But the reverse, computing the private key of a given bitcoin address, is mathematically unfeasible. Users can tell others or make public a bitcoin address without compromising its corresponding private key. Moreover, the number of valid private keys is so vast that it is extremely unlikely someone will compute a key-pair that is already in use and has funds. The vast number of valid private keys makes it unfeasible that brute force could be used to compromise a private key. To be able to spend their bitcoins, the owner must know the corresponding private key and digitally sign the transaction. The network verifies the signature using the public key.:ch. 5