Let’s start with what it’s not doing. Your computer is not blasting through the cavernous depths of the internet in search of digital ore that can be fashioned into bitcoin bullion. There is no ore, and bitcoin mining doesn’t involve extracting or smelting anything. It’s called mining only because the people who do it are the ones who get new bitcoins, and because bitcoin is a finite resource liberated in small amounts over time, like gold, or anything else that is mined. (The size of each batch of coins drops by half roughly every four years, and around 2140, it will be cut to zero, capping the total number of bitcoins in circulation at 21 million.) But the analogy ends there.
As more and more miners competed for the limited supply of blocks, individuals found that they were working for months without finding a block and receiving any reward for their mining efforts. This made mining something of a gamble. To address the variance in their income miners started organizing themselves into pools so that they could share rewards more evenly. See Pooled mining and Comparison of mining pools.
The first wallet program, simply named Bitcoin, and sometimes referred to as the Satoshi client, was released in 2009 by Satoshi Nakamoto as open-source code.[10] In version 0.5 the client moved from the wxWidgets user interface toolkit to Qt, and the whole bundle was referred to as Bitcoin-Qt.[99] After the release of version 0.9, the software bundle was renamed Bitcoin Core to distinguish itself from the underlying network.[100][101]
Bitcoin is a digital currency created in 2009. It follows the ideas set out in a white paper by the mysterious Satoshi Nakamoto, whose true identity has yet to be verified. Bitcoin offers the promise of lower transaction fees than traditional online payment mechanisms and is operated by a decentralized authority, unlike government-issued currencies.
David Carlson: The Bitcoin Pioneer | Carlson, a former software engineer, is often credited with starting the basin’s bitcoin boom when he built one of the world’s first large-scale mines in an old furniture store in Wenatchee. “We’re where the blockchain goes from that virtual concept to something that’s real in the world, something that somebody had to build and is actually running,” he says. Here, Carlson stands in front of his latest mining endeavor, a megaproject made up of 24 prefabricated mining “pods.” | Patrick Cavan Brown for Politico Magazine
Keys come in pairs. The public key is used to encrypt the message whereas the private key decrypts the message. The only person with the private key is you. Everyone else is free to have your public key. As a result, everyone can send you encrypted messages without having to agree on a key beforehand. They simply use your public key and you untangle the gibberish by using your private key.
Claiming to be the "world's most popular digital wallet," Blockchain.info boasts more than 24 million wallets and has supported more than 100 million transactions. Security is a top priority, and with many longtime cryptocurrency enthusiasts comfortably keeping their spoils there for years, even as Mt. Gox and Bitfinex were breached, it would have to be.
While heat is definitely an issue for the mining farm in Ordos, the electricity there is dirt cheap, only 4 U.S. cents per kilowatt-hour, with government subsidies. That’s about one-fifth of the average price in the United Kingdom. The only other costs for the facility are the rigs themselves and the salary of the few dozen staff that keeps them operational.
In the process of mining, each Bitcoin miner is competing with all the other miners on the network to be the first one to correctly assemble the outstanding transactions into a block by solving those specialized math puzzles. In exchange for validating the transactions and solving these problems. Miners also hold the strength and security of the Bitcoin network. This is very important for security because in order to attack the network, an attacker would need to have over half of the total computational power of the network. This attack is referred to as the 51% attack. The more decentralized the miners mining Bitcoin, the more difficult and expensive it becomes to perform this attack.

To be accepted by the rest of the network, a new block must contain a so-called proof-of-work (PoW).[64] The system used is based on Adam Back's 1997 anti-spam scheme, Hashcash.[5][79] The PoW requires miners to find a number called a nonce, such that when the block content is hashed along with the nonce, the result is numerically smaller than the network's difficulty target.[3]:ch. 8 This proof is easy for any node in the network to verify, but extremely time-consuming to generate, as for a secure cryptographic hash, miners must try many different nonce values (usually the sequence of tested values is the ascending natural numbers: 0, 1, 2, 3, ...[3]:ch. 8) before meeting the difficulty target.
During mining, your Bitcoin mining hardware runs a cryptographic hashing function (two rounds of SHA256) on what is called a block header. For each new hash that is tried, the mining software will use a different number as the random element of the block header, this number is called the nonce. Depending on the nonce and what else is in the block the hashing function will yield a hash which looks something like this:
The Bitcoin network shares a public ledger called "blockchain". This ledger contains every transaction ever processed, allowing a user's computer to verify the validity of each transaction. The authenticity of each transaction is protected by digital signatures corresponding to sending addresses, allowing all users to have full control over sending Bitcoins from their own Bitcoin addresses. In addition, anyone can process transactions using the computing power of specialized hardware and earn a reward in Bitcoins for this service. This is often called "mining".
Transactions are defined using a Forth-like scripting language.[3]:ch. 5 Transactions consist of one or more inputs and one or more outputs. When a user sends bitcoins, the user designates each address and the amount of bitcoin being sent to that address in an output. To prevent double spending, each input must refer to a previous unspent output in the blockchain.[67] The use of multiple inputs corresponds to the use of multiple coins in a cash transaction. Since transactions can have multiple outputs, users can send bitcoins to multiple recipients in one transaction. As in a cash transaction, the sum of inputs (coins used to pay) can exceed the intended sum of payments. In such a case, an additional output is used, returning the change back to the payer.[67] Any input satoshis not accounted for in the transaction outputs become the transaction fee.[67]