Method and system for constructing transaction consensus by block chain account book based on directed acyclic graph

A directed acyclic graph and blockchain technology, applied in the computer field, can solve the problems of inability to meet production needs, reduce network traffic, centralize accounting rights, etc., to avoid the expansion of computing power, improve scalability, improve success rate effect

Pending Publication Date: 2022-07-08
观源(上海)科技有限公司
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0002] Bitcoin provides a decentralized trust mechanism, from which many distributed ledger technologies based on the chain structure have evolved; although Bitcoin solves the problems of security and centralization, it leads to performance problems; Taking Bitcoin as an example, the transaction processing speed of 7 transactions / s cannot meet the actual production needs at all; due to the chain structure of Bitcoin, the transaction chain must be a serial operation, which limits the transaction throughput to a certain extent Rate;
[0003] Practical Byzantine Fault Tolerance (PBFT) is a kind of fault-tolerant technology in the field of distributed computing. The BFT consensus algorithm can ensure efficient consensus of data when no more than 1 / 3 of the members do evil. However, the committee of PBFT is generally fixed. Therefore, there is a problem of centralization of bookkeeping rights;
[0004] Due to the obvious defects of the distributed ledger technology of the chain structure, the distributed ledger technology based on DAG came into being; the ledger technology based on DAG has the advantages of high concurrency and low communication volume; Known transactions are enough, and the transaction can be uploaded to the chain immediately; secondly, compared with the chain structure, the confirmation of the transaction only needs to refer to the Hash of the transaction, and there is no need to package the transaction into the block, thus greatly reducing the network traffic. ; But DAG still has the problem of bookkeeping right election, the bookkeeping right election based purely on POW still has performance problems, and the bookkeeping right election purely based on POS has the disadvantage of partial centralization

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
  • Method and system for constructing transaction consensus by block chain account book based on directed acyclic graph
  • Method and system for constructing transaction consensus by block chain account book based on directed acyclic graph
  • Method and system for constructing transaction consensus by block chain account book based on directed acyclic graph

Examples

Experimental program
Comparison scheme
Effect test

Embodiment

[0044] Example: as Figure 1-3 As shown, the present invention is a method for constructing transaction consensus based on a directed acyclic graph blockchain ledger. Step 1. Select n nodes from legal candidate nodes to establish network connections with each other to form a consensus committee to form a consensus network; establish The creation block B0 and the creation confirmation unit K0; the creation block records the information of the initial committee, the reference creation confirmation unit, operation difficulty, time stamp and other information; the creation confirmation unit acts as a directed acyclic The beginning of the graph, excluding transaction and reference information;

[0045] Step 2. The node in the blockchain calculates the difficulty value of the target block according to the operation difficulty and timestamp in the genesis block; then calculates the answer corresponding to the operation difficulty; the node adjusts the value of Nonce, and then calcula...

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 method and system for constructing a transaction consensus based on a block chain account book of a directed acyclic graph, and the method comprises the steps: selecting n nodes from legal candidate nodes, and carrying out the mutual network connection, thereby forming a consensus committee, and forming a consensus network; establishing a creation block B0 and a creation confirmation unit K0; the node in the block chain calculates the difficulty value of the target block according to the operation difficulty and the timestamp in the creation block; then calculating riddle answers R corresponding to the operation difficulty; solving an effective riddle answer R of each node; determining a main node of the consensus committee to randomly select m riddle answers R from all riddle answers, and assembling the m riddle answers R into a block B1; consensus is carried out on the block B1; checking whether the node of the riddle answer in the block B1 is a consensus committee of the next round; and after the B1 is verified by the node in the block chain network, calculating the operation difficulty of the next block. According to the method, the dynamic election of the consensus committee is realized, decentration is ensured, and the requirement on node addition is relatively low.

Description

technical field [0001] The invention relates to the field of computer technology, in particular to a method and system for constructing a transaction consensus based on a directed acyclic graph block chain ledger. Background technique [0002] Bitcoin provides a decentralized trust mechanism, from which many distributed ledger technologies based on chain structure have evolved; although Bitcoin solves the problems of security and centralization, it leads to performance problems; Taking Bitcoin as an example, the transaction processing speed of 7 transactions / s cannot meet the actual production demand at all; due to the chain structure of Bitcoin, transactions must be serialized on the chain, which limits the transaction throughput to a certain extent. Rate; [0003] Practical Byzantine Fault Tolerance (PBFT) is a type of fault-tolerant technology in the field of distributed computing. The BFT consensus algorithm can ensure efficient consensus of data under the condition tha...

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/04G06F21/64G06F21/62G06F16/36
CPCG06Q40/04G06F21/6218G06F21/64G06F21/62G06F16/367
Inventor 范路旗邓超国
Owner 观源(上海)科技有限公司
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