Skip to content
Blockchain

Mining

Processo que valida transações e adiciona novos blocos a redes de prova de trabalho, gastando poder computacional em troca de uma recompensa em moeda.

Key points

  • Mining is the process that validates transactions and adds new blocks on proof-of-work networks, such as Bitcoin's.
  • Participants spend computational power to solve a cryptographic problem, and whoever finds the solution first adds the block and receives the reward.
  • This energy expenditure is what makes attempting to defraud the ledger costly, and it underpins the security of proof-of-work networks.

What is mining?

Mining is the mechanism by which transactions are verified and incorporated into the blockchain on networks that use proof of work. Miners compete to add the next block, and the network rewards whoever succeeds with newly issued coins plus the fees from the included transactions. This is how new units enter circulation and how the ledger's history advances in an orderly way.

How it works

Each miner gathers pending transactions into a candidate block and tries to find a number that, combined with the block's content, produces a hash result within a defined target. There is no shortcut: many combinations must be tested, which requires computational power. Whoever finds a valid solution broadcasts the block, and the rest of the network verifies it and starts building on top of it.

The difficulty of the problem adjusts automatically as the network's total processing power increases or decreases, so as to keep the average interval between blocks relatively stable. This means more miners don't lead to more frequent blocks, just more competition for the same reward.

The sum of the computational power dedicated to the network is called the hash rate. The higher this rate, the more expensive it would be for an attacker to gather enough capacity to reorganize blocks, which reinforces security.

Why it matters

Mining is what ensures proof-of-work networks function without a central authority validating transactions. For the user, it explains why a transaction gains security as new blocks are mined on top of it: each additional confirmation makes reversal progressively harder. In practice, operators that accept deposits adjust the number of confirmations required based on the value involved and the security of the originating network.

Risks and limitations

Proof-of-work mining consumes a lot of energy, which creates cost and environmental debate. The activity tends to concentrate where energy is cheap, which can reduce the network's dispersion. Proof-of-stake networks emerged precisely as a lower energy-consumption alternative for reaching consensus.