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 rea

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

Example Embodiment

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

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

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
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