Block chain consensus method and device based on Raft algorithm
A block chain and algorithm technology, applied in the field of block chain, can solve problems such as inability to guarantee management nodes
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0034] Such as figure 1 As shown, a blockchain consensus method based on the Raft algorithm, while meeting the daily bookkeeping of the blockchain based on the conventional Raft algorithm, also meets the management requirements of the blockchain and each node, specifically including the following steps:
[0035] Step S1: Divide the nodes in the blockchain into management nodes and member nodes. The status of member nodes includes follower, candidate or leader, and the status of manager nodes includes follower, candidate, leader or manager;
[0036] Step S2: The initial state of the management node is not a manager, and all management nodes and member nodes conduct leader election based on the conventional Raft algorithm, and the elected node that is the leader is responsible for recording transaction events and generating transaction blocks;
[0037] Step S3: When the state of the management node is changed from manager to manager, send periodic heartbeat notification broadcas...
Embodiment 2
[0054] The classification method of management nodes and member nodes is to identify them according to node type, node name, IP address, port number and public key password, and divide them into management nodes and member nodes through node name, IP address, port number and signature based on private key . All the other are the same as embodiment one.
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