Here’s how it works: Say Alice wants to transfer one bitcoin to Bob. First Bob sets up a digital address for Alice to send the money to, along with a key allowing him to access the money once it’s there. It works sort-of like an email account and password, except that Bob sets up a new address and key for every incoming transaction (he doesn’t have to do this, but it’s highly recommended).
At this point, the actual mining begins. In essence, each miner now tries to demonstrate to the rest of the network that his or her block of verified payments is the one true block, which will serve as the permanent record of those 2,000 or so transactions. Miners do this by, essentially, trying to be the first to guess their block’s numerical password. It’s analogous to trying to randomly guess someone’s computer password, except on a vastly larger scale. Carlson’s first mining computer, or “rig,” which he ran out of his basement north of Seattle, could make 12 billion “guesses” every second; today’s servers are more than a thousand times faster.
In September 2015, the establishment of the peer-reviewed academic journal Ledger (ISSN 2379-5980) was announced. It covers studies of cryptocurrencies and related technologies, and is published by the University of Pittsburgh.[239] The journal encourages authors to digitally sign a file hash of submitted papers, which will then be timestamped into the bitcoin blockchain. Authors are also asked to include a personal bitcoin address in the first page of their papers.[240][241]
Cryptojacking and legitimate mining, however, are sensitive to cryptocurrency prices, which have declined sharply since their highs in late 2017 and early 2018. According to a McAfee September 2018 threats report, cryptojacking instances “remain very active,” but a decline in the value of cryptocurrencies could lead to a plunge in coin mining malware, just as fast as it emerged.

What would it take for a competitor to nudge into the fray? For starters, it has to be willing to put a lot of money on the line. Several million dollars can go into chip design before a single prototype is produced. “It takes the willingness to pull the trigger and pay the money,” says Hanke. But he’s confident it will happen. “People will see it’s profitable, and they will jump in.”
Still, even supporters acknowledge that that glorious future is going to use a lot of electricity. It’s true that many of the more alarming claims—for example, that by 2020, bitcoin mining will consume “as much electricity as the entire world does today,” as the environmental website Grist recently suggested—are ridiculous: Even if the current bitcoin load grew a hundredfold, it would still represent less than 2 percent of total global power consumption. (And for comparison, even the high-end estimates of bitcoin’s total current power consumption are still less than 6 percent of the power consumed by the world’s banking sector.) But the fact remains that bitcoin takes an astonishing amount of power. By one estimate, the power now needed to mine a single coin would run the average household for 10 days.

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]

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.
With the Antminers needing to stay below 38 °C, Mongolia is not the ideal location for a mining facility. It had been above 40 °C for several days when I visited in July. And in the winter, it can fall to –20 °C, cold enough for Bitmain to add insulation to the facilities. Dust is a problem as well, which is why the interior of every warehouse I walk through is veiled in a fine fabric filter.
According to the Internet Watch Foundation, a UK-based charity, bitcoin is used to purchase child pornography, and almost 200 such websites accept it as payment. Bitcoin isn't the sole way to purchase child pornography online, as Troels Oertling, head of the cybercrime unit at Europol, states, "Ukash and paysafecard... have [also] been used to pay for such material." However, the Internet Watch Foundation lists around 30 sites that exclusively accept bitcoins.[31] Some of these sites have shut down, such as a deep web crowdfunding website that aimed to fund the creation of new child porn.[47][better source needed] Furthermore, hyperlinks to child porn websites have been added to the blockchain as arbitrary data can be included when a transaction is made.[48][49]

Mining is the process of adding transaction records to Bitcoin's public ledger of past transactions (and a "mining rig" is a colloquial metaphor for a single computer system that performs the necessary computations for "mining". This ledger of past transactions is called the block chain as it is a chain of blocks. The blockchain serves to confirm transactions to the rest of the network as having taken place. Bitcoin nodes use the blockchain to distinguish legitimate Bitcoin transactions from attempts to re-spend coins that have already been spent elsewhere.
A bitcoin is defined by a sequence of digitally signed transactions that began with the bitcoin's creation, as a block reward. The owner of a bitcoin transfers it by digitally signing it over to the next owner using a bitcoin transaction, much like endorsing a traditional bank check. A payee can examine each previous transaction to verify the chain of ownership. Unlike traditional check endorsements, bitcoin transactions are irreversible, which eliminates risk of chargeback fraud.

Bitcoins can be accepted as a means of payment for products sold or services provided. If you have a brick and mortar store, just display a sign saying “Bitcoin Accepted Here” and many of your customers may well take you up on it; the transactions can be handled with the requisite hardware terminal or wallet address through QR codes and touch screen apps. An online business can easily accept bitcoins by just adding this payment option to the others it offers, like credit cards, PayPal, etc. Online payments will require a Bitcoin merchant tool (an external processor like Coinbase or BitPay). 
The concept of web mining is very controversial. From the site’s visitor perspective, someone is using their computer without consent to mine Bitcoins. In extreme cases, this can even harm the CPU due to overheating. From the site owner’s perspective, web mining has become a new way to monetize websites without the need for the placement of annoying ads. Also, the site owner can control how much of the visitor’s CPU he wants to control in order to make sure he’s not abusing his hardware.
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.
Exchanges, however, are a different story. Perhaps the most notable Bitcoin exchange hack was the Tokyo-based MtGox hack in 2014, where 850,000 bitcoins with a value of over $350 million suddenly disappeared from the platform. This doesn’t mean that Bitcoin itself was hacked; it just means that the exchange platform was hacked. Imagine a bank in Iowa is robbed: the USD didn’t get robbed, the bank did.
More fundamentally, miners argue that the current boom is simply the first rough step to a much larger technological shift that the basin would do well to get into early on. “What you can actually do with the technology, we’re only beginning to discover,” Salcido says. “But the technology requires a platform.” And, he says, as the world discovers what the blockchain can do, the global economy will increasingly depend on regions, like the basin, with the natural resources to run that platform as cheaply as possible.
According to the European Central Bank, the decentralization of money offered by bitcoin has its theoretical roots in the Austrian school of economics, especially with Friedrich von Hayek in his book Denationalisation of Money: The Argument Refined,[120] in which he advocates a complete free market in the production, distribution and management of money to end the monopoly of central banks.[121]:22

In 2014 prices started at $770 and fell to $314 for the year.[31] In February 2014 the Mt. Gox exchange, the largest bitcoin exchange at the time, said that 850,000 bitcoins had been stolen from its customers, amounting to almost $500 million. Bitcoin's price fell by almost half, from $867 to $439 (a 49% drop). Prices remained low until late 2016.[citation needed]