Method and device for generating state tree of block and verifying data on chain

A state tree and blockchain technology, applied in the field of financial technology, can solve the problems of time-consuming branch paths and existence verification, and long branch paths of blockchain nodes.
CN110602148AActive Publication Date: 2019-12-20WEBANK (CHINA)

Patent Information

Authority / Receiving Office
CN · China
Current Assignee / Owner
WEBANK (CHINA)
Publication Date
2019-12-20

Smart Images

  • Figure 1
    Figure 1
  • Figure 2
    Figure 2
  • Figure 3
    Figure 3
Patent Text Reader

Abstract

The invention discloses a block state tree generation and on-chain data verification method and device, and the method comprises the steps: determining a first account and first account data of a block for any block in a block chain, wherein the first account is an account with changed account data after each transaction is executed in the block, and the first account data is changed account datain the first account after each transaction is executed; and constructing a state tree of a block formed by each first account and the first account data of each first account, and storing a root hashof the state tree in a block head of the block, the state tree being stored in a key-value pair manner. The technical scheme is used for simplifying the account data used for constructing the state tree on the blockchain, thereby shortening the length of the branch path used for verification, and improving the efficiency of existence verification of the account data.
Need to check novelty before this filing date? Find Prior Art

Description

technical field

[0001] The embodiment of the present invention relates to the field of financial technology (Fintech), and in particular to a method and device for generating a state tree of a block and verifying data on the chain. Background technique

[0002] With the development of computer technology, more and more technologies (such as blockchain (BlockChain), cloud computing or big data) are applied in the financial field. The traditional financial industry is gradually transforming into financial technology, and blockchain technology is not Exceptions, but due to the security and real-time requirements of the financial and payment industries, there are also higher requirements for blockchain technology.

[0003] In the state tree and storage tree of Ethereum, if the existence of the contract state in the storage tree is verified, it is necessary to first determine the branch path of the contract state in the storage tree, and verify whether the contract state exists i...

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