What is mining? | Coinbase

Mục lục bài viết

How does mining work?

There are three primary ways of obtaining bitcoin and other cryptocurrencies. You can buy them on an exchange like Coinbase, receive them as payment for goods or services, or virtually “mine” them. It’s the third category that we’re explaining here, using Bitcoin as our example. 

You might have considered trying bitcoin mining yourself. A decade ago, anyone with a decent home computer could participate. But as the blockchain has grown, the computational power required to maintain it has increased. (By a lot: In October 2019, it required 12 trillion times more computing power to mine one bitcoin than it did when the first first blocks were mined in January 2009.) As a result, amateur bitcoin mining is unlikely to be profitable for hobbyists these days. Virtually all mining is now done by specialized companies or groups of people who band their resources together. But it’s still good to know how it works.

  • Specialized computers perform the calculations required to verify and record every new bitcoin transaction and ensure that the blockchain is secure. Verifying the blockchain requires a vast amount of computing power, which is voluntarily contributed by miners. 

  • Bitcoin mining is a lot like running a big data center. Companies purchase the mining hardware and pay for the electricity required to keep it running (and cool). For this to be profitable, the value of the earned coins has to be higher than the cost to mine those coins.

  • What motivates miners? The network holds a lottery. Every computer on the network races to be the first to guess a 64-digit hexadecimal number known as a “hash.” The faster a computer can spit out guesses, the more likely the miner is to earn the reward. 

  • The winner updates the blockchain ledger with all the newly verified transactions – thereby adding a newly verified “block” containing all of those transactions to the chain – and is granted a predetermined amount of newly minted bitcoin. (On average, this happens every ten minutes.) As of late 2020, the reward was 6.25 bitcoin – but it will be reduced by half in 2024, and every four years after. In fact, as the difficulty of mining increases, the reward will keep decreasing until there are no more bitcoin left to be mined.

  • There will only ever be 21 million bitcoin. The final block should theoretically be mined in 2140. From that point forward, miners will no longer rely on newly issued bitcoin as reward, but instead will rely on the fees they charge for making transactions.

Xổ số miền Bắc