Parallel chain self-consensus method and device and storage medium

A consensus and equipment technology, applied in the blockchain field, to achieve the effect of ensuring stable operation, clear types, and improving operating efficiency

Active Publication Date: 2019-10-01
HANGZHOU FUZAMEI TECH CO LTD
View PDF15 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003]Based on the above mechanism, if the normal parachain transaction has not been synchronized, the parachain consensus node will also generate empty blocks and empty areas according to the self-consensus transaction The consensus transaction corresponding to the block, the consensus transaction corresponding to the empty block is consensused by the main chain and then synchronized by the parallel chain consensus node to generate a new empty block, the consensus transaction of the new block is sent and then received, and then a new block is generated, and the cycle continues resulting in a large number of empty blocks

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
  • Parallel chain self-consensus method and device and storage medium
  • Parallel chain self-consensus method and device and storage medium
  • Parallel chain self-consensus method and device and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0022] 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.

[0023] 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.

[0024] A blockchain transaction can be divided into transaction header information and transaction body. The transaction header information includes the name of the target executor, transaction type, etc., and the transaction body can contain specific transaction information.

[0025] figure 1 It...

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 parallel chain self-consensus method and device and a storage medium, and the method comprises the steps: synchronizing each parallel chain transaction of a parallel chain from a main chain block, generating a first parallel chain block and a corresponding first consensus transaction if the parallel chain transaction of a non-self-consensus transaction does not exist in each parallel chain transaction, and not sending the first consensus transaction temporarily; if the parallel chain transaction of the non-self-consensus transaction exists in the parallel chain transactions, executing the transaction, generating a second parallel chain block and a second consensus transaction of the second parallel chain block; if a plurality of first consensus transactions which are not sent temporarily exist, packaging the plurality of first consensus transactions which are not sent temporarily and the second consensus transaction into a first transaction group, and sending the first transaction group to the main chain node; when a plurality of first consensus transactions which are not temporarily sent do not exist, sending the second consensus transactions to the main chain node; the number of empty blocks is effectively reduced.

Description

technical field [0001] This application relates to the technical field of blockchain, and specifically relates to a parachain self-consensus method, device and storage medium. Background technique [0002] The self-consensus transaction is a parallel chain consensus transaction executed by the main chain and the parallel chain respectively; after the parallel chain consensus node generates the consensus transaction, it sends the consensus transaction to the main chain to participate in the consensus; the parallel chain consensus node will be executed by the main chain and the parallel chain respectively The consensus transaction of the new block is then pulled back to the node to re-execute the calculation, generate a new block and the consensus transaction of the new block, and then send the consensus transaction of the new block to the main chain node. [0003] Based on the above mechanism, if the normal parallel chain transaction has not been synchronized, the parallel 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): G06Q40/04H04L29/08
CPCG06Q40/04H04L67/60
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