Blockchain consensus method and system, computer storage medium and electronic equipment
A blockchain and block technology, applied in the blockchain field, can solve the problem that the Tendermint algorithm does not support concurrent packaging blocks, etc., and achieve the effect of improving performance
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0040] figure 1 It shows a schematic flowchart of the implementation of the blockchain consensus method in Embodiment 1 of the present application.
[0041] As shown in the figure, the blockchain consensus method includes:
[0042] Step 101. After the consensus of block BlockN enters the Confirm stage, the next block BlockN+1 enters the Propose stage;
[0043] Step 102: After BlockN enters the Commit stage, BlockN+1 enters the Confirm stage, and the next block BlockN+2 enters the Propose stage;
[0044] Step 103, BlockN, BlockN+1, BlockN+2 are executed in sequence;
[0045] In the concurrent consensus process, after the previous block completes the A phase, the next block starts the A phase; the A phase is the Propose phase, the Confirm phase, or the Commit phase;
[0046] Step 104, in the current round of concurrent consensus Consensus (B n ,B n+1 ,B n+2 ) is completed, the block BlockN+2 completed by the latest consensus is set as the stable block StableBlock; the next...
Embodiment 2
[0063] Based on the same inventive concept, the embodiment of the present application provides a blockchain consensus system. The principle of the device to solve technical problems is similar to that of a blockchain consensus method, and the repetition will not be repeated.
[0064] figure 2 A schematic structural diagram of the blockchain consensus system in Embodiment 2 of the present application is shown.
[0065] As shown in the figure, the blockchain consensus system includes: a consensus stage control module and a stable block setting module; wherein,
[0066] The consensus phase control module is used to control the consensus of the block BlockN to enter the Confirm phase, and the next block BlockN+1 enters the Propose phase; after BlockN enters the Commit phase, BlockN+1 enters the Confirm phase, and the next block BlockN +2 to enter the Propose stage; BlockN, BlockN+1, and BlockN+2 are executed in sequence; in the concurrent consensus process, after the previous bl...
Embodiment 3
[0076] Based on the same inventive concept, an embodiment of the present application further provides a computer storage medium, which will be described below.
[0077] The computer storage medium stores a computer program thereon, and when the computer program is executed by a processor, the steps of the block chain consensus method described in Embodiment 1 are implemented.
[0078] Using the computer storage medium provided in the embodiment of this application, while providing instant confirmation, the consensus process of multiple blocks is processed concurrently, which improves the performance of the consensus, and is efficient and stable; and each round of concurrent consensus Consensus (B n ,B n+1 ,B n+2 ) is completed, the stable block StableBlock is set, and the system enters the Stable state, which avoids the serial number inconsistency caused by the replica nodes after a long time of consensus, and requires an additional Checkpoint mechanism (a mechanism used to p...
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