Another interesting way (literally) to earn bitcoins is by lending them out, and being repaid in the currency. Lending can take three forms – direct lending to someone you know; through a website which facilitates peer-to-peer transactions, pairing borrowers and lenders; or depositing bitcoins in a virtual bank that offers a certain interest rate for Bitcoin accounts. Some such sites are Bitbond, BitLendingClub and BTCjam. Obviously, you should do due diligence on any third-party site.
What bitcoin miners actually do could be better described as competitive bookkeeping. Miners build and maintain a gigantic public ledger containing a record of every bitcoin transaction in history. Every time somebody wants to send bitcoins to somebody else, the transfer has to be validated by miners: They check the ledger to make sure the sender isn’t transferring money she doesn’t have. If the transfer checks out, miners add it to the ledger. Finally, to protect that ledger from getting hacked, miners seal it behind layers and layers of computational work—too much for a would-be fraudster to possibly complete.
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.

While senders of traditional electronic payments are usually identified (for verification purposes, and to comply with anti-money laundering and other legislation), users of bitcoin in theory operate in semi-anonymity. Since there is no central "validator," users do not need to identify themselves when sending bitcoin to another user. When a transaction request is submitted, the protocol checks all previous transactions to confirm that the sender has the necessary bitcoin as well as the authority to send them. The system does not need to know his or her identity.

Bitcoin mining saps energy, costly, uses more power and also the reward delays. For mining, run software, get your wallet ready and be the first to solve a cryptographic problem and you get your reward after the new blocks have been added to the blockchain.Mining is said to be successful when all the transactions are recorded in the blockchain and the new blocks are added to the blockchain.

After some months later, after the network started, it was discovered that high end graphics cards were much more efficient at Bitcoin mining. The Graphical Processing Unit (GPU) handles complex 3D imaging algorithms, therefore, CPU Bitcoin mining gave way to the GPU. 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. But this still wasn’t the most power-efficient option, as both CPUs and GPUs were very efficient at completing many tasks simultaneously, and consumed significant power to do so, whereas Bitcoin in essence just needed a processor that performed its cryptographic hash function ultra-efficiently.
Difficulty increase per year: This is probably the most important and elusive variable of them all. The idea is that since no one can actually predict the rate of miners joining the network, neither can anyone predict how difficult it will be to mine in six weeks, six months, or six years from now. In fact, in all the time Bitcoin has existed, its profitability has dropped only a handful of times—even at times when the price was relatively low.
Meanwhile, investors have been rattled this week by reports bank-owned currency trading utility CLS, along with enterprise software giant IBM, are teaming up to trial the blockchain-based Ledger Connect, an application that offers services from different vendors, with some nine financial institutions, including international heavyweights Barclays and Citigroup.
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. 
Market Risk: Like with any investment, Bitcoin values can fluctuate. Indeed, the value of the currency has seen wild swings in price over its short existence. Subject to high volume buying and selling on exchanges, it has a high sensitivity to “news." According to the CFPB, the price of bitcoins fell by 61% in a single day in 2013, while the one-day price drop in 2014 has been as big as 80%.
A hard fork of a cryptocurrency is a change to the protocol that makes previously invalid blocks/transactions valid (or vice-versa). This requires all the nodes to upgrade to the latest version of the protocol software. In other words, a hard fork is a permanent divergence from the previous version of the blockchain, and nodes running previous versions will no longer be accepted by the newest version. This, in turn, creates a fork in the blockchain: one path follows the new, upgraded blockchain, and the other path continues along the old path.

The controller on the S9 has a red light that goes off when it detects a malfunction. Technicians like Zhang are on hand to scan the racks for sick rigs. When they find one, they pull it out and send it to a house on the factory lot where other technicians diagnose the problem, fix it, and get the machine back on the line. Sometimes it’s a failed chip. Other times it’s a burned-out fan. If the problem is more serious, then the rig gets sent all the way to Bitmain’s labs in Shenzhen in southeast China for a proper rebuild. Every moment the rigs spend unplugged, potential revenue slips away.
To lower the costs, bitcoin miners have set up in places like Iceland where geothermal energy is cheap and cooling Arctic air is free.[204] Bitcoin miners are known to use hydroelectric power in Tibet, Quebec, Washington (state), and Austria to reduce electricity costs.[203][205][206][207] Miners are attracted to suppliers such as Hydro Quebec that have energy surpluses.[208] According to a University of Cambridge study, much of bitcoin mining is done in China, where electricity is subsidized by the government.[209][210]
Wu claims that Antbleed, which has since been patched, was only vestigial code left in by mistake when engineers were trying to build a kill switch for a customer’s own use. There was some skepticism about this explanation, but because the S9’s firmware is open source, users are confident in the patched version. Still, the discovery of it was a startling reminder of the need for diversity in the mining hardware industry.
Steve Wright and John Stoll: The Dam Masters Wright, left, and Stoll, pictured at the Rocky Reach Dam, are general manager and head of customer utilities with the Chelan County Public Utility District, respectively. In the past year, miners have made inquiries or requests for power totaling two-thirds as much as the basin’s three county utilities now generate. | Patrick Cavan Brown for Politico Magazine
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.

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).
That opportunity may not last. Huffman, who is also a former utility executive, argues that ever-cheaper power rates in other states, like California, could undercut the basin’s appeal to blockchain miners, who may begin to look for other places to mine. For that reason, Huffman argues that the basin should be actively recruiting more miners, even if it means importing power. “I think there’s a window here,” Huffman says, “and it’s unknown how long that window will be open.” Yet he, too, knows that any such talk will lead to criticism that the basin is yoking its future to a volatile sector that, for many, remains a chimera. “Some folks think that bitcoin is just a scam,” Huffman concedes. “And in the conversation, you usually don’t get past that.”

Network nodes can validate transactions, add them to their copy of the ledger, and then broadcast these ledger additions to other nodes. To achieve independent verification of the chain of ownership each network node stores its own copy of the blockchain.[65] About every 10 minutes, a new group of accepted transactions, called a block, is created, added to the blockchain, and quickly published to all nodes, without requiring central oversight. This allows bitcoin software to determine when a particular bitcoin was spent, which is needed to prevent double-spending. A conventional ledger records the transfers of actual bills or promissory notes that exist apart from it, but the blockchain is the only place that bitcoins can be said to exist in the form of unspent outputs of transactions.[3]:ch. 5