IFCCI

Bitcoin Mining

What is Bitcoin Mining?

3 min bacaanPelajaran 9 dari 12
75%

Objektif Pembelajaran

  1. 1Define Bitcoin mining and explain why it is necessary for the network
  2. 2Understand the double-spending problem and how it would occur without mining
  3. 3Explain how mining ensures only one version of a transaction is accepted by the network
  4. 4Recognize that miners are rewarded with newly created bitcoins for their work

What is Bitcoin Mining?

In the Bitcoin network, mining is the process of verifying transactions and adding them to the blockchain—a shared, public ledger.

The computers that perform this task are called miners, and they play a vital role in keeping the network secure and synchronized. As a reward for their work, miners receive newly created bitcoins.

To better understand why mining is necessary, let's imagine how Bitcoin would work without it.

Imagine Bitcoin Without Mining

Picture a digital file called the blockchain. This file is like a shared Word document that stores a list of transactions, organized into blocks. It's saved on many computers around the world that are all connected through the internet. These computers are running Bitcoin software and are part of the Bitcoin network.

When you want to send bitcoin to someone, you create a transaction. This transaction is just a small piece of data that gets sent to one of the computers (nodes) on the network.

Without mining, the process might work like this:

  • The node that receives the transaction simply adds it directly to its copy of the blockchain file.
  • It then shares the updated file with the other nodes it's connected to.
  • Those nodes do the same—adding the transaction to their copy and forwarding it on.

Eventually, the transaction spreads across the entire network, and all nodes have the updated version of the file. The ownership of the bitcoin has successfully been transferred.

But There's a Big Problem...

Let's say you send bitcoin to a person (let's call them the "purple guy").

At the same time, being a bit shady, you try to send that same bitcoin to someone else (the "red guy") using a different node on the network.

Now the network has two conflicting transactions—one trying to send bitcoin to the purple guy, and another trying to send it to the red guy. This is called a double spend.

Because the network is made up of many computers spread across the world, some nodes might receive the purple transaction first, while others might get the red one first. That means different computers are updating their blockchain files with different versions of reality.

This leads to a serious issue: Which transaction is real?

If Bitcoin worked this way—allowing transactions to be written directly to the blockchain without any coordination—there'd be no way to prevent fraud or double spending.

Mining Solves the Double Spend Problem

Bitcoin mining is the system's solution to this problem.

Instead of writing transactions directly to the blockchain, transactions are first gathered and verified by miners. Then, through a process that requires computational work, a miner gets the right to add a new block of transactions to the blockchain.

This process ensures that:

  • Only one version of the transaction is accepted.
  • All nodes agree on the correct state of the blockchain.
  • Double spending is prevented.

In short, mining is what keeps Bitcoin secure, consistent, and trustworthy.

Poin Utama

  1. 1Bitcoin mining is the process of verifying transactions and adding them to the blockchain, performed by computers called miners
  2. 2Without mining, conflicting transactions could be sent simultaneously, creating a double-spending problem with no way to determine which transaction is valid
  3. 3Mining solves double spending by requiring computational work before transactions can be added to the blockchain, ensuring all nodes agree on one version of truth
  4. 4Miners are rewarded with newly created bitcoins for successfully adding blocks to the blockchain

Knowledge Check

1. What is the primary purpose of Bitcoin mining?