But due to the volatility of bitcoin, it’s impossible to predict the annual revenue of a mining farm. On my flight from China back to the United States, the price of bitcoin crashed 25 percent, from $2,400 to $1,800. In no time at all the operation I visited was bringing in $50,000 less per day. Within a week it was back up, and approaching an all-time high.
The trick, though, was finding a location where you could put all that cheap power to work. You needed an existing building, because in those days, when bitcoin was trading for just a few dollars, no one could afford to build something new. You needed space for a few hundred high-speed computer servers, and also for the heavy-duty cooling system to keep them from melting down as they churned out the trillions of calculations necessary to mine bitcoin. Above all, you needed a location that could handle a lot of electricity—a quarter of a megawatt, maybe, or even a half a megawatt, enough to light up a couple hundred homes.
But here, Carlson and his fellow would-be crypto tycoons confronted the bizarre, engineered obstinacy of bitcoin, which is designed to make life harder for miners as time goes by. For one, the currency’s mysterious creator (or creators), known as “Satoshi Nakamoto,” programmed the network to periodically—every 210,000 blocks, or once every four years or so—halve the number of bitcoins rewarded for each mined block. The first drop, from 50 coins to 25, came on November 28, 2012, which the faithful call “Halving Day.” (It has since halved again, to 12.5, and is expected to drop to 6.25 in June 2020.)

That constraint is what makes the problem more or less difficult. More leading zeroes means fewer possible solutions, and more time required to solve the problem. Every 2,016 blocks (roughly two weeks), that difficulty is reset. If it took miners less than 10 minutes on average to solve those 2,016 blocks, then the difficulty is automatically increased. If it took longer, then the difficulty is decreased.

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.
A wallet stores the information necessary to transact bitcoins. While wallets are often described as a place to hold[87] or store bitcoins,[88] 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"[88] 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.[89] At its most basic, a wallet is a collection of these keys.

Because of bitcoin's decentralized nature and its trading on online exchanges located in many countries, regulation of bitcoin has been difficult. However, the use of bitcoin can be criminalized, and shutting down exchanges and the peer-to-peer economy in a given country would constitute a de facto ban.[164] The legal status of bitcoin varies substantially from country to country and is still undefined or changing in many of them. Regulations and bans that apply to bitcoin probably extend to similar cryptocurrency systems.[165]

Bitcoins may not be ideal for money laundering, because all transactions are public.[50] Authorities, including the European Banking Authority[51] the FBI,[23] and the Financial Action Task Force of the G7[52] have expressed concerns that bitcoin may be used for money laundering. In early 2014, an operator of a U.S. bitcoin exchange, Charlie Shrem, was arrested for money laundering.[53] Subsequently, he was sentenced to two years in prison for "aiding and abetting an unlicensed money transmitting business".[43] Alexander Vinnik, an alleged owner of BTC-e was arrested in Greece July 25 of 2017 on $4 bln money laundering charges for flouting anti-money laundering (AML) laws of the US. A report by UK's Treasury and Home Office named "UK national risk assessment of money laundering and terrorist financing" (2015 October) found that, of the twelve methods examined in the report, bitcoin carries the lowest risk of being used for money laundering, with the most common money laundering method being the banks.[54]
A CMU researcher estimated that in 2012, 4.5% to 9% of all transactions on all exchanges in the world were for drug trades on a single dark web drugs market, Silk Road.[30] Child pornography,[31] murder-for-hire services,[32] and weapons[33] are also allegedly available on black market sites that sell in bitcoin. Due to the anonymous nature and the lack of central control on these markets, it is hard to know whether the services are real or just trying to take the bitcoins.[34]
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

Satoshi's anonymity often raises unjustified concerns because of a misunderstanding of Bitcoin's open-source nature. Everyone has access to all of the source code all of the time and any developer can review or modify the software code. As such, the identity of Bitcoin's inventor is probably as relevant today as the identity of the person who invented paper.

For all that potential, however, the basin’s nascent mining community was beset by the sort of troubles that you would have found in any other boomtown. Mining technology was still so new that the early operations were constantly crashing. There was a growing, often bitter competition for mining sites that had adequate power, and whose landlords didn’t flip out when the walls got “Swiss-cheesed” with ventilation holes. There was the constant fear of electrical overloads, as coin-crazed miners pushed power systems to the limit—as, for example, when one miner nearly torched an old laundromat in downtown Wenatchee.

The bitcoin blockchain is a public ledger that records bitcoin transactions.[64] It is implemented as a chain of blocks, each block containing a hash of the previous block up to the genesis block[a] of the chain. A network of communicating nodes running bitcoin software maintains the blockchain.[30]:215–219 Transactions of the form payer X sends Y bitcoins to payee Z are broadcast to this network using readily available software applications.