As more and more miners competed for the limited supply of blocks, individuals found that they were working for months without finding a block and receiving any reward for their mining efforts. This made mining something of a gamble. To address the variance in their income miners started organizing themselves into pools so that they could share rewards more evenly. See Pooled mining and Comparison of mining pools.
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.
A wallet stores the information necessary to transact bitcoins. While wallets are often described as a place to hold[87] or store bitcoins,[88] due to the nature of the system, bitcoins are inseparable from the blockchain transaction ledger. A better way to describe a wallet is something that "stores the digital credentials for your bitcoin holdings"[88] and allows one to access (and spend) them. Bitcoin uses public-key cryptography, in which two cryptographic keys, one public and one private, are generated.[89] At its most basic, a wallet is a collection of these keys.
Bitcoin is a peer-to-peer version of electronic cash that allows payments to be sent directly from one party to another without going through a financial institution. The network timestamps transactions by hashing them into an ongoing chain of hash-based proof-of-work, forming a record that cannot be changed without redoing the proof-of-work. – Satoshi Nakamoto
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.

Across the Mid-Columbia Basin, miners faced an excruciating dilemma: cut their losses and walk, or keep mining for basically nothing in the hopes that the cryptocurrency market would somehow turn around. Many smaller operators simply folded and left town—often leaving behind trashed sites and angry landlords. Even larger players began to draw lines in the sand. Carlson started moving out of mining and into hosting and running sites for other miners. Others held on. Among the latter was Salcido, the Wenatchee contractor-turned-bitcoin miner who grew up in the valley. “What I had to decide was, do I think this recovers, or does the chart keep going like this and become nothing?” Salcido told me recently. We were in his office in downtown Wenatchee, and Salcido, a clean-cut 43-year-old who is married with four young kids, was showing me a computer chart of the bitcoin price during what was one of the most agonizing periods of his life. “Month over month, you had to make this decision: Am I going to keep doing this, or am I going to call it?”
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