Table of contents
- What is Bitcoin mining?
- How does Bitcoin mining work?
- Isn't Bitcoin mining a waste of energy?
- How does mining help secure Bitcoin?
- What do I need to start mining?
- What does MH/s, GH/s mean?
- What does W/Gh mean?
- How do I calculate my Bitcoin mining profitability?
- What does hashing mean?
- What is a Bitcoin mining pool?
- What does GPU stand for?
- What is a Bitcoin mining share?
- What is a Bitcoin mining module?
- What does ASIC stand for?
- What does FPGA stand for?
- Where can I view mining data about each block?
What is Bitcoin mining?
Mining is the process of spending computing power to process transactions, secure the network, and keeps everyone in the system synchronized together. It can be perceived like the Bitcoin data center except that it has been designed to be fully decentralized with miners operating in all countries and no individual having control over the network.
This process is referred to as "mining" as an analogy to gold mining because it is also a temporary mechanism used to issue new bitcoins. Unlike gold mining, however, Bitcoin mining provides a reward in exchange for useful services required to operate a secure payment network. Mining will still be required after the last bitcoin is issued.
How does Bitcoin mining work?
Anybody can become a Bitcoin miner by running Bitcoin mining software and Bitcoin mining modules with specialized Bitcoin mining hardware. Mining software listens for transaction broadcasts through the peer-to-peer network and performs appropriate tasks to process and confirm these transactions. Bitcoin miners perform this work because they can earn transaction fees paid by users for faster transaction processing, and newly created bitcoins issued into existence according to a fixed formula.
For new transactions to be confirmed, they need to be included in a block along with a mathematical proof of work. Such proofs are very hard to generate because there is no way to create them other than by trying billions of calculations per second. This requires miners to perform these calculations before their blocks are accepted by the network and before they are rewarded. As more people start to mine, the difficulty of finding valid blocks is automatically increased by the network to ensure that the average time to find a block remains equal to 10 minutes. As a result, mining is a very competitive business where no individual miner can control what is included in the block chain.
The video below of a Bitcoin mining farm in China will give you a better idea of just how competitive Bitcoin mining has become:
The proof of work is also designed to depend on the previous block to force a chronological order in the block chain. This makes it exponentially difficult to reverse previous transactions because this requires the recalculation of the proofs of work of all the subsequent blocks. When two blocks are found at the same time, miners work on the first block they receive and switch to the longest chain of blocks as soon as the next block is found. This allows mining to secure and maintain a global consensus based on processing power.
Bitcoin miners are neither able to cheat by increasing their own reward nor process fraudulent transactions that could corrupt the Bitcoin network because all Bitcoin nodes would reject any block that contains invalid data as per the rules of the Bitcoin protocol. Consequently, the network remains secure even if not all Bitcoin miners can be trusted.
Isn't Bitcoin mining a waste of energy?
Spending energy to secure and operate a payment system is hardly a waste. Like any other payment service, the use of Bitcoin entails processing costs. Services necessary for the operation of currently widespread monetary systems, such as banks, credit cards, and armored vehicles, also use a lot of energy. Although unlike Bitcoin, their total energy consumption is not transparent and cannot be as easily measured. The total Bitcoin network hash rate is publicly available and can be used to estimate the network's total electricity costs.
Bitcoin mining has been designed to become more optimized over time with specialized hardware consuming less energy, and the operating costs of mining should continue to be proportional to demand. When Bitcoin mining becomes too competitive and less profitable, some miners choose to stop their activities. Furthermore, all energy expended mining is eventually transformed into heat, and the most profitable miners will be those who have put this heat to good use. Some miners, for example, [use the heat generated by bitcoin miners to supplement regular heating systems](http://www.waters.nyc/writing/325).
An optimally efficient mining network is one that isn't actually consuming any extra energy. While this is an ideal, the economics of mining are such that miners individually strive toward it.
How does mining help secure Bitcoin?
Mining creates the equivalent of a competitive lottery that makes it very difficult for anyone to consecutively add new blocks of transactions into the block chain. This protects the neutrality of the network by preventing any individual from gaining the power to block certain transactions. This also prevents any individual from replacing parts of the block chain to roll back their own spends, which could be used to defraud other users. Mining makes it exponentially more difficult to reverse a past transaction by requiring the rewriting of all blocks that occurred after the target transaction.
What do I need to start mining?
In the early days of Bitcoin, anyone could find a new block using their computer's CPU. As more and more people started mining, the difficulty of finding new blocks increased greatly to the point where the only cost-effective method of mining today is using specialized hardware.
What does MH/s, GH/s mean?
These abbreviations stand for the hashing power that your miner is generating. MH/s stands for megahash per second and GH/s stands for gigahash per second. There is a direct correlation between how fast your miner works and how profitable it will be.
What does W/Gh and W/Th mean?
W/Gh and W/Th are abbreviations for watts per gigahash and watts per terahash. These metrics calculate how many hashes a miner can run per watt of electricity. Mining hardware with lower W/Gh and W/Th are more efficient. Currently, the Antminer S7 and Avalon6 are the most efficient miners available for purchase, at 0.25 W/Gh and 0.29 W/Gh, respectively.
How do I calculate my Bitcoin mining profitability?
You can use bitcoin mining profitability calculators to calculate the profitability of mining under a variety of circumstances, to include difficulty increases, power consumption, and average hashrate, for example.
What does hashing mean?
The term "hashing" means how quickly your hardware is processing data from the Blockchain and solving the complex mathematical equations that are required to earn bitcoins.
What is a Bitcoin mining pool?
A mining pool is a group of miners who have shared their hashing resources to solve blocks together and the rewards are then distributed amongst the members.
Let's say Bob runs a Bitcoin mining farm with 1% of the Bitcoin network hash rate. His machines only find, on average, one out of every 100 blocks. Bob becomes impatient and wants more frequent payouts. He joins a mining pool with 20% of the network hash rate. Instead of getting paid on average once per 100 blocks, Bob now receives smaller but more frequent payouts every five blocks.
What does GPU stand for?
A Graphics Processing Unit powers most computer video cards and can be used to mine Bitcoins.
What is a Bitcoin mining share?
A share is merely an accounting method to keep the miners honest and fairly divide any rewards earned by the pool.
What is a Bitcoin mining module?
A Bitcoin mining module is usually a worker as assigned in the Bitcoin mining software. For example, four GPUs are plugged into the motherboard constituting the Bitcoin mining hardware. Then the Bitcoin mining software identifies each GPU as a unique worker. So, this small Bitcoin mining rig would be composed for four Bitcoin mining modules.
What does ASIC stand for?
An Application-Specific Integrated Circuit is a special chip designed specifically for mining Bitcoin and is much more energy-efficient and faster than GPU or FPGA mining.
What does FPGA stand for?
A Field-Progammable Gate Array was already an established hardware product that can be used for different purposes, but in this case the technology was repurposed for mining Bitcoin.
Where can I view mining data about each block?
The mining rewards and transaction fees for each block can be viewed online with any block explorer.
In the example above, we get information on block #408450:
- Number of transactions: Block #408450 contained 185 transactions.
- Transaction fees: There were 0.05502059 BTC worth of transaction fees in block #408450. The miner or mining pool (explained below) that mined this block receives the entirety of these fees.
- Height: Height is another name for block number. The first block mined was block #1 and is called the Genesis block.
- Relayed By: This block was successfully solved by Antpool, which is a Bitcoin mining pool.
- Block Reward: This block contained a 25 BTC reward, which is fully rewarded to the miner that relayed the block--in this case Antpool.