DPOS consensus method and system realized by intelligent contract
A smart contract and consensus technology, applied in the field of DPOS consensus method and system, can solve the problem that election nodes cannot flexibly set policies and achieve the effect of ensuring security
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
no. 1 example
[0064] Such as figure 2 As shown, it is a specific flowchart of a DPOS consensus method implemented by a smart contract in the present invention. it includes:
[0065] S1: Create a smart contract, and use the address of the smart contract as an account address to form a mapping relationship with the node address of the election node to submit to the DPOS consensus. The smart contract includes at least one voting mechanism adapted to the election node and Policy information including distribution mechanism, and voting information tables that record voter information.
[0066] The scheme of the present invention relies on the scheme of separating the account address and the node address, because this scheme is mainly implemented by smart contracts. To participate in consensus communication, consensus nodes must use private keys to sign, while smart contracts cannot have private keys, otherwise the contract The logical rules formulated by the code will be meaningless, and the ...
no. 2 example
[0090] Compared with the first embodiment, the steps are basically the same, the biggest difference is that, before rewarding the rights and interests of the voting nodes according to the distribution mechanism, it also includes:
[0091] The trigger condition of the preset equity distribution, when the trigger condition is met, the distribution mechanism is triggered to reward the voting node with the equity reward, wherein the trigger condition is distribution when the block reward arrives, timing distribution, Any one of the conditions assigned when voting changes.
[0092] When the agreed conditions are triggered, the smart contract will automatically execute the distribution of block rewards according to the distribution mechanism established in advance. The possibility of breach of contract is eliminated by the openness, transparency and automatic execution of smart contracts.
[0093] In order to implement the trigger conditions for equity distribution, the blockchain ...
no. 3 example
[0110] As in the first embodiment, the steps are basically the same, the biggest difference is that it also includes creating a ledger record table in the smart contract, specifically:
[0111] The smart contract records information including the total amount of pledged rights and interests and the balance of rights and interests through the ledger record table.
[0112] Specifically, in this embodiment, by setting the ledger record table in the smart contract, it is equivalent to providing a fixed agreement for the DPOS consensus, and the ledger record table of all election nodes records the total amount of pledged rights and interests in the same storage structure , information including equity balance, interacts with the blockchain system with the data recorded in the ledger record table. Under the background that each election node formulates different voting mechanism and allocation mechanism strategies, it still interacts with the blockchain network through a common and ...
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