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 (BTC) is a cryptocurrency which is regarded as the world’s first decentralized digital currency. It was created by a pseudonymous person or persons named Satoshi Nakamoto in 2009 and has since gone on to become the world’s most popular cryptocurrency by market cap. Bitcoin is a deflationary currency whose issuance is capped at a total supply of 21 million coins. Each Bitcoin can be divided into one million units, with the smallest unit of 0.00000001 known as a satoshi in homage to its creator. The distributed public ledger that Bitcoin uses to record transactions is known as a blockchain and Bitcoin can be spent at over 100,000 online merchants and can also be held as an investment. Bitcoin is traded for fiat and other cryptocurrencies on various exchanges but can also be used to facilitate p2p transactions. Each transaction incurs a small transaction fee to cover the cost of sending Bitcoin over the blockchain ledger, with the fee going to miners tasked with keeping the network secure.
By convention, the first transaction in a block is a special transaction that produces new bitcoins owned by the creator of the block. This is the incentive for nodes to support the network.[2] It provides the way to move new bitcoins into circulation. The reward for mining halves every 210,000 blocks. It started at 50 bitcoin, dropped to 25 in late 2012 and to 12.5 bitcoin in 2016. This halving process is programmed to continue for 64 times before new coin creation ceases.

Bitmain gained an edge by supplying a superior product in large quantities, a feat that has eluded every other company in the industry. The Ordos facility is stuffed almost exclusively with Bitmain’s best performing rig, the Antminer S9. According to company specs, the S9 is capable of churning out 14 terahashes, or 14 trillion hashes, every second while consuming around 0.1 joules of energy per gigahash for a total of about 1,400 watts (about as much as a microwave oven consumes).
Bitcoin mining is the process by which the transaction information distributed within the Bitcoin network is validated and stored on the blockchain. Bitcoin mining serves to both add transactions to the block chain and to release new Bitcoin. The concept of Bitcoin mining is simply the process of generating additional Bitcoins until the supply cap of 21 million coins has been reached.  What makes the validation process for Bitcoin different from traditional electronic payment networks is the absence of middle man in the architecture. The process of validating transactions and committing them to the blockchain involves solving a series of specialized math puzzles. In the process of adding transactions to the network and securing them into the blockchain, each set of transactions that are processed is called block, and multiple chains of blocks is referred to as the blockchain.
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.
Third-party internet services called online wallets offer similar functionality but may be easier to use. In this case, credentials to access funds are stored with the online wallet provider rather than on the user's hardware.[93][94] As a result, the user must have complete trust in the wallet provider. A malicious provider or a breach in server security may cause entrusted bitcoins to be stolen. An example of such a security breach occurred with Mt. Gox in 2011.[95] This has led to the often-repeated meme "Not your keys, not your bitcoin".[96]
At the end of the day, all of this can go over your head without much danger. Just remember that it’s good to know what you’re dealing with. Bitcoin wallets make use of a fundamental cryptographic principle that we use for things ranging from https for websites or sending anonymous tips to Wikileaks. Most importantly, by understanding private keys you’ll have a much easier familiarizing yourself with Cold Storage wallets.
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.”
These dynamics have resulted in a race among miners to amass the fastest, most energy-efficient chips. And the demand for faster equipment has spawned a new industry devoted entirely to the computational needs of Bitcoin miners. Until late 2013, generic graphics cards and field-programmable gate arrays (FPGAs) were powerful enough to put you in the race. But that same year companies began to sell computer chips, called application-specific integrated circuits (ASICs), which are specifically designed for the task of computing the Bitcoin hashing algorithm. Today, ASICs are the standard technology found in every large-scale facility, including the mining farm in Ordos. When Bitmain first started making ASICs in 2013, the field was thick with competitors—BitFury, a multinational ASIC maker; KnCMiner in Stockholm; Butterfly Labs in the United States; Canaan Creative in Beijing; and about 20 other companies spread around China.

In a Ponzi scheme using bitcoins, the Bitcoin Savings and Trust promised investors up to 7% weekly interest, and raised at least 700,000 bitcoins from 2011 to 2012.[55] In July 2013, the U.S. Securities and Exchange Commission charged the company and its founder in 2013 "with defrauding investors in a Ponzi scheme involving bitcoin".[55] In September 2014 the judge fined Bitcoin Savings & Trust and its owner $40 million.[56]
The rise in the value of bitcoin and other cryptocurrencies in recent years has made cryptocurrency mining a lucrative activity. Cryptocurrency mining uses computing power to compete against other computers to solve complex math problems, with that effort rewarded with bits of cryptocurrencies. That computing power helps create a distributed, secure and transparent network ledger — commonly known as a blockchain — on which applications such as bitcoin can be built.

Just like you don’t walk around with your savings account as cash, there are different Bitcoin wallets that should be used depending on how much money is being stored or transferred. Secure wallets like paper wallets or hardware wallets can be used as “savings” wallets, while mobile, web, and desktop wallets should be treated like your spending wallet.
The difficulty is the measure of how difficult it is to find a new block compared to the easiest it can ever be. The rate is recalculated every 2,016 blocks to a value such that the previous 2,016 blocks would have been generated in exactly one fortnight (two weeks) had everyone been mining at this difficulty. This is expected yield, on average, one block every ten minutes.

The successful miner finding the new block is rewarded with newly created bitcoins and transaction fees.[83] As of 9 July 2016,[84] the reward amounted to 12.5 newly created bitcoins per block added to the blockchain. To claim the reward, a special transaction called a coinbase is included with the processed payments.[3]:ch. 8 All bitcoins in existence have been created in such coinbase transactions. The bitcoin protocol specifies that the reward for adding a block will be halved every 210,000 blocks (approximately every four years). Eventually, the reward will decrease to zero, and the limit of 21 million bitcoins[f] will be reached c. 2140; the record keeping will then be rewarded solely by transaction fees.[85]
According to The New York Times, libertarians and anarchists were attracted to the idea. Early bitcoin supporter Roger Ver said: "At first, almost everyone who got involved did so for philosophical reasons. We saw bitcoin as a great idea, as a way to separate money from the state."[119] The Economist describes bitcoin as "a techno-anarchist project to create an online version of cash, a way for people to transact without the possibility of interference from malicious governments or banks".[122]
That’s why mining pools came into existence. The idea is simple: miners group together to form a “pool” (i.e., combine their mining power to compete more effectively). Once the pool manages to win the competition, the reward is spread out between the pool members depending on how much mining power each of them contributed. This way, even small miners can join the mining game and have a chance of earning Bitcoin (though they get only a part of the reward).
Bitcoin is the first cryptocurrency, a concept that was discussed in the late 90s. The first Bitcoin specification and proof of concept was published in 2009 in a cryptography mailing list. The concept was presented by a person or group known as Satoshi Nakamoto. The real identity of Nakamoto has been a mystery since that time, with various theories on who the individual or group may be.

Bitcoin prices were negatively affected by several hacks or thefts from cryptocurrency exchanges, including thefts from Coincheck in January 2018, Coinrail and Bithumb in June, and Bancor in July. For the first six months of 2018, $761 million worth of cryptocurrencies was reported stolen from exchanges.[60] Bitcoin's price was affected even though other cryptocurrencies were stolen at Coinrail and Bancor, as investors worried about the security of cryptocurrency exchanges.[61][62][63]