Method and device for implementing consensus mechanism of blockchain system, medium, and system

An implementation method and blockchain technology, applied in devices and systems, consensus mechanism implementation methods of blockchain systems, and medium fields, can solve problems such as failure to vote in time, voters unable to keep an eye on the production block situation, etc., to reduce Possibility, effect of efficient operation
CN109347901AActive Publication Date: 2019-02-15科岸(厦门)科技有限公司

Patent Information

Authority / Receiving Office
CN · China
Current Assignee / Owner
科岸(厦门)科技有限公司
Publication Date
2019-02-15

Smart Images

  • Figure 1
    Figure 1
  • Figure 2
    Figure 2
  • Figure 3
    Figure 3
Patent Text Reader

Abstract

The invention proposes a method for implementing a consensus mechanism of a blockchain system. The method comprises the following steps: creating a system node weight table when the blockchain systemis initialized; when the current production node in the blockchain system is producing a block, querying the ip address of each node according to the system node weight table to determine whether there is a dropped node in the blockchain system; if there is a dropped node, decrementing the node weight value of the dropped node by 1, and updating the system node weight table; and when production nodes are generated based on the dpos consensus mechanism, selecting production nodes according to the number of votes of each node and the node weight value of each node. Therefore, the method providedby the invention links the offline time of the nodes with the statistical weight of the node voting number, so that even if the nodes that are frequently dropped have a high number of votes, the statistical weight of the voting number is not too high, thereby greatly reducing the possibility that the nodes that are often dropped become block production nodes, and ensuring that the blockchain system operates efficiently.
Need to check novelty before this filing date? Find Prior Art

Description

technical field

[0001] The invention relates to the technical field of information processing, in particular to a method, medium, device and system for realizing a consensus mechanism of a block chain system. Background technique

[0002] The blockchain is essentially a deterministic state machine driven by transactions. Consensus is the process of agreeing on a deterministic transaction sequence and filtering invalid transactions. The compelling security of DPOS (Delegated Proof of Stake) comes from Its algorithm for selecting the quality of block producers and validators. In the blockchain system under the existing DPOS consensus mechanism, the selection of block production nodes is realized through voting. However, because voters cannot always pay attention to the production block status of each node, they do not vote in time, and the default is to follow the previous one. Vote according to the voting results, or vote for nodes that are often offline. Contents of t...

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