Unlock instant, AI-driven research and patent intelligence for your innovation.

Block chain consensus final certainty method based on conditional rewards

A deterministic method and blockchain technology, applied in the blockchain field, to achieve the effect of reducing the probability of bifurcation

Pending Publication Date: 2021-05-07
北京链飞未来科技有限公司
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] 2. Manually add a checkpoint to ensure that the checkpoint and its previous blocks will not be rolled back. This method needs to upgrade the node code and can only be used when a new version is released

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
  • Block chain consensus final certainty method based on conditional rewards

Examples

Experimental program
Comparison scheme
Effect test

specific Embodiment 1

[0047] A blockchain consensus finality method based on conditional rewards of the present application includes determining the "final status" of a block and rewarding those who give the block conditionally.

[0048] Assume that the blockchain includes n blocks and M nodes. When initializing the blockchain, set parameters j, k, and preset Byzantine fault-tolerant consensus. j and k are used to determine the location of the block respectively.

[0049] Such as figure 1 As shown, in chronological order, the order of block generation of n blocks is: BLOCK n-j-k-1 、BLOCK n-j-k …BLOCK n-j-1 、BLOCK n-j …BLOCK n-1 、BLOCK n . The current latest block is BLOCK n , which is preceded by j+k+1 blocks.

[0050] The terms in this application are explained as follows:

[0051] 1. Node: Refers to peer nodes in a blockchain system that have established point-to-point network connections and can transmit and synchronize data with each other.

[0052] 2. Block generation: refers to a n...

specific Embodiment 2

[0103] An embodiment of the present invention provides a conditional reward-based block chain consensus final deterministic terminal device. The terminal device in this embodiment includes: a processor, a memory, and stored in the memory and can be used in the processing A computer program running on the processor, such as a block chain consensus finality program based on conditional rewards, the method in Embodiment 1 is implemented when the processor executes the computer program.

[0104] Exemplarily, the computer program can be divided into one or more modules / units, and the one or more modules / units are stored in the memory and executed by the processor to complete the present invention. The one or more modules / units may be a series of computer program instruction segments capable of completing specific functions, and the instruction segments are used to describe the terminal Execution process in the device. For example, the computer program can be divided into multiple ...

specific Embodiment 3

[0111] The module / unit integrated with the final deterministic terminal equipment based on the block chain consensus based on conditional rewards can be stored in a computer-readable from the storage medium. Based on this understanding, the present invention realizes all or part of the processes in the methods of the above embodiments, and can also be completed by instructing related hardware through computer programs. The computer program can be stored in a computer-readable storage medium, and the computer When the program is executed by the processor, the steps in the above-mentioned various method embodiments can be realized. Wherein, the computer program includes computer program code, and the computer program code may be in the form of source code, object code, executable file or some intermediate form. The computer-readable medium may include: any entity or device capable of carrying the computer program code, a recording medium, a U disk, a removable hard disk, a magn...

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 discloses a block chain consensus final determinacy method based on conditional rewards, which comprises the following steps: setting parameters j and k, wherein a block chain comprising n blocks, when the nth block BLOCKn is output, the (n-j) th block BLOCKn-j before the nth block reaches a to-be-finally-determined state; all blocks of k blocks BLOCKn-j-k ... BLOCKn-j-1 before the (n-j) th block BLOCKn-j form a voting node set, voting is carried out on the (n-j) th block BLOCKn-j by adopting a preset consensus algorithm, and if voting reaches a consensus, the (n-j) th block BLOCKn-j reaches a final determined state; thus, by implementing absolute final certainty, it is ensured that the block does not roll back, and the safety of cross-chain transaction and under-chain association operation is improved. According to the method, the block output reward transaction is delayed, whether the block output person of a certain block inputs split tickets or not is used as a judgment condition and provides a proof, whether rewards are added to the block output person of the block is determined by the block output person of a subsequent block, the split ticket input behavior of the block output person is restrained, and the bifurcation probability is reduced.

Description

technical field [0001] The present invention relates to the technical field of block chains, in particular to a block chain consensus final deterministic method based on conditional rewards. Background technique [0002] At present, blockchain technology is developing rapidly, and the problem solved by the blockchain system is: in a distributed system, without introducing a trust intermediary, all parties involved can achieve state consistency. Consensus is some kind of algorithm or protocol to achieve this consistency. [0003] Common consensus algorithms include: POW: Proof of Work, workload proof; POS: Proof of Stake, proof of equity; DPOS: Delegated Proof of Stake, authorized proof of equity; PBFT: Practical Byzantine Fault Tolerance, practical Byzantine fault tolerance; RAFT: Consistency consensus algorithm. These consensus algorithms have their own advantages and disadvantages in terms of security, usability, cost, and performance. [0004] Among them, the character...

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): G06Q20/38G06Q20/40G06Q30/02
CPCG06Q20/3825G06Q20/3829G06Q20/401G06Q20/405G06Q30/0207
Inventor 郭斌赵贺
Owner 北京链飞未来科技有限公司