Lot-drawing method for electing consensus node

A node and consensus technology, applied in the blockchain field, can solve problems such as the security and stability hazards of the lottery algorithm, and achieve the effect of eliminating security and stability hazards.

Pending Publication Date: 2020-04-21
北京邦天信息技术有限公司
View PDF0 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] Aiming at the security and stability hidden dangers that exist when the existing lottery algorithm suffers from

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
  • Lot-drawing method for electing consensus node
  • Lot-drawing method for electing consensus node
  • Lot-drawing method for electing consensus node

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0013] The principles and features of the present invention are described below in conjunction with the accompanying drawings, and the examples given are only used to explain the present invention, and are not intended to limit the scope of the present invention.

[0014] figure 1 A flow chart of a lottery method for electing consensus nodes provided by an embodiment of the present invention, as shown in figure 1 As shown, the method includes:

[0015] S1. Use the private key of each node to sign the seed parameters of the last round of consensus node election, and process the signature result according to the preset hash algorithm to obtain the first parameter;

[0016] S2. Perform fusion processing on the computing power proof PoW, currency holding proof PoS and contribution proof PoC of each node to obtain the second parameter, where PoW, PoS and PoC are the computing power difficulty, tokens and contribution value of the node respectively The function;

[0017] S3. Obta...

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 invention relates to a lot-drawing method for electing a consensus node. The method comprises the following steps of: respectively signing a seed parameter by using a private key of each node, andprocessing a signature result according to a random algorithm to obtain a first parameter; performing fusion processing on the PoW, the PoS and the PoC of each node to obtain a second parameter; according to the first parameter and the second parameter corresponding to each node, obtaining a certificate of each node; and according to the comparison result of the certificate of each node and the entry probability, obtaining the consensus node. According to the method, a generalized workload proving method is introduced into the lot-drawing algorithm for selecting the consensus participation node, and a lot-drawing mechanism is reinforced and supplemented for various attack modes, and the drawing mechanism has been strengthened and supplemented for a variety of attack methods, so that potential safety and stability hazards of the lot-drawing algorithm when the lot-drawing algorithm is subjected to network attack and market fluctuations are eliminated.

Description

technical field [0001] The invention relates to the technical field of block chains, in particular to a lottery method for electing consensus nodes. Background technique [0002] Various existing blockchain consensus algorithms have their own flaws. For example, the Byzantine General Algorithm (Byzantine) is highly dependent on the honesty of 2 / 3 of the consensus participants. If more than 1 / 3 of the consensus nodes are maliciously controlled, the network may be attacked by denial of service, and if more than 2 / 3 of the shortlisted nodes are controlled, malicious consensus may be reached. In Algorand-based algorithms (not limited to Algorand) that select consensus nodes by lottery, if the node lottery process is attacked, as long as 2 / 3 of the selected nodes are malicious, malicious consensus can also be reached. For example, in the case of 1 million honest nodes, although it is possible to create 2 million malicious nodes to attack the network, the cost is too high. Howev...

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
IPC IPC(8): H04L9/32
CPCH04L9/3247H04L9/3236H04L9/50
Inventor 艾本仁林祥兴姜长龙杜聚龙
Owner 北京邦天信息技术有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products