Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

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

Inactive Publication Date: 2020-08-21
上海简苏网络科技有限公司
View PDF4 Cites 10 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] However, the DPOS algorithm also faces many problems. For example, how to ensure that nodes can strictly fulfill their promises after receiving block rewards, and distribute block rewards to voters fairly? How can each competitive node bypass the system's unified voting reward rules and achieve a differentiated competitive strategy? How to ensure that ordinary users with small rights and interests can also participate in the consensus and obtain block rewards fairly, and how to improve the game ability between ordinary users and head nodes so as to avoid the continuous strengthening of the Matthew effect, these have always been important in the DPOS consensus research topic
[0005] In the current DPOS consensus election strategy, the system generally sets uniform rules, and the election nodes cannot flexibly set their own strategies, and there is no difference between each election node

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • DPOS consensus method and system realized by intelligent contract
  • DPOS consensus method and system realized by intelligent contract
  • DPOS consensus method and system realized by intelligent contract

Examples

Experimental program
Comparison scheme
Effect test

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 ...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention relates to the technical field of DPOS consensus and provides a DPOS consensus method and a DPOS consensus system realized by an intelligent contract. The method comprises the steps of enabling an address of an intelligent contract to serve as an account address to form a mapping relation with a node address of a competitive node so as to be submitted to a DPOS consensus, wherein theintelligent contract comprises at least one piece of strategy information which matches the competitive node and comprises a voting mechanism and an allocation mechanism, and recording a voting information table comprising voter information; enabling the competitive node to receive voting support information of at least one voting node through a voting mechanism, and store rights and interests information including the voting support information and corresponding pledge rights and interests information in a voting information table of the intelligent contract; and after the competitive node selects the block by the DPOS consensus, completing block output operation, and rewarding the rights and interests of the voting nodes according to an allocation mechanism. The problem that in a current DPOS consensus competitive strategy, a unified rule is generally set by a system, and competitive nodes cannot flexibly set own strategies to improve competitiveness is solved.

Description

technical field [0001] The present invention relates to the technical field of DPOS consensus, in particular to a DPOS consensus method and system realized by smart contracts. Background technique [0002] In the field of public chains, nodes need to compete for the right to generate blocks, because every time a node packs a block and obtains confirmation from the system, it will receive a certain block reward. In the POS algorithm, if a node wants to participate in the block competition, it needs to pledge a certain amount of tokens to the blockchain system as a deposit to ensure that it has the ability to maintain a node. When a block producing node is found to be doing evil, the system will confiscate the security deposit pledged by the node as a punishment. Therefore, in the concept of the POS algorithm, the greater the ability (measured by financial resources), the greater the responsibility (packing more blocks), and if you do evil, the loss will be greater. The righ...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
IPC IPC(8): G06Q40/04G06Q20/38G06F16/27G06F16/22
CPCG06Q20/3825G06Q20/3829G06Q40/04G06F16/22G06F16/27
Inventor 丁有振杨春福
Owner 上海简苏网络科技有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products