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.
Home Sweet Repair Shop: One building on the grounds houses a lunchroom, operational center, repair shop, and dormitory. A few dozen employees run the entire facility. Their jobs include scanning the racks for malfunctioning machines, cleaning the cooling fans, fixing broken rigs, and installing upgraded machines. Many of the employees are recent engineering graduates from the local university.
During mining, your Bitcoin mining hardware runs a cryptographic hashing function (two rounds of SHA256) on what is called a block header. For each new hash that is tried, the mining software will use a different number as the random element of the block header, this number is called the nonce. Depending on the nonce and what else is in the block the hashing function will yield a hash which looks something like this:
Anyone who can run the mining program on the specially designed hardware can participate in mining. Over the years, many computer hardware manufacturers have designed specialized Bitcoin mining hardware that can process transactions and build blocks much more quickly and efficiently than regular computers, since the faster the hardware can guess at random, the higher its chances of solving the puzzle, therefore mining a block.
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.”
This bizarre process might not seem like it would need that much electricity—and in the early years, it didn’t. When he first started in 2012, Carlson was mining bitcoin on his gaming computer, and even when he built his first real dedicated mining rig, that machine used maybe 1,200 watts—about as much as a hairdryer or a microwave oven. Even with Seattle’s electricity prices, Carlson was spending around $2 per bitcoin, which was then selling for around $12. In fact, Carlson was making such a nice profit that he began to dream about running a bunch of servers and making some serious money. He wasn’t alone. Across the expanding bitcoin universe, lots of miners were thinking about scaling up, turning their basements and spare bedrooms into jury-rigged data centers. But most of these people were thinking small, like maybe 10 kilowatts, about what four normal households might use. Carlson’s idea was to leapfrog the basement phase and go right to a commercial-scale bitcoin mine that was huge: 1,000 kilowatts. “I started to have this dream, that I was posting on online forums, ‘I think I could build the first megawatt-scale mine.’”
And, inevitably, there was a growing tension with the utilities, which were finally grasping the scale of the miners’ ambitions. In 2014, the public utility district in Chelan County received requests from would-be miners for a total of 220 megawatts—a startling development in a county whose 70,000 residents were then using barely 200 megawatts. Similar patterns were emerging across the river in neighboring Douglas and Grant counties, where power is also cheap.
Fusion Media or anyone involved with Fusion Media will not accept any liability for loss or damage as a result of reliance on the information including data, quotes, charts and buy/sell signals contained within this website. Please be fully informed regarding the risks and costs associated with trading the financial markets, it is one of the riskiest investment forms possible.
I’m a newbie and everything I’ve read on here is extremely easy to comprehend! Thank you so much for all the valuable information. For those of us who don’t code or do any computing, it’s really great to be able to read something (like these articles) and not need an encyclopedia to make any sense! It gives us a chance to participate and get involved (at a slower rate albeit), and possibly earn a little something as well. Thank you!
The domain name "bitcoin.org" was registered on 18 August 2008. In November 2008, a link to a paper authored by Satoshi Nakamoto titled Bitcoin: A Peer-to-Peer Electronic Cash System was posted to a cryptography mailing list. Nakamoto implemented the bitcoin software as open source code and released it in January 2009. Nakamoto's identity remains unknown.