Because it's similar to gold mining in that the bitcoins exist in the protocol's design (just as the gold exists underground), but they haven't been brought out into the light yet (just as the gold hasn't yet been dug up). The bitcoin protocol stipulates that 21 million bitcoins will exist at some point. What "miners" do is bring them out into the light, a few at a time.
About a year and a half after the network started, it was discovered that high end graphics cards were much more efficient at bitcoin mining and the landscape changed. CPU bitcoin mining gave way to the GPU (Graphical Processing Unit). The massively parallel nature of some GPUs allowed for a 50x to 100x increase in bitcoin mining power while using far less power per unit of work.
If you've made it this far, then congratulations! There is still so much more to explain about the system, but at least now you have an idea of the broad outline of the genius of the programming and the concept. For the first time we have a system that allows for convenient digital transfers in a decentralized, trust-free and tamper-proof way. The repercussions could be huge.
Bitcoin has been criticized for the amount of electricity consumed by mining. As of 2015, The Economist estimated that even if all miners used modern facilities, the combined electricity consumption would be 166.7 megawatts (1.46 terawatt-hours per year). At the end of 2017, the global bitcoin mining activity was estimated to consume between one and four gigawatts of electricity. Politico noted that the even high-end estimates of bitcoin's total consumption levels amount to only about 6% of the total power consumed by the global banking sector, and even if bitcoin's consumption levels increased 100 fold from today's levels, bitcoin's consumption would still only amount to about 2% of global power consumption.
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 attraction then, as now, was the Columbia River, which we can glimpse a few blocks to our left. Bitcoin mining—the complex process in which computers solve a complicated math puzzle to win a stack of virtual currency—uses an inordinate amount of electricity, and thanks to five hydroelectric dams that straddle this stretch of the river, about three hours east of Seattle, miners could buy that power more cheaply here than anywhere else in the nation. Long before locals had even heard the words “cryptocurrency” or “blockchain,” Miehe and his peers realized that this semi-arid agricultural region known as the Mid-Columbia Basin was the best place to mine bitcoin in America—and maybe the world.
Unauthorized spending is mitigated by bitcoin's implementation of public-private key cryptography. For example; when Alice sends a bitcoin to Bob, Bob becomes the new owner of the bitcoin. Eve observing the transaction might want to spend the bitcoin Bob just received, but she cannot sign the transaction without the knowledge of Bob's private key.
Hardware wallets are by far the most secure kind of Bitcoin wallet, as they store Bitcoins on a physical piece of equipment, generally plugged into a computer via a USB port. They are all but immune to virus attacks and very few instances of Bitcoin theft have been reported. These devices are the only Bitcoin wallets which aren't free, and they often cost $100 to $200.
Shipping containers make for a quick way to set up an industrial bitcoin mining operation, but the servers inside produce so much heat that large fans are needed to move incredible volumes of air at high velocity in order to keep them overheating. At top, workers have attached ducts to the hot exhaust, carrying it over to melt the frozen worksite and warm their lounge area. | Patrick Cavan Brown for Politico Magazine
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.
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.
Somewhere around 2017, the concept of web mining came to life. Simply put, web mining allows website owners to “hijack,” so to speak, their visitors’ CPUs and use them to mine Bitcoin. This means that a website owner can make use of thousands of “innocent” CPUs in order to gain profits. However, since mining Bitcoins isn’t really profitable with a CPU, most of the sites that utilize web mining mine Monero instead. Up until today, over 20,000 sites have been known to utilize web mining.
These days, Miehe says, a serious miner wouldn’t even look at a site like that. As bitcoin’s soaring price has drawn in thousands of new players worldwide, the strange math at the heart of this cryptocurrency has grown steadily more complicated. Generating a single bitcoin takes a lot more servers than it used to—and a lot more power. Today, a half-megawatt mine, Miehe says, “is nothing.” The commercial miners now pouring into the valley are building sites with tens of thousands of servers and electrical loads of as much as 30 megawatts, or enough to power a neighborhood of 13,000 homes. And in the arms race that cryptocurrency mining has become, even these operations will soon be considered small-scale. Miehe knows of substantially larger mining projects in the basin backed by out-of-state investors from Wall Street, Europe and Asia whose prospecting strategy, as he puts it, amounts to “running around with a checkbook just trying to get in there and establish scale.”
In front of me are nine warehouses with bright blue roofs, each emblazoned with the logo for Bitmain, a Chinese firm headquartered in Beijing that is arguably the most important company in the Bitcoin industry. Bitmain sells Bitcoin mining rigs—the specialized computers that keep the cryptocurrency running and that produce, or “mine,” new bitcoins for their owners. It also uses its own rigs to stock facilities that it owns or co-owns and operates. Bitmain owns about 20 percent of this one.
Lightweight clients consult full clients to send and receive transactions without requiring a local copy of the entire blockchain (see simplified payment verification – SPV). This makes lightweight clients much faster to set up and allows them to be used on low-power, low-bandwidth devices such as smartphones. When using a lightweight wallet, however, the user must trust the server to a certain degree, as it can report faulty values back to the user. Lightweight clients follow the longest blockchain and do not ensure it is valid, requiring trust in miners.
^ Jump up to: a b c d "Statement of Jennifer Shasky Calvery, Director Financial Crimes Enforcement Network United States Department of the Treasury Before the United States Senate Committee on Banking, Housing, and Urban Affairs Subcommittee on National Security and International Trade and Finance Subcommittee on Economic Policy" (PDF). fincen.gov. Financial Crimes Enforcement Network. 19 November 2013. Archived (PDF) from the original on 9 October 2016. Retrieved 1 June 2014.
The other two BitFury mines are in Tbilisi, in the Republic of Georgia, where the weather is much warmer. According to Vavilov, the company has developed a two-phase immersion cooling technology with their subsidiary, Allied Control. The system bathes the mining machines in a dielectric heat-transfer liquid called Novec, which cools the computers as it evaporates. The system is now deployed at the Georgia data centers.
Before even starting out with Bitcoin mining, you need to do your due diligence. The best way to do this, as we’ve discussed, is through the use of a Bitcoin mining calculator. Bear in mind that mining costs money! If you don’t have a few thousand dollars to spare on the right miner, and if you don’t have access to cheap electricity, mining Bitcoin might not be for you.
In January 2009, the bitcoin network was created when Nakamoto mined the first block of the chain, known as the genesis block. Embedded in the coinbase of this block was the following text: "The Times 03/Jan/2009 Chancellor on brink of second bailout for banks." This note has been interpreted as both a timestamp and a comment on the instability caused by fractional-reserve banking.:18