In the earliest days of Bitcoin, mining was done with CPUs from normal desktop computers. Graphics cards, or graphics processing units (GPUs), are more effective at mining than CPUs and as Bitcoin gained popularity, GPUs became dominant. Eventually, hardware known as an ASIC, which stands for Application-Specific Integrated Circuit, was designed specifically for mining bitcoin. The first ones were released in 2013 and have been improved upon since, with more efficient designs coming to market. Mining is competitive and today can only be done profitably with the latest ASICs. When using CPUs, GPUs, or even the older ASICs, the cost of energy consumption is greater than the revenue generated.
Bitcoin mining is so called because it resembles the mining of other commodities: it requires exertion and it slowly makes new units available to anybody who wishes to take part. An important difference is that the supply does not depend on the amount of mining. In general changing total miner hashpower does not change how many bitcoins are created over the long term.
Miehe still runs his original mine, a half-megawatt operation not far from the carwash. But his main job these days is managing hosting sites for other miners and connecting outsiders with insiders—and he’s OK with that. He sold off some of his bitcoin stack, just after Christmas. He’s still bullish on crypto, and on the basin’s long-term prospects. But he no longer has any appetite for the race for scale. Gone are the glory days when commercial miners could self-finance with their own stacks. Today, you need outside financing—debt—which, for Miehe, who now has two young children, would mean an unacceptable level of stress. “I’ve already done it,” he says. “My entire data center was built with bitcoin, from nothing. I’ve already won enough for what I was looking for out of mining.” He pauses. “The risk and reward is getting pretty great,” he says. “And I’m not sure I want to be on the front line of that battle.”
With the Bitcoin price so volatile everyone is curious. Bitcoin, the category creator of blockchain technology, is the World Wide Ledger yet extremely complicated and no one definition fully encapsulates it. By analogy it is like being able to send a gold coin via email. It is a consensus network that enables a new payment system and a completely digital money.
Many also fear that the new mines will suck up so much of the power surplus that is currently exported that local rates will have to rise. In fact, miners’ appetite for power is growing so rapidly that the three counties have instituted surcharges for extra infrastructure, and there is talk of moratoriums on new mines. There is also talk of something that would have been inconceivable just a few years ago: buying power from outside suppliers. That could mean the end of decades of ultracheap power—all for a new, highly volatile sector that some worry may not be around long anyway. Indeed, one big fear, says Dennis Bolz, a Chelan County Public Utility commissioner, is that a prolonged price collapse will cause miners to abandon the basin—and leave ratepayers with “an infrastructure that may or may not have a use.”
To add a new block to the chain, a miner has to finish what’s called a cryptographic proof-of-work problem. Such problems are impossible to solve without applying a ton of brute computing force, so if you have a solution in hand, it’s proof that you’ve done a certain quantity of computational work. The computational problem is different for every block in the chain, and it involves a particular kind of algorithm called a hash function.
This is the most basic version of dividing payments. This method shifts the risk to the pool, guaranteeing payment for each share that’s contributed. Thus, each miner is guaranteed an instant payout. Miners are paid out from the pool’s existing balance, allowing for the least possible variance in payment. However, for this type of model to work, it requires a very large reserve of 10,000 BTC to cover any unexpected streaks of bad luck.
The blocks chain is secured by the miners. Miners secure the block by creating a hash that is created from the transactions in the block. This cryptographic hash is then added to the block. The next block of transactions will look to the previous block’s hash to verify it is legitimate. Then the miner will attempt to create a new block that contains current transactions and new hash before any other miner does.
All of which leaves the basin’s utilities caught between a skeptical public and a voracious, energy-intense new sector that, as Bolz puts it, is “looking at us in a predatory sense.” Indeed, every utility executive knows that to reject an application for a load, even one load so large as to require new transmission lines or out-of-area imports, is to invite a major legal fight. “If you can afford 100 megawatts,” Bolz says, “you can afford a lot of attorneys.”
If you've made it this far, then congratulations! There is still so much more to explain about the system, but at least now you have an idea of the broad outline of the genius of the programming and the concept. For the first time we have a system that allows for convenient digital transfers in a decentralized, trust-free and tamper-proof way. The repercussions could be huge.
Just when it seemed that things couldn’t get any worse, they did. As mining costs were rising, bitcoin prices began to dive. The cryptocurrency was getting hammered by a string of scams, thefts and regulatory bans, along with a lot of infighting among the mining community over things like optimal block size. Through 2015, bitcoin prices hovered in the low hundreds. Margins grew so thin—and, in fact, occasionally went negative—that miners had to spend their coins as soon as they mined them to pay their power bills. Things eventually got so grim that Carlson had to dig into his precious reserves and liquidate “all my little stacks of bitcoin,” he recalls, ruefully. “To save the business, we sold it all.”
Though it is tempting to believe the media's spin that Satoshi Nakamoto is a lone, quixotic genius who created Bitcoin out of thin air, such innovations do not happen in a vacuum. All major scientific discoveries, no matter how original-seeming, were built on previously existing research. There are precursors to Bitcoin: Adam Back’s Hashcash, invented in 1997, and subsequently Wei Dai’s b-money, Nick Szabo’s bit-gold and Hal Finney’s Reusable Proof of Work. The Bitcoin white paper itself cites Hashcash and b-money, as well as various other works spanning several research fields.
Bitmain acquired this mining facility in Inner Mongolia a couple years ago and has turned it into one of the most powerful money factories on the Bitcoin network. It quite literally metabolizes electricity into money. By my own calculations, the hardware on the grounds—some 21,000 computers—accounted for about 4 percent of all the computing power in the Bitcoin network when I visited.
Bitcoin is a type of cryptocurrency: Balances are kept using public and private "keys," which are long strings of numbers and letters linked through the mathematical encryption algorithm that was used to create them. The public key (comparable to a bank account number) serves as the address which is published to the world and to which others may send bitcoins. The private key (comparable to an ATM PIN) is meant to be a guarded secret, and only used to authorize Bitcoin transmissions.
Various potential attacks on the bitcoin network and its use as a payment system, real or theoretical, have been considered. The bitcoin protocol includes several features that protect it against some of those attacks, such as unauthorized spending, double spending, forging bitcoins, and tampering with the blockchain. Other attacks, such as theft of private keys, require due care by users.
Bitcoin mining is the process by which transactions are verified and added to the public ledger, known as the block chain, and also the means through which new bitcoin are released. Anyone with access to the internet and suitable hardware can participate in mining. The mining process involves compiling recent transactions into blocks and trying to solve a computationally difficult puzzle. The participant who first solves the puzzle gets to place the next block on the block chain and claim the rewards. The rewards, which incentivize mining, are both the transaction fees associated with the transactions compiled in the block as well as newly released bitcoin. (Related: How Does Bitcoin Mining Work?)
The difficulty is a number that regulates how long it takes for miners to add new blocks of transactions to the blockchain. Because the target is such an unwieldy number with tons of digits, people generally use a simpler number to express the current target. This number is called the mining difficulty. This difficulty value updates every 2 weeks to ensure that it takes 10 minutes (on average) to add a new block to the blockchain. The difficulty is so important because, it ensures that blocks of transactions are added to the blockchain at regular intervals, even as more miners join the network. If the difficulty remained the same, it would take less time between adding new blocks to the blockchain as new miners join the network. The difficulty adjusts every 2016 blocks. At this interval, each node takes the expected time for these 2016 blocks to be mined (2016 x 10 minutes), and divides it by the actual time it took. It can be calculated as follows:
Bitcoin was the first decentralized digital currency; an online peer-to-peer payment system, without the need for third-party intermediaries such as banks. It was first released in 2008 and has since grown to be the largest cryptocurrency when measured by market cap. Bitcoins are not issued like traditional currency, they are digital and “mined” by powerful servers over time. It was designed to have a fixed supply of 21 million coins.
Still, even supporters acknowledge that that glorious future is going to use a lot of electricity. It’s true that many of the more alarming claims—for example, that by 2020, bitcoin mining will consume “as much electricity as the entire world does today,” as the environmental website Grist recently suggested—are ridiculous: Even if the current bitcoin load grew a hundredfold, it would still represent less than 2 percent of total global power consumption. (And for comparison, even the high-end estimates of bitcoin’s total current power consumption are still less than 6 percent of the power consumed by the world’s banking sector.) But the fact remains that bitcoin takes an astonishing amount of power. By one estimate, the power now needed to mine a single coin would run the average household for 10 days.
How do they find this number? By guessing at random. The hash function makes it impossible to predict what the output will be. So, miners guess the mystery number and apply the hash function to the combination of that guessed number and the data in the block. The resulting hash has to start with a pre-established number of zeroes. There's no way of knowing which number will work, because two consecutive integers will give wildly varying results. What's more, there may be several nonces that produce the desired result, or there may be none (in which case the miners keep trying, but with a different block configuration).
Bitcoin is the world’s first cryptocurrency. It is a purely peer-to-peer electronic cash system that allows online payments to be sent directly from one party to another without going through a financial institution. The Bitcoin system is the most widely accepted cryptocurrency system at present. However, due to its initial setting, such as block size and block time, its performance is limited to less than 10 transactions per second.
Benny: The Rogue Miner “Benny,” a self-taught, 20-something computer whiz, set up three mining servers in his Wenatchee home last summer. Since then he has made enough profit not only to recover his initial investment but also to pay his monthly mortgage. As a bonus, the heat from the computers keeps his home heated all winter. “It’s just basically free money,” says Benny, pictured here with his homemade mining operation. | Patrick Cavan Brown for Politico Magazine
During the last several years an incredible amount of Bitcoin mining power (hashrate) has come online making it harder for individuals to have enough hashrate to single-handedly solve a block and earn the payout reward. To compensate for this pool mining was introduced. Pooled mining is a mining approach where groups of individual miners contribute to the generation of a block, and then split the block reward according the contributed processing power.
With bitcoin, on the other hand, the supply is tightly controlled by the underlying algorithm. A small number of new bitcoins trickle out every hour, and will continue to do so at a diminishing rate until a maximum of 21 million has been reached. This makes bitcoin more attractive as an asset – in theory, if demand grows and the supply remains the same, the value will increase.
In January 2009, the bitcoin network was created when Nakamoto mined the first block of the chain, known as the genesis block. Embedded in the coinbase of this block was the following text: "The Times 03/Jan/2009 Chancellor on brink of second bailout for banks." This note has been interpreted as both a timestamp and a comment on the instability caused by fractional-reserve banking.:18