Mining is the process of increasing the supply of Bitcoin currency. Mining also protects the security of the Bitcoin system, preventing fraudulent transactions and avoiding “double spending”, which is the spending of the same Bitcoin multiple times. Miners provide algorithms for the Bitcoin network in exchange for the opportunity to receive Bitcoin rewards. Miners verify each new transaction and record them in the general ledger. Every 10 minutes, a new block is “mined”. Each block contains all transactions that have occurred from the generation of the previous block to the present time. These transactions are added to the blockchain in sequence. We call the transactions included in the block and added to the blockchain “confirmed” transactions. After the transaction is “confirmed”, the new owner can spend the bitcoins he obtained in the transaction.
Miners will receive two types of rewards during the mining process: new coin rewards for creating new blocks, and transaction fees for transactions contained in the blocks. In order to obtain these rewards, miners compete to complete a mathematical problem based on the cryptographic hash algorithm, that is, using Bitcoin mining machines to calculate the hash algorithm. This requires powerful computing power. The number of calculation processes and the quality of the calculation results are used as proof of the miner’s computing workload, which is called “proof of work”. The competition mechanism of the algorithm and the mechanism that the winner has the right to record transactions on the blockchain, these two guarantee the security of Bitcoin.
Miners also receive transaction fees. Each transaction may include a transaction fee, which is the difference between the input and output of each transaction record. During the mining process, miners who successfully “mine” a new block can receive a “tip” for all the transactions contained in the block. As the mining reward decreases and the number of transactions contained in each block increases, the proportion of transaction fees in miners’ income will gradually increase. After 2140, all miners’ income will be composed of transaction fees.
Mining is a decentralized settlement process in which each settlement verifies and settles the processed transactions. Mining protects the security of the Bitcoin system and enables the entire Bitcoin network to reach consensus without a central authority. The invention of mining makes Bitcoin unique. This decentralized security mechanism is the basis of peer-to-peer electronic currency. The reward for minting new coins and transaction fees is an incentive mechanism that can regulate miner behavior and network security, while completing the currency issuance of Bitcoin.