Bitcoin Mining Explained
Bitcoin mining gets it’s name from the fact that when transactions are added to the public ledger (block chain) new coins are created (mined).
Bitcoin mining is an integral part of how bitcoin works. The bitcoin network relies on miners to verify and update the public ledge of bitcoin transactions, to verify that bitcoin users aren’t trying to cheat the system, and to add newly-discovered bitcoins to the money pool.
On this page, we’ll present the basics of what bitcoin mining is, what miners actually do, and why people choose to mine bitcoin.
In order to get the most out of this page, we highly recommend reading our page on How Bitcoin Works (if you haven’t done so already).
TIP: The concept behind Bitcoin mining is very similar to the concept behind mining other cryptocurrencies. Thus if you understand Bitcoin mining, you generally understanding mining any digital currency.
What is Bitcoin Mining?
Mining is the process by which special bitcoin users (called miners) compete with each other to “discover” new bitcoins and add recent bitcoin transactions to bitcoin’s public ledger (the transaction blockchain).
In order to spend or receive bitcoins, a bitcoin user must create a transaction and broadcast it to the entire network. Then, for this transaction to successfully go through, it must be permanently recorded on the block chain. Mining is the process of adding recent transactions to the block chain, and thereby making them a permanent part of the bitcoin “public ledger.”
What Do Miners Do?
Let’s dive in to how this works. In order to add transactions to the block chain, all of the miners collect the transactions recently broadcasted by other bitcoin users, verify that the transactions are valid (according to the current block chain), and compile them down into a transaction block – a condensed record of all the transactions for that period of time.
Of course, if any miner could simply create a transaction block and immediately add it to the permanent ledger, then anyone who wanted to could just create a fake transaction block (for example, one in which they spend bitcoins that they don’t own) and add it to the ledger.
Because of this, the bitcoin algorithm is design to make mining difficult. Instead of being able to add a transaction block to the block chain at will, a miner has to solve a very difficult computational puzzle – called a proof-of-work scheme. This proof-of-work scheme was designed to have solutions that are easy to verify, but very difficult to find.
In other words, what bitcoin miners are actually doing is competing with each other to see who can solve a difficult, cryptographic puzzle first. When one miner finds the solution to the problem, they broadcast their solution to all of the other miners. The other miners then verify that the solution is correct. If it is, the network permanently adds the successfully-mined block to the publicly accepted block chain.
The miner who won the “mining race” and was the first to successfully solve the puzzle is then rewarded for the effort with 25 newly “discovered” bitcoins. This possibility of reward acts as an incentive for miners to keep investing computational time and effort into mining bitcoin. This new creation of bitcoins also acts as a way to add to the overall bitcoin money supply.
Learning More About Mining
The description of mining above is extremely general and conceptual. For a more hand-on approach, check out our guide on How to Mine Litecoin.
"The Basics of Bitcoin Mining" is contains information about the following Cryptocurrencies: