Multi-main-chain cross-chain method, computer equipment and storage medium

A main chain and transaction technology, applied in the blockchain field, can solve problems such as double spending, and achieve the effect of preventing double spending and saving costs

Pending Publication Date: 2022-03-04
HANGZHOU FUZAMEI TECH CO LTD
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The applicant hopes to propose a cross-chain solution in which one layer-2 network corresponds to multiple main chains. Compared with the existing technology, the above-mentioned solution is more cost-effective, but there is also the problem of double spending

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
  • Multi-main-chain cross-chain method, computer equipment and storage medium
  • Multi-main-chain cross-chain method, computer equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0024] The application will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain related inventions, rather than to limit the invention. It should also be noted that, for ease of description, only parts related to the invention are shown in the drawings.

[0025] It should be noted that, in the case of no conflict, the embodiments in the present application and the features in the embodiments can be combined with each other. The present application will be described in detail below with reference to the accompanying drawings and embodiments.

[0026] The applicant hopes to propose a cross-chain solution in which one layer-2 network corresponds to multiple main chains. Compared with the existing technology, the above-mentioned solution is more cost-effective, but there is also the problem of double spending—if the operator cheats and depo...

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 provides a multi-main-chain cross-chain method, computer equipment and a storage medium, and the method comprises the steps: synchronizing each first transaction which needs to call a transfer contract in a first main chain block in sequence when it is monitored that the first main chain generates the first main chain block; executing the following operations on each first transaction: judging whether a transfer contract called by the first transaction is a cross-chain transfer contract; if not, executing the first transaction to update a first state tree of a first main chain on the two-layer network; if yes, executing the first transaction to update a first state tree of a first main chain on the two-layer network and a second state tree of a second main chain to be subjected to chain crossing specified by the first transaction; zero-knowledge proof evidences are generated according to the transaction information of the first transactions in sequence, and first proof data are generated according to the first transactions in sequence and the zero-knowledge proof evidences; and sending the first attestation data to the first main chain and other main chains. According to the invention, double-blossom is prevented on the basis of saving the cost.

Description

technical field [0001] This application relates to the technical field of blockchain, and specifically relates to a multi-main chain cross-chain method, computer equipment and storage media. Background technique [0002] The current cross-chain solution based on the two-layer network is generally one-to-one, and one two-layer network corresponds to one main chain. The applicant hopes to propose a cross-chain solution in which one layer-2 network corresponds to multiple main chains. Compared with the existing technology, the above-mentioned solution is more cost-effective, but there is also the problem of double spending. Contents of the invention [0003] In view of the above-mentioned defects or deficiencies in the prior art, it is desired to provide a multi-main chain cross-chain method, computer equipment and storage medium that prevent double spending on the basis of saving costs. [0004] In the first aspect, the present invention provides a multi-main chain cross-ch...

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): G06F16/27G06F16/22G06F16/23G06Q40/04
CPCG06F16/27G06F16/2255G06F16/23G06Q40/04
Inventor 马登极王志文吴思进
Owner HANGZHOU FUZAMEI TECH 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