Unlock instant, AI-driven research and patent intelligence for your innovation.

A method, device and electronic equipment for fast participation of new nodes in consensus

A consensus and node technology, applied in the network field, can solve the problem that new nodes cannot immediately participate in the consensus, and achieve the effect of ensuring security

Active Publication Date: 2022-05-10
HANGZHOU RIVTOWER TECH CO LTD
View PDF7 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The embodiment of this specification provides a method, device and electronic equipment for fast participation of new nodes in consensus, so as to solve the problem that new nodes in the prior art cannot immediately participate in consensus

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • A method, device and electronic equipment for fast participation of new nodes in consensus
  • A method, device and electronic equipment for fast participation of new nodes in consensus
  • A method, device and electronic equipment for fast participation of new nodes in consensus

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0029] refer to figure 1 As shown, it is a schematic diagram of the steps of a new node fast participating consensus method provided by the embodiment of this specification, which is applied to the blockchain system using the BFT consensus algorithm. The method includes:

[0030] Step 101: The new consensus node joins the blockchain at the height of the first block;

[0031] Step 102: The new consensus node synchronizes the state root information of the first block height with the existing consensus node to obtain the first state root information;

[0032] Wherein, the first state root information is the state root information with the same content owned by consensus nodes exceeding one-third of the total number of consensus nodes;

[0033] Step 103: The newly added node verifies the correctness of all leaf nodes whose root is the first state root information;

[0034] Step 104: After the correctness verification of the leaf node is passed, the newly added node sequentially ...

Embodiment 2

[0058] refer to figure 2 As shown, the schematic diagram of the structure of the device for the new node to quickly participate in the consensus provided by the embodiment of this specification is applied to the blockchain system using the BFT consensus algorithm. The device mainly includes:

[0059] Node addition module 201: used to add consensus nodes to join the blockchain at the first block height;

[0060] The first state root information acquisition module 202: used for the newly added consensus node to synchronize the state root information of the first block height with the existing consensus node to obtain the first state root information, wherein the first state root The information is the state root information with consistent content owned by more than one-third of the total number of consensus nodes;

[0061] Leaf node verification module 203: used for the newly added node to verify the correctness of all leaf nodes with the root information of the first state a...

Embodiment 3

[0077] image 3 It is a schematic structural diagram of an electronic device according to an embodiment of this specification. Please refer to image 3 , at the hardware level, the electronic device includes a processor, and optionally also includes an internal bus, a network interface, and a memory. Wherein, the memory may include a memory, such as a high-speed random-access memory (Random-Access Memory, RAM), and may also include a non-volatile memory (non-volatile memory), such as at least one disk memory. Of course, the electronic device may also include hardware required by other services.

[0078] The processor, the network interface and the memory can be connected to each other through an internal bus, which can be an ISA (Industry Standard Architecture, industry standard architecture) bus, a PCI (Peripheral Component Interconnect, peripheral component interconnection standard) bus or an EISA (Extended Industry StandardArchitecture, extended industry standard archite...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The embodiment of this specification relates to a method, device and electronic equipment for a new node to quickly participate in consensus, which is applied to a blockchain system using a BFT consensus algorithm. The newly added consensus node directly synchronizes the state root information of the current block height, so as to quickly reach the state of the highest block height, and obtains block information from multiple consensus nodes as a verification, ensuring the security of the latest block information. This enables new nodes to quickly participate in consensus block generation. The blocks between the genesis block and the height of the newly added consensus node will be synchronized later without affecting the progress of the current consensus.

Description

technical field [0001] The embodiments of this specification relate to the field of network technologies, and in particular to a method, device and electronic equipment for a new node to quickly participate in consensus. Background technique [0002] The PBFT-like BFT consensus algorithm (Byzantine Fault Tolerance, Byzantine Fault Tolerance Algorithm) used in the blockchain can generally tolerate malicious or wrong nodes that do not exceed 1 / 3 of the total number of consensus nodes, and can still work normally. The consensus process is to count the number of consensus node votes. Generally, the consensus vote reaches more than 2 / 3 of the total number of consensus nodes, and the block can be produced. In the current blockchain system, after adding a consensus node at a certain block height, it is generally necessary to synchronize blocks from the genesis block to the current height of the chain from other nodes, and then execute each block one by one. Up to the current heigh...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Patents(China)
IPC IPC(8): H04L9/40H04L67/1095H04L67/1097
CPCH04L63/12H04L67/1097H04L67/1095H04L9/50
Inventor 王晓亮俞波
Owner HANGZHOU RIVTOWER TECH CO LTD