The process of mining bitcoins works like a lottery. Bitcoin miners are competing to produce hashes—alphanumeric strings of a fixed length that are calculated from data of an arbitrary length. They’re producing the hashes from a combination of three pieces of data: new blocks of Bitcoin transactions; the last block on the blockchain; and a random number. These are collectively referred to as the “block header” for the current block. Each time miners perform the hash function on the block header with a new random number, they get a new result. To win the lottery, a miner must find a hash that begins with a certain number of zeroes. Just how many zeroes are required is a shifting parameter determined by how much computing power is attached to the Bitcoin network. Every two weeks, on average, the mining software automatically readjusts the number of leading zeros needed—the difficulty level—by looking at how fast new blocks of Bitcoin transactions were added. The algorithm is aiming for a latency of 10 minutes between blocks. When miners boost the computing power on the network, they temporarily increase the rate of block creation. The network senses the change and then ratchets up the difficulty level. When a miner’s computer finds a winning hash, it broadcasts the block header to its next peers in the Bitcoin network, which check it and then propagate it further.
The amount of new bitcoin released with each mined block is called the block reward. The block reward is halved every 210,000 blocks, or roughly every 4 years. The block reward started at 50 in 2009, is now 12.5 in 2018, and will continue to decrease. This diminishing block reward will result in a total release of bitcoin that approaches 21 million.
Some nodes are mining nodes (usually referred to as "miners"). These group outstanding transactions into blocks and add them to the blockchain. How do they do this? By solving a complex mathematical puzzle that is part of the bitcoin program, and including the answer in the block. The puzzle that needs solving is to find a number that, when combined with the data in the block and passed through a hash function, produces a result that is within a certain range. This is much harder than it sounds.
Another advancement in mining technology was the creation of the mining pool, which is a way for individual miners to work together to solve blocks even faster. As a result of mining in a pool with others, the group solves many more blocks than each miner would on his own. Bitcoin mining pools exist because the computational power required to mine Bitcoins on a regular basis is so vast that it is beyond the financial and technical means of most people. Rather than investing a huge amount of money in mining equipment that will (hopefully) give you a return over a period of decades, a mining pool allows the individual to accumulate smaller amounts of Bitcoin more frequently.
In the meantime, the basin’s miners are at full steam ahead. Salcido says he’ll have 42 megawatts running by the end of the year and 150 megawatts by 2020. Carlson says his next step after his current build-out of 60 megawatts will be “in the hundreds” of megawatts. Over the next five years, his company plans to raise $5 billion in capital to build 2,000 megawatts—two gigawatts—of additional mining capacity. But that won’t all be in the basin, he says. Carlson says he and others will soon be scaling up so rapidly that, for farsighted miners, the Mid-Columbia Basin effectively is already maxed out, in part because the counties simply can’t build out power lines and infrastructure fast enough. “So we have to go site hunting across the US & Canada,” Carlson told me in a text. “I’m on my way to Quebec on Monday.” As in oil or gold, prospectors never stop—they just move on.
In 2013, Mark Gimein estimated electricity consumption to be about 40.9 megawatts (982 megawatt-hours a day). In 2014, Hass McCook estimated 80.7 megawatts (80,666 kW). As of 2015, The Economist estimated that even if all miners used modern facilities, the combined electricity consumption would be 166.7 megawatts (1.46 terawatt-hours per year).
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.
Miners found other advantages. The cool winters and dry air helped reduce the need for costly air conditioning to prevent their churning servers from overheating. As a bonus, the region was already equipped with some of the nation’s fastest high-speed internet, thanks to the massive fiber backbone the data centers had installed. All in all, recalls Miehe, the basin was bitcoin’s “killer app.”
Bitcoin (BTC) is a cryptocurrency which is regarded as the world’s first decentralized digital currency. It was created by a pseudonymous person or persons named Satoshi Nakamoto in 2009 and has since gone on to become the world’s most popular cryptocurrency by market cap. Bitcoin is a deflationary currency whose issuance is capped at a total supply of 21 million coins. Each Bitcoin can be divided into one million units, with the smallest unit of 0.00000001 known as a satoshi in homage to its creator. The distributed public ledger that Bitcoin uses to record transactions is known as a blockchain and Bitcoin can be spent at over 100,000 online merchants and can also be held as an investment. Bitcoin is traded for fiat and other cryptocurrencies on various exchanges but can also be used to facilitate p2p transactions. Each transaction incurs a small transaction fee to cover the cost of sending Bitcoin over the blockchain ledger, with the fee going to miners tasked with keeping the network secure.
In March 2013 the blockchain temporarily split into two independent chains with different rules. The two blockchains operated simultaneously for six hours, each with its own version of the transaction history. Normal operation was restored when the majority of the network downgraded to version 0.7 of the bitcoin software. The Mt. Gox exchange briefly halted bitcoin deposits and the price dropped by 23% to $37 before recovering to previous level of approximately $48 in the following hours. The US Financial Crimes Enforcement Network (FinCEN) established regulatory guidelines for "decentralized virtual currencies" such as bitcoin, classifying American bitcoin miners who sell their generated bitcoins as Money Service Businesses (MSBs), that are subject to registration or other legal obligations. In April, exchanges BitInstant and Mt. Gox experienced processing delays due to insufficient capacity resulting in the bitcoin price dropping from $266 to $76 before returning to $160 within six hours. The bitcoin price rose to $259 on 10 April, but then crashed by 83% to $45 over the next three days. On 15 May 2013, US authorities seized accounts associated with Mt. Gox after discovering it had not registered as a money transmitter with FinCEN in the US. On 23 June 2013, the US Drug Enforcement Administration (DEA) listed 11.02 bitcoins as a seized asset in a United States Department of Justice seizure notice pursuant to 21 U.S.C. § 881. This marked the first time a government agency had seized bitcoin. The FBI seized about 26,000 bitcoins in October 2013 from the dark web website Silk Road during the arrest of Ross William Ulbricht. Bitcoin's price rose to $755 on 19 November and crashed by 50% to $378 the same day. On 30 November 2013 the price reached $1,163 before starting a long-term crash, declining by 87% to $152 in January 2015. On 5 December 2013, the People's Bank of China prohibited Chinese financial institutions from using bitcoins. After the announcement, the value of bitcoins dropped, and Baidu no longer accepted bitcoins for certain services. Buying real-world goods with any virtual currency had been illegal in China since at least 2009.