Bitcoin mining is a lot like a giant lottery where you compete with your mining hardware with everyone on the network to earn bitcoins. Faster Bitcoin mining hardware is able to attempt more tries per second to win this lottery while the Bitcoin network itself adjusts roughly every two weeks to keep the rate of finding a winning block hash to every ten minutes. In the big picture, Bitcoin mining secures transactions that are recorded in Bitcon's public ledger, the block chain. By conducting a random lottery where electricity and specialized equipment are the price of admission, the cost to disrupt the Bitcoin network scales with the amount of hashing power that is being spent by all mining participants.

The whole process is pretty simple and organized: Bitcoin holders are able to transfer bitcoins via a peer-to-peer network. These transfers are tracked on the “blockchain,” commonly referred to as a giant ledger. This ledger records every bitcoin transaction ever made. Each “block” in the blockchain is built up of a data structure based on encrypted Merkle Trees. This is particularly useful for detecting fraud or corrupted files. If a single file in a chain is corrupt or fraudulent, the blockchain prevents it from damaging the rest of the ledger.

In the earliest days of Bitcoin, mining was done with CPUs from normal desktop computers.  Graphics cards, or graphics processing units (GPUs), are more effective at mining than CPUs and as Bitcoin gained popularity, GPUs became dominant.  Eventually, hardware known as an ASIC, which stands for Application-Specific Integrated Circuit, was designed specifically for mining bitcoin.  The first ones were released in 2013 and have been improved upon since, with more efficient designs coming to market.  Mining is competitive and today can only be done profitably with the latest ASICs.  When using CPUs, GPUs, or even the older ASICs, the cost of energy consumption is greater than the revenue generated.
The trick, though, was finding a location where you could put all that cheap power to work. You needed an existing building, because in those days, when bitcoin was trading for just a few dollars, no one could afford to build something new. You needed space for a few hundred high-speed computer servers, and also for the heavy-duty cooling system to keep them from melting down as they churned out the trillions of calculations necessary to mine bitcoin. Above all, you needed a location that could handle a lot of electricity—a quarter of a megawatt, maybe, or even a half a megawatt, enough to light up a couple hundred homes.

Thanks for the article. I appreciate the total work but I’m the most interested in cloud mining from your «Other types» section. I have a small apartment, which is one of reasons why I can’t afford the equipment. But mining is really intriguing for me, so I want to get into it. Do you think that clouds are totally unreliable? Or I can try to invest in them? Maybe, you can review the site CCG Mining (I found it recently and it looks interesting to me). They offer pretty promos **link removed** . I trust your experience, so would be… Read more »
Bitcoin is pseudonymous, meaning that funds are not tied to real-world entities but rather bitcoin addresses. Owners of bitcoin addresses are not explicitly identified, but all transactions on the blockchain are public. In addition, transactions can be linked to individuals and companies through "idioms of use" (e.g., transactions that spend coins from multiple inputs indicate that the inputs may have a common owner) and corroborating public transaction data with known information on owners of certain addresses.[111] Additionally, bitcoin exchanges, where bitcoins are traded for traditional currencies, may be required by law to collect personal information.[112]
Nakamoto is estimated to have mined one million bitcoins[26] before disappearing in 2010, when he handed the network alert key and control of the code repository over to Gavin Andresen. Andresen later became lead developer at the Bitcoin Foundation.[27][28] Andresen then sought to decentralize control. This left opportunity for controversy to develop over the future development path of bitcoin.[29][28]