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
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
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...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


