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