What mechanism does Bitcoin mining rely on?
Bitcoin mining relies on proof of work, a way of demonstrating that computational work has been done. Miners assemble a candidate for a new block and use specialized computers to repeatedly calculate a hash value from its block header data. They change certain data until a hash value is produced that is below the specified target. Finding such a result requires many attempts on average and therefore computational work and energy. A result that has been found, however, is comparatively easy to verify. This is not about solving arbitrary scientific computing problems or digging up physical coins. The proof of work is tied to the specific block. A suitable hash alone does not make a block valid: the other fully validating network nodes also check the transactions and the remaining rules. They do not accept an invalid block, even if substantial computational work has been spent on it. For a block that follows the rules and remains part of the accepted blockchain, miners can receive newly issued bitcoin and the transaction fees it contains. Mining thus contributes to adding new blocks and securing the transaction history.


