Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Block-chain transaction validity verification method, device and storage medium

A verification method and block chain technology, which is applied in the field of block chain transaction validity verification and computer-readable storage media, can solve problems such as inability to verify transaction validity, and achieve the effect of saving system resources and improving execution efficiency

Active Publication Date: 2019-01-18
BAIDU ONLINE NETWORK TECH (BEIJIBG) CO LTD
View PDF4 Cites 22 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

To verify the validity of transactions on lightweight nodes, although it is not necessary to store the full amount of ledger data, it is necessary to download complete block information in real time
Especially for blockchain networks with fast block generation and large block size, it is impossible to verify the validity of transactions without downloading complete block information

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 transaction validity verification method, device and storage medium
  • Block-chain transaction validity verification method, device and storage medium
  • Block-chain transaction validity verification method, device and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0035] In the following, only some exemplary embodiments are briefly described. As those skilled in the art would realize, the described embodiments may be modified in various different ways, all without departing from the spirit or scope of the present invention. Accordingly, the drawings and descriptions are to be regarded as illustrative in nature and not restrictive.

[0036] figure 1 It is a flowchart of a blockchain transaction validity verification method provided by an embodiment of the present invention. Such as figure 1 As shown, the blockchain transaction validity verification method of the embodiment of the present invention includes: step S108, determining N specified blocks including the specified transaction from the first node in the blockchain network; step S110, for each specified block, obtaining the block header information and transaction list of the specified block, wherein the transaction list includes the first transaction identifier, and the block h...

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 embodiment of the invention provides a block chain transaction validity verification method, a device and a storage medium. The method includes determining N designated blocks including designatedtransactions from a first node in the block chain network; Acquiring, for each designated block, block header information of the designated block and a transaction list, wherein the transaction listincludes a first transaction identifier, the block header information includes a root node of a first Merkel tree and a last block identifier of the designated block, and a leaf node of the first Merkel tree is composed of all transaction identifiers of the designated block; Verifying a root node of the first Merkel tree and a first transaction identifier; Verifying whether the previous block identification of the specified block is in a pre-stored block header chain structure; Based on the verification results on each designated block, determining whether the designated transaction is valid.The embodiment of the invention does not need to download and store the full amount of block information, the transaction validity can be judged, the system resources are saved, and the execution efficiency is improved.

Description

technical field [0001] The present invention relates to the field of information technology, in particular to a blockchain transaction validity verification method, device and computer-readable storage medium. Background technique [0002] A blockchain network is usually composed of a large number of full nodes, which maintain a full amount of ledger data. The full node will synchronize the complete data of each block in real time, so it can make a correct judgment on the validity of the block. [0003] There will also be some lightweight nodes in the blockchain network, such as mobile phone clients. Because of their limited storage space, they cannot store all historical block data. In addition, the bandwidth of the mobile client is limited, and the traffic fee is high. When the block size is large and the block generation speed is fast, it is unrealistic to synchronize the complete data of each block to the mobile client in real time. [0004] There are currently lightw...

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/40
CPCG06Q20/401G06Q20/405
Inventor 荆博
Owner BAIDU ONLINE NETWORK TECH (BEIJIBG) CO LTD
Features
  • Generate Ideas
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More