Method and system for realizing consensus based on smart contract
A smart contract and consensus technology, applied in the field of blockchain, can solve problems such as difficulty in achieving different consensus
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0065] Such as Figure 1-Figure 5 As shown, this embodiment provides a method for realizing consensus based on smart contracts, including the following steps:
[0066] S1. Write a smart contract, specify the signer of the smart contract, the content of the contract, the subject of the contract and the specific terms that must be reflected in the contract;
[0067] S2. Set and execute the corresponding consensus algorithm in the node program;
[0068] S3. Define the block header information interface on the smart contract chain and perform transaction packaging to generate blocks;
[0069] S4. Replace the consensus and release a new smart contract, execute it in a loop to achieve consensus.
[0070] In this embodiment, in S2, the method for setting and executing the consensus algorithm includes the following steps:
[0071] S2.1. Set shared type data in the smart contract;
[0072] S2.2. Set the consensus algorithm corresponding to the consensus type data in the node progra...
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