Lesson 5: "The Network" Joining the Bitcoin world

Why does this lesson matter?

In order to achieve the decentralization of the blockchain, a network is needed to run the system. The computers that participate in this network are called nodes. In this lesson, we will learn how nodes work in a blockchain network.

What you can learn in this lesson

  • What does a node do in a network?

目次を表示する

How the network works

The term "decentralized" as used in blockchain means that there is no specific administrator.

On the flip side, this means that there are many unspecified administrators.

This unspecified number of administrators is called a node.


In this section, we will study the operation of nodes in the blockchain as the third mechanism to realize Bitcoin.

In a blockchain network, all nodes perform the same operation.

  1. A newly generated transaction is shared among all nodes
  2. Each node begins to incorporate the received transaction into a new block.
  3. Each node starts PoW (start looking for nonce)
  4. When the PoW is over, a block is formed and the block is shared with all nodes. 5
  5. Each node verifies that all transactions in the received block are correct
  6. Each node begins to incorporate the hash value of the approved block into the next block


At this point, the possibility exists that some nodes may share several different blocks.

Therefore, each node will hold all the blocks it has received once, and after a certain amount of time, it will continue to hold only the blocks that are connected to the longest chain.


This phenomenon can occur even when there are no illegal blocks.

This can happen even in the absence of fraudulent blocks, since all nodes will be PoWing at the same time, and thus multiple blocks will be formed with a small time difference.

In short, the resulting blockchain is branching into several chains while the latest block is being generated, although the longest one is chosen as the correct one.


Check your achievement

Click the “Tick” button
if you understand the lesson so far.

Lesson 5: "The Network" Joining the Bitcoin world

0%

0%

You haven’t finished all the lessons. Make sure to complete them before taking a quiz!

You can start a quiz by clicking the button below.