在区块链兴起之前，“矿工”专指从事挖煤矿的工人，提到矿工，脑海里就会浮现出一群穿着背心，皮肤黝黑的工人拿着十字镐在矿山上努力挖掘的样子。Before the rise of blockchain, "miner" refers to the workers who are engaged in coal mining. When it comes to miner, a gro
Before the rise of blockchain, "miner" refers to the workers who are engaged in coal mining. When it comes to miner, a group of dark workers in vests and with pickaxes are trying to dig in the mine.
After the birth of blockchain, "miner" has a new meaning. For example, in the bitcoin world, "miner" refers to the person or organization involved in maintaining the bitcoin network to obtain the benefits of bitcoin. Unlike the traditional miners, the miners in the blockchain field have more technological color and easier working environment.
Mining is a process of increasing the digital money supply. Mining also protects the security of the digital currency system, prevents fraudulent transactions, and avoids "double payments.". By providing computing power for the digital currency network, the miners exchange for the opportunity to obtain corresponding digital currency rewards. It is easy to understand that the process of mining is actually the process of issuing currency by the bank. In addition to issuing currency, the miner also undertakes the work of packing transaction bookkeeping.
The miners verify each new transaction and record it in the general ledger. Every 10 minutes or so, a new block will be "mined" out. The transaction that adds each transaction contained in the block to the general ledger is "confirmed transaction". After the transaction is confirmed, the new owner can use the bitcoin he gets in the transaction.
There are two rewards for miners in Mining: a reward for creating a new block and a fee for trading in the block. In order to get these rewards, the miners calculate the mathematical problems based on the hash encryption algorithm. The answers to the mathematical problems are included in the new block, which is known as the "proof of work" as the work proof of the miners, commonly known as POW consensus mechanism.
The essential principle of mining is to run the mining program on the miner and calculate the algorithm to get the reward. The output of a single miner is not stable. In order to obtain a stable income from mining output, a mine pool appears. The ore pool is a collection of miners' mining machines. The more mining machines, the stronger the calculation power. In the total power of the whole network, it accounts for a certain proportion, so as to ensure a stable mining output. When allocating the mining output, it will be distributed in proportion according to the computing power contributed to the ore pool by a single miner, usually the ore pool will charge a small fee.
Just like in the world of bitcoin, in the absence of centralized institutions, Nakamoto has designed a set of bookkeeping rewards that design the distribution of bitcoin to bitcoin miners: every bookkeeping right is generated by all miners through competitive mining, and whoever finds the right solution first can get the reward. The process of finding a positive solution is called "mining", and the people who participate in "mining" are called "miners".