Bitcoin mining is intentionally designed to be resource-intensive and difficult so that the number of blocks found each day by miners remains steady. Individual blocks must contain a proof of work to be considered valid. This proof of work is verified by other Bitcoin nodes each time they receive a block. Bitcoin uses the hashcash proof-of-work function.
Bitcoin mining is competitive and the goal is that you want to solve or “find” a block before anyone else’s miner does. Then you will get the block reward and transaction fees from the block. During the last several years we have seen an incredible amount of hashrate coming online which made it harder to have enough hashrate personally (individually) to solve a block, thus getting the payout reward. To compensate for this pool mining was developed.
But, as always, the miners’ biggest challenge came from bitcoin itself. The mere presence of so much new mining in the Mid-Columbia Basin substantially expanded the network’s total mining power; for a time, Carlson’s mine alone accounted for a quarter of the global bitcoin mining capacity. But this rising calculating power also caused mining difficulty to skyrocket—from January 2013 to January 2014, it increased one thousandfold—which forced miners to expand even faster. And bitcoin’s rising price was now drawing in new miners, especially in China, where power is cheap. By the middle of 2014, Carlson says, he’d quadrupled the number of servers in his mine, yet had seen his once-massive share of the market fall below 1 percent.
For all that potential, however, the basin’s nascent mining community was beset by the sort of troubles that you would have found in any other boomtown. Mining technology was still so new that the early operations were constantly crashing. There was a growing, often bitter competition for mining sites that had adequate power, and whose landlords didn’t flip out when the walls got “Swiss-cheesed” with ventilation holes. There was the constant fear of electrical overloads, as coin-crazed miners pushed power systems to the limit—as, for example, when one miner nearly torched an old laundromat in downtown Wenatchee.

The primary purpose of mining is to allow Bitcoin nodes to reach a secure, tamper-resistant consensus. Mining is also the mechanism used to introduce bitcoins into the system. Miners are paid transaction fees as well as a subsidy of newly created coins, called block rewards. This both serves the purpose of disseminating new coins in a decentralized manner as well as motivating people to provide security for the system through mining.

Indeed, for a time, everything seemed to come together for the miners. By mid-2013, Carlson’s first mine, though only 250 kilowatts in size, was mining hundreds of bitcoins a day—enough for him to pay all his power bills and other expenses while “stacking” the rest as a speculative asset that had started to appreciate. By then, bitcoin was shedding its reputation as the currency of drug dealers and data-breach blackmailers. A few legitimate companies, like Microsoft, and even some banks were accepting it. Competing cryptocurrencies were proliferating, and trading sites were emerging. Bitcoin was the hot new thing, and its price surged past $1,100 before settling in the mid-hundreds.
In January 2009, the bitcoin network was created when Nakamoto mined the first block of the chain, known as the genesis block.[18][19] Embedded in the coinbase of this block was the following text: "The Times 03/Jan/2009 Chancellor on brink of second bailout for banks."[10] This note has been interpreted as both a timestamp and a comment on the instability caused by fractional-reserve banking.[20]:18