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

Block header propagation method and storage medium

A block header and block technology, applied in the blockchain field, can solve the problems of occupying full node bandwidth, resources, inefficiency, and inability to connect full nodes to update block header data in real time, achieving flexible application scenarios and reducing interaction and dependencies. Effect

Pending Publication Date: 2022-01-28
福建博泉哈希科技有限公司
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, this method has the following problems: First, some SPV devices cannot be connected to the Internet or the cost of networking is high, such as: smart cards with payment functions, street lights with payment functions, etc., cannot connect to full nodes to update block header data in real time
Second, all SPV node devices request the block header from the full node, which will greatly occupy the bandwidth and resources of the full node, which is inefficient

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 header propagation method and storage medium
  • Block header propagation method and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment

[0075] Taking the update of the block header data as an example during simple payment between the SPV node of the payer and the SPV node of the payee, assuming that the latest height of the SPV block header of the current payer is 120, and the latest height of the SPV block header of the current payee is 105, using this The steps of the applied block header propagation method are:

[0076] S1. A point-to-point connection is established between the SPV node of the payer and the SPV node of the payee through the Bluetooth protocol.

[0077] S2. The payee SPV node sends the block hash value corresponding to the block with a height of 100 and the payment transaction template to the payer SPV node.

[0078] S3. The payer calculates the initial value of the block height to be 100 based on the block hash value.

[0079] S4. The payer judges whether the latest local block height 120 is greater than the block height initial value 100.

[0080] S5. Since the latest local block height ...

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 relates to the technical field of blockchains, in particular to a block header propagation method and a storage medium. The method comprises the following steps: point-to-point connection is established between a payer and a payee; the payee sends information capable of judging a block height initial value and a payment transaction template to the payer; if the latest block height which can be calculated by local information of the payer is greater than the block height initial value, block header data between the block height initial value and the local latest block height and corresponding data of the payment transaction template are sent to a payee; the payee verifies whether the block header data is correct or not according to the received data; if the block header data is verified to be correct, the payee updates the block header data. According to the invention, bidirectional block head data synchronization between two light nodes can be realized, interaction and dependence with all nodes for storing a blockchain all-account book are reduced, offline equipment is supported to synchronize the block head data, and application scenes are more flexible.

Description

technical field [0001] The present application relates to the technical field of block chain, and in particular to a block header propagation method and a storage medium. Background technique [0002] Blockchain is a new application model of computer technologies such as distributed data storage, point-to-point transmission, consensus mechanism, and encryption algorithm. Blockchain technology can be understood as distributed ledger technology, which is an Internet database technology, which is characterized by disintermediation, openness and transparency, allowing everyone to participate in database records. [0003] The block height is the identifier of the block, and the block has two identifiers, one is the hash value of the block header, and the other is the block height. The hash value of the block header is the number obtained by performing a second hash calculation on the block header through the SHA256 algorithm. The block hash value can uniquely and unambiguously ...

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/38G06Q20/40
CPCG06Q20/3827G06Q20/3829G06Q20/401
Inventor 林哲明喻念
Owner 福建博泉哈希科技有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products