Bitcoin Mining is a peer-to-peer computer process used to secure and verify bitcoin transactions—payments from one user to another on a decentralized network. Mining involves adding bitcoin transaction data to Bitcoin's global public ledger of past transactions. Each group of transactions is called a block. Blocks are secured by Bitcoin miners and build on top of each other forming a chain. This ledger of past transactions is called the blockchain. The blockchain serves to confirm transactions to the rest of the network as having taken place. Bitcoin nodes use the blockchain to distinguish legitimate Bitcoin transactions from attempts to re-spend coins that have already been spent elsewhere.
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
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.”
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.
For all the peril, others here see the bitcoin boom as a kind of necessary opportunity. They argue that the era of cheap local power was coming to an end even before bitcoin arrived. One big reason: The region’s hydropower is no longer as prized by outside markets. In California, which has historically paid handsomely for the basin’s “green” hydropower, demand has fallen especially dramatically thanks to rapid growth in the Golden State’s wind and solar sectors. Simply put, the basin may soon struggle to find another large customer so eager to take those surplus megawatts—particularly one, like blockchain mining, that might bring other economic benefits. Early data from Douglas County, for example, suggest that the sector’s economic value, especially the sales tax from nonstop server upgrades, may offset any loss in surplus power sales, according to Jim Huffman, a Douglas County port commissioner.
If the private key is lost, the bitcoin network will not recognize any other evidence of ownership; the coins are then unusable, and effectively lost. For example, in 2013 one user claimed to have lost 7,500 bitcoins, worth $7.5 million at the time, when he accidentally discarded a hard drive containing his private key. A backup of his key(s) would have prevented this.
As noted in Nakamoto's whitepaper, it is possible to verify bitcoin payments without running a full network node (simplified payment verification, SPV). A user only needs a copy of the block headers of the longest chain, which are available by querying network nodes until it is apparent that the longest chain has been obtained. Then, get the Merkle branch linking the transaction to its block. Linking the transaction to a place in the chain demonstrates that a network node has accepted it, and blocks added after it further establish the confirmation.
Legal Gray Area. Major governments have largely remained on the sidelines, and this has created both a sense of potential and apprehension for Bitcoin proponents and critics respectively. Bitcoin isn’t backed by a regulatory agency and a government would technically be ceding power by supporting a decentralized currency. This has been largely officially unaddressed. Bitcoin’s price, however, tends to be very sensitive to any news concerning the US government’s opinion of cryptocurrencies. For example, when the SEC denied the approval of bitcoin-based exchange-traded-products—essentially bitcoin-backed assets on the stock market—in 2017, Bitcoin’s price dropped 18%. Yet while the price and adoption of Bitcoin would be affected by government action, governments are unable to criminalize Bitcoin. In fact, governments such as the United States and China have invested in it at some capacity.
This spring, Bitmain caused a minor uproar when a developer found a “backdoor,” called Antbleed, in the firmware of Bitmain’s S9 Antminers. The backdoor could have been used by the company to track the location of its machines and shut them down remotely. While no computer purchaser would find such a vulnerability acceptable, it’s particularly troubling for Bitcoin.
Gradually, people moved to GPU mining. A GPU (graphics processing unit) is a special component added to computers to carry out more complex calculations. GPUs were originally intended to allow gamers to run computer games with intense graphics requirements. Because of their architecture, they became popular in the field of cryptography, and around 2011, people also started using them to mine bitcoins. For reference, the mining power of one GPU equals that of around 30 CPUs.
Bitcoin Core is the “official” Bitcoin client and wallet, though isn’t used by many due to slow speeds and a lack of features. Bitcoin Core, however, is a full node, meaning it helps verify and transmit other Bitcoin transactions across the network and stores a copy of the entire blockchain. This offers better privacy since Core doesn’t have to rely on data from external servers or other peers on the network. Bitcoin Core routed through Tor is considered one of the best ways to use Bitcoin privately.
Just because miners want power doesn’t mean they get it. Some inquiries are withdrawn. And all three county public utilities have considerable discretion when it comes to granting power requests. But by law, they must consider any legitimate request for power, which has meant doing costly studies and holding hearings—sparking a prolonged, public debate over this new industry’s impact on the basin’s power economy. There are concerns about the huge costs of new substations, transmission wires and other infrastructure necessary to accommodate these massive loads. In Douglas County, where the bulk of the new mining projects are going in, a brand new 84-megawatt substation that should have been adequate for the next 30 to 50 years of normal population growth was fully subscribed in less than a year.
So that’s Bitcoin mining in a nutshell. It’s called mining because of the fact that this process helps “mine” new Bitcoins from the system. But if you think about it, the mining part is just a by-product of the transaction confirmation process. So the name is a bit misleading, since the main goal of mining is to maintain the ledger in a decentralized manner.
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