Block chain common recognition mechanism

A blockchain and consensus technology, applied in the blockchain field, can solve problems such as being unable to resist computing power attacks, and achieve the effect of improving uniformity

Inactive Publication Date: 2017-03-29
TIANJIN MIYOU TECH
View PDF6 Cites 32 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, none of the current proof-of-stake methods can resist computing power attacks, that is, a user with less rights and interests can obtain a bookkeeping right that is much higher than its proportion of rights and interests by investing a large amount of computing power

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 common recognition mechanism
  • Block chain common recognition mechanism
  • Block chain common recognition mechanism

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0023] A block chain consensus mechanism proposed by the present invention, such as figure 1 As shown, the details are as follows:

[0024] Step 1. When a new block is generated, verify the validity of the block.

[0025] The validity of the verification block refers to the block verification method usually adopted by the existing proof-of-stake consensus mechanism. For example, verify whether the block hash is valid, verify whether each transaction in the block is valid, verify whether the previous block pointed to by the block is valid, verify whether the previous block is on a valid and active blockchain, and verify the block Whether the hash is less than the target difficulty divided by the consumed coin age, use the public key of the coin age consumption address to verify whether the signature is correct, etc. If the verification of the above parameters is passed, it is determined that the new block is valid, and the validity of the new block is checked after the new bl...

Embodiment 2

[0039] A block chain consensus mechanism proposed by the present invention, such as figure 2 As shown, the details are as follows:

[0040] Step 1. When a new block is generated, check the validity of the new block.

[0041] Detecting the average equity ratio and accounting ratio of the address generating the new block, if the accounting ratio is higher than the average equity ratio, the new block is considered invalid.

[0042] When the ratio of the billing ratio to the average equity ratio is greater than a threshold α, the new block is considered invalid.

[0043] The calculation method of the average equity ratio A is as follows:

[0044]

[0045] Among them, n is the number of blocks generated in the past period of time by selecting the address that generates the new block; P i is the equity ratio of the address on the i-th block in the selected past blocks. For example, in the past 10 blocks generated by the address that generates the new district fast, the equit...

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 belongs to the technical field of block chains and provides a block chain common recognition mechanism. The block chain common recognition mechanism disclosed in the invention is based on a rights and interests proof common recognition mechanism. When a new block is generated, an average rights and interests proportion and an account keeping proportion of an address of the newly generated block are detected; if the account keeping proportion is higher than the average rights and interests proportion, the newly generated block is deemed invalid. The block chain common recognition mechanism can help solve a problem of computing power attacks in the rights and interests common recognition mechanism.

Description

technical field [0001] The invention relates to the technical field of block chains, in particular to a block chain consensus mechanism. Background technique [0002] In layman's terms, blockchain is an open distributed ledger system. Taking Bitcoin's blockchain as an example, each participant in the transaction is a node of the blockchain network, and each node has a complete public ledger backup, which records all transaction information since the birth of Bitcoin. Any node that initiates a transaction needs to transmit relevant information to every node in the block network, so that the books on all nodes can verify this transaction and update it accurately. In addition, the account book is stored in blocks. As transactions increase, new data blocks will be appended to the existing chain to form a chain structure. Expanded, the blockchain can verify, transfer and record any fact that can be converted into data through consistent mathematical algorithms. Among them, tra...

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
Patent Type & Authority Applications(China)
IPC IPC(8): G06Q40/00G06Q20/38
CPCG06Q20/3821G06Q40/12
Inventor 邓迪孟繁轲丁江
Owner TIANJIN MIYOU TECH
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products