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.
Bitcoin mining operations take a lot of effort and power, and the sheer amount of competition makes it difficult for newcomers to enter the race and profit. A new miner would not only need to have adequate computing power and the knowledge to use it to outcompete the competition, but would also need the extensive amount of capital necessary to fund the operations.
A few miles from the shuttered carwash, David Carlson stands at the edge of a sprawling construction site and watches workers set the roof on a Giga Pod, a self-contained crypto mine that Carlson designed to be assembled in a matter of weeks. When finished, the prefabricated wood-frame structure, roughly 12 by 48 feet, will be equipped with hundreds of high-speed servers that collectively draw a little over a megawatt of power and, in theory, will be capable of producing around 80 bitcoins a month. Carlson himself won’t be the miner; his company, Giga-Watt, will run the pod as a hosting site for other miners. By summer, Giga-Watt expects to have 24 pods here churning out bitcoins and other cryptocurrencies, most of which use the same computing-intensive, cryptographically secured protocol called the blockchain. “We’re right where the rubber hits the road with blockchain,” Carlson shouts as we step inside the project’s first completed pod and stand between the tall rack of toaster-size servers and a bank of roaring cooling fans. The main use of blockchain technology now is to keep a growing electronic ledger of every single bitcoin transaction ever made. But many miners see it as the record-keeping mechanism of the future. “We’re where the blockchain goes from that virtual concept to something that’s real in the world,” says Carlson, “something that somebody had to build and is actually running.”
No. 5: Coinbase (online exchange). Online exchanges are, by and large, less secure than the methods described below. But Coinbase seems to have learned from the lessons of its predecessors, and is one of the biggest bitcoin exchanges in the world. It's also user friendly; not only can you buy, sell, exchange and trade bitcoin on Coinbase, but you can store your bitcoin in a wallet there, too.
In addition to being the means of generating new bitcoin, bitcoin mining creates the blockchain that verifies bitcoin transactions. The block reward is gleaned by placing a new block on the blockchain, which acts as an advancing public ledger of verified transaction. This is an essential function for bitcoin's operation as it enables the currency to be safely and predictably created without the centralized regulation in the form of a bank or federal government. Blocks must to be a validated by a proof-of-work (Bitcoin uses Hashcash), which can only be obtained by expending a great deal of processing power. Once a block is obtained a message is broadcast to the mining network and verified by all recipients. 
Jump up ^ Mooney, Chris; Mufson, Steven (19 December 2017). "Why the bitcoin craze is using up so much energy". The Washington Post. Archived from the original on 9 January 2018. Retrieved 11 January 2018. several experts told The Washington Post that bitcoin probably uses as much as 1 to 4 gigawatts, or billion watts, of electricity, roughly the output of one to three nuclear reactors.

^ 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). Financial Crimes Enforcement Network. 19 November 2013. Archived (PDF) from the original on 9 October 2016. Retrieved 1 June 2014.
The unit of account of the bitcoin system is a bitcoin. Ticker symbols used to represent bitcoin are BTC[b] and XBT.[c] Its Unicode character is ₿.[72]:2 Small amounts of bitcoin used as alternative units are millibitcoin (mBTC), and satoshi (sat). Named in homage to bitcoin's creator, a satoshi is the smallest amount within bitcoin representing 0.00000001 bitcoins, one hundred millionth of a bitcoin.[2] A millibitcoin equals 0.001 bitcoins, one thousandth of a bitcoin or 100,000 satoshis.[73]
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.
The basin has become a proving ground for the broader debate about the future of blockchain technology. Critics insist that bitcoin will never work as a mainstream currency—it’s slow and far too volatile. Its real function, they say, is as a “store of value”—that is, an investment asset, like gold or company shares—except that, unlike these traditional assets, bitcoin has no real underlying economic value. Rather, critics say, it has become merely another highly speculative bet—much like mortgage-backed derivatives were in the prelude to the financial crisis—and like them, it is just as assured of an implosion.

Bitcoin mining is a peer-to-peer process of adding data into Bitcoin’s public ledger in order to verify and secure a contract. Groups of recorded transactions are gathered in blocks and then added into the Bitcoin blockchain. Bitcoin mining requires a lot of resources to protect the network from the possibility of altering past transaction data by making all attempts in changing blocks inefficient for the intruder. Bitcoin mining is rewarded by the network through transaction fees and subsidies of new coins to encourage miners to spend their resources on mining new Bitcoin blocks. As Bitcoin mining is increasingly difficult, it has become impossible to attempt mining as an individual. As a result, most Bitcoin mining is being done by mining pools, which include several participants sharing their reward. Bitcoin mining is controversial, as it is a great tool for securing transactions but complicating the scaling of the network. 

In March 2013 the blockchain temporarily split into two independent chains with different rules. The two blockchains operated simultaneously for six hours, each with its own version of the transaction history. Normal operation was restored when the majority of the network downgraded to version 0.7 of the bitcoin software.[36] The Mt. Gox exchange briefly halted bitcoin deposits and the price dropped by 23% to $37[37][38] before recovering to previous level of approximately $48 in the following hours.[39] The US Financial Crimes Enforcement Network (FinCEN) established regulatory guidelines for "decentralized virtual currencies" such as bitcoin, classifying American bitcoin miners who sell their generated bitcoins as Money Service Businesses (MSBs), that are subject to registration or other legal obligations.[40][41][42] In April, exchanges BitInstant and Mt. Gox experienced processing delays due to insufficient capacity[43] resulting in the bitcoin price dropping from $266 to $76 before returning to $160 within six hours.[44] The bitcoin price rose to $259 on 10 April, but then crashed by 83% to $45 over the next three days.[34] On 15 May 2013, US authorities seized accounts associated with Mt. Gox after discovering it had not registered as a money transmitter with FinCEN in the US.[45][46] On 23 June 2013, the US Drug Enforcement Administration (DEA) listed 11.02 bitcoins as a seized asset in a United States Department of Justice seizure notice pursuant to 21 U.S.C. § 881.[47] This marked the first time a government agency had seized bitcoin.[48][49] The FBI seized about 26,000 bitcoins in October 2013 from the dark web website Silk Road during the arrest of Ross William Ulbricht.[50][51][52] Bitcoin's price rose to $755 on 19 November and crashed by 50% to $378 the same day. On 30 November 2013 the price reached $1,163 before starting a long-term crash, declining by 87% to $152 in January 2015.[34] On 5 December 2013, the People's Bank of China prohibited Chinese financial institutions from using bitcoins.[53] After the announcement, the value of bitcoins dropped,[54] and Baidu no longer accepted bitcoins for certain services.[55] Buying real-world goods with any virtual currency had been illegal in China since at least 2009.[56]