Blockchain Witness Consensus Method, System, Equipment and Storage Medium Based on Byzantine Fault Tolerance
A storage medium and Byzantine technology, applied in the field of data consistency in distributed systems, to achieve the effects of ensuring consistency and activity, solving chain forks, and reducing communication complexity
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0029] Embodiment 1: The blockchain witness consensus method based on Byzantine fault tolerance in the present invention is provided with consensus participating nodes, and one of the consensus participating nodes will be determined as the master node during each round of block generation.
[0030] The master node is responsible for block packaging, so it is also called a packaging node. A packaging node is a full node in the blockchain, and the packaging node is a round-robin of the node set. The packaging nodes of each round are determined and rotated in chronological order. If the packaging node of the current round is down, in order to avoid the inability to produce blocks in this round, after determining the delay time of the downtime (the length of this time can be set according to the needs), the view can be switched, and the non-current packaging nodes can be rotated Be the packaging node of this round and carry out this round of packaging. If this happens, it will le...
Embodiment 2
[0047] Embodiment 2: In addition, the embodiment of the present invention also proposes a blockchain witness consensus system based on Byzantine fault tolerance, including a packaging node module, a witness node module and a control module.
[0048] According to the blockchain witness consensus method based on Byzantine fault tolerance described in Embodiment 1, the control module controls the packaging node and the witness node to perform related operations.
[0049] For example: the control module controls the packaging nodes to pack in chronological order, and when the packaging node is down or due to other reasons, when the packaging node needs to be rotated, the control module controls the view switching and the rotation of the packaging node according to the delay time.
[0050] The control module also controls the witness nodes to vote only for the first received block at the same block height according to the order in which the blocks are received.
[0051] The control...
Embodiment
[0056] Embodiment: 3: Those skilled in the art can clearly understand that the method of the above-mentioned embodiment can be realized by means of software plus a necessary general-purpose hardware platform, and of course also by hardware, but the former is a better implementation in many cases Way. Based on this understanding, the essence of the technical solution of the present invention or the part that contributes to the prior art can be embodied in the form of a software product, and the computer software product is stored in a storage medium (such as a read-only memory (Read Only Memory) , ROM) / RAM, magnetic disk, optical disk), including several instructions to make a terminal device (which can be a mobile phone, computer, node packaging device, or network device, etc.) execute the method described in the embodiment of the present invention.
[0057] Therefore, the present invention also provides a blockchain witness consensus device based on Byzantine fault tolerance,...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com