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

A storage method and queuing method for blockchain transactions

A storage method and blockchain technology, applied in the blockchain field, can solve problems such as time-consuming and computing power, no transaction queuing method, and inability to change transaction queuing priority, so as to reduce costs and prevent zero cost. The effect of malicious brushing attacks

Active Publication Date: 2019-10-15
HANGZHOU FUZAMEI TECH CO LTD +1
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

This process takes a lot of time and computing power
[0003] Existing blockchain transactions hardly set the transaction queuing method, or simply set different charging levels to change the transaction queuing priority, and cannot flexibly change the transaction queuing priority according to user needs

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
  • A storage method and queuing method for blockchain transactions
  • A storage method and queuing method for blockchain transactions

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0025] The present invention will be further described below in conjunction with the accompanying drawings.

[0026] 1. The steps of a storage method and queuing method of a blockchain transaction are as follows:

[0027] Step S1, each transaction will generate a transaction hash value, take a certain three digits of the transaction hash value and write it into the bitmap, and one bit can only store one transaction hash value that meets the conditions, and other transactions that meet the conditions will be processed Queuing, for example: take the first three transaction hash values ​​and write them into the bitmap, the bit 3 (011) can only store transactions with the first three transaction hash values ​​of 011;

[0028] Step S2, the status code of the bit stored in the transaction is changed from 0 to 1, and the status code of the bit not stored in the transaction is always 0;

[0029] Step S3, the consensus node performs mining, and the consensus node N that first calculat...

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 storage mode and a queuing mode of blockchain transactions. Take some bits of the transaction hash value and write them into the bitmap, and one bit can only store one transaction hash value that meets the conditions, and other transactions that meet the conditions will be queued; The consensus node N of the hash value broadcasts the Merkle root hash value and its own bitmap to other consensus nodes; quickly finds missing or inconsistent data by comparing the bitmap; generates blocks after reaching a consensus; when the transaction volume is large, When transactions are congested, users can set the priority of transaction queuing according to their own needs.

Description

technical field [0001] The present invention relates to the technical field of blockchain. Background technique [0002] In the storage method of existing blockchain transactions, consensus nodes verify the consistency of each other's data through the Merkle root hash value. If the obtained Merkle root hash value is inconsistent, each layer needs to be retrieved from top to bottom The hash value of the leaf node until the underlying error transaction hash value is found, so as to determine which transaction is wrong. Only after the transaction is corrected and the transaction data reaches a consensus can the transaction be stored in the block. This process takes a lot of time and computing power. [0003] Existing blockchain transactions hardly set the transaction queuing method, or simply set different charging levels to change the transaction queuing priority, and cannot flexibly change the transaction queuing priority according to user needs. Contents of the invention ...

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 Patents(China)
IPC IPC(8): H04L29/08G06Q20/38
CPCH04L67/10H04L67/1097G06Q20/3827G06Q20/401G06Q20/405G06Q20/065G06Q20/389
Inventor 吴思进
Owner HANGZHOU FUZAMEI TECH CO LTD