Lesson 5: "The Network" Joining the Bitcoin world

我为什么要上这堂课?

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 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.


检查您的课程进度

了解了本课的内容,
就点击 "检查 "按钮吧!

Lesson 5: "The Network" Joining the Bitcoin world

0%

0%

你还没有完成所有的课程。 在做测试之前,让我们先完成所有的测试吧!

点击下面的按钮,开始测试。