Meanwhile, investors have been rattled this week by reports bank-owned currency trading utility CLS, along with enterprise software giant IBM, are teaming up to trial the blockchain-based Ledger Connect, an application that offers services from different vendors, with some nine financial institutions, including international heavyweights Barclays and Citigroup.
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.”
The Bitcoin protocol was designed to encourage the distribution of hashing power among miners rather than its concentration. The reason? Miners wield power not only over which transactions get added to the Bitcoin blockchain but over the evolution of the Bitcoin software itself. When updates are made to the protocol, it is the miners, largely, who enforce these changes. If the miners band together and choose not to deploy an update from Bitcoin’s core developers, they can stall transactions or even cause the currency to split into competing versions.
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.
An official investigation into bitcoin traders was reported in May 2018. The U.S. Justice Department launched an investigation into possible price manipulation, including the techniques of spoofing and wash trades. Traders in the U.S., the U.K, South Korea, and possibly other countries are being investigated. Brett Redfearn, head of the U.S. Securities and Exchange Commission's Division of Trading and Markets, had identified several manipulation techniques of concern in March 2018.
^ Jump up to: a b c d Joshua A. Kroll; Ian C. Davey; Edward W. Felten (11–12 June 2013). "The Economics of Bitcoin Mining, or Bitcoin in the Presence of Adversaries" (PDF). The Twelfth Workshop on the Economics of Information Security (WEIS 2013). Archived (PDF) from the original on 9 May 2016. Retrieved 26 April 2016. A transaction fee is like a tip or gratuity left for the miner.
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.”
When you pay someone in bitcoin, you set in motion a process of escalating, energy-intensive complexity. Your payment is basically an electronic message, which contains the complete lineage of your bitcoin, along with data about who you’re sending it to (and, if you choose, a small processing fee). That message gets converted by encryption software into a long string of letters and numbers, which is then broadcast to every miner on the bitcoin network (there are tens of thousands of them, all over the world). Each miner then gathers your encrypted payment message, along with any other payment messages on the network at the time (usually in batches of around 2,000), into what’s called a block. The miner then uses special software to authenticate each payment in the block—verifying, for example, that you owned the bitcoin you’re sending, and that you haven’t already sent that same bitcoin to someone else.
You’ll need a Bitcoin wallet in which to keep your mined Bitcoins. Once you have a wallet, make sure to get your wallet address. It will be a long sequence of letters and numbers. Each wallet has a different way to get the public Bitcoin address, but most wallets are pretty straightforward about it. Notice that you’ll need your PUBLIC Bitcoin address and not your private key (which is like the secret password for your wallet).
Zhang walks up to a door between two shelves full of mining rigs, and we step through. “This is the hot side,” he tells me. We’re standing in an empty, brightly lit space that serves as the heat dump for the facility. The exhaust fans from all the mining machines on the other side are poking out through little holes in a metal wall, blasting hot air into the space, where it gets purged to the outside by another wall full of giant metal fans.
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 hard fork of a cryptocurrency is a change to the protocol that makes previously invalid blocks/transactions valid (or vice-versa). This requires all the nodes to upgrade to the latest version of the protocol software. In other words, a hard fork is a permanent divergence from the previous version of the blockchain, and nodes running previous versions will no longer be accepted by the newest version. This, in turn, creates a fork in the blockchain: one path follows the new, upgraded blockchain, and the other path continues along the old path.
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.
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).