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

Method and system used for relieving node storage pressure

A pressure and node technology, applied in the field of digital currency, can solve the problems of user inconvenience, inability to verify the source, etc., and achieve the effect of alleviating the pressure of node storage

Active Publication Date: 2016-12-21
HENGBAO
View PDF5 Cites 23 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] However, the inventors found that there are still some deficiencies in the above methods. For example, after this mode is turned on, although the amount of data stored by the node is greatly reduced, since the historical transactions have been deleted regardless of whether the transaction output is spent or not, there is no It is impossible to verify the source of the transaction output by spending it. Therefore, functions such as importing wallets, importing addresses, and importing private keys are no longer supported, causing inconvenience for users

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
  • Method and system used for relieving node storage pressure
  • Method and system used for relieving node storage pressure
  • Method and system used for relieving node storage pressure

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0046] An embodiment of the present invention provides a method for alleviating storage pressure on nodes (hereinafter referred to as the method), such as figure 1 As shown, the method includes:

[0047] Step S1. Confirm the proportion of unspent transaction outputs in all blocks whose height is lower than a specific block.

[0048] Among them, the specific block can be the latest existing block or one of the existing blocks. Those skilled in the art can comprehensively consider the storage pressure of the node at that time, the difficulty of method execution and the effect. Reasonable choice, for example, when the number of blocks in the blockchain reaches 3000, the 1000th block can be set as a specific block, or the 2000th block can be set as a specific block. Of course, the newer the set specific block, if it satisfies the execution conditions of the subsequent steps, the better the node storage pressure can be relieved after the subsequent steps.

[0049] Optionally, ste...

Embodiment 2

[0065] In order to facilitate understanding and implementation by those skilled in the art, the following embodiments of the present invention provide a most specific method for alleviating storage pressure on nodes.

[0066] Specifically, such as figure 2 As shown, the method for alleviating the pressure on node storage includes: confirming the proportion of unspent transaction outputs in all blocks whose height is lower than a specific block; comparing the proportion of unspent transaction outputs with a specific proportion to determine the proportion of unspent transactions The ratio of output to a specific ratio; if the ratio of unspent transaction output is greater than a specific ratio, set a new specific block and start from scratch; if the ratio of unspent transaction output is less than or equal to a specific ratio, determine the unspent The number of confirmations of transaction output, judging the relationship between the number of confirmations of unspent transact...

Embodiment 3

[0068] An embodiment of the present invention provides a system for alleviating storage pressure on nodes, specifically, as image 3 As shown, the system for relieving storage pressure on nodes includes a ratio confirmation module 1 , a ratio comparison module 2 , a transaction initiation module 3 and a deletion module 4 .

[0069] Among them, the proportion confirmation module 1 is used to confirm the proportion of unspent transaction output in all blocks whose height is lower than a specific block; the proportion comparison module 2 is used to compare the proportion of unspent transaction output with a specific proportion; the transaction initiation module 3 It is used to initiate multiple automatic transfer-in transactions when the ratio of unspent transaction output is less than or equal to a specific ratio; the deletion module 4 is used to delete the block that has transferred the unspent transaction output.

[0070] In the above-mentioned automatic transfer-in transactio...

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 discloses a method and a system used for relieving a node storage pressure, which relate to the technical field of digital currency and are used for relieving the node storage pressure on the premise of ensuring that sources of unspent transaction outputs can be verified. The method used for relieving the node storage pressure comprises the steps of S1, confirming a ratio of unspent transaction outputs in all blocks lower than a specific block; S2, comparing the ratio of the unspent transaction outputs with a specific ratio; S3, when the ratio of the unspent transaction outputs is smaller than or equal to the specific ratio, initiating multi-time automatic transfer-in transactions, wherein the automatic transfer-in transactions are in one-to-one correspondence with the unspent transaction outputs; and S4, deleting the blocks from which the unspent transaction outputs are transferred. The method and the system are applied to a digital currency transaction process.

Description

technical field [0001] The invention relates to the technical field of digital currency, in particular to a method and system for alleviating the storage pressure of nodes. Background technique [0002] Due to its characteristics of decentralization, high transparency, no need for trust, and data that cannot be tampered with, the blockchain is being continuously applied to various fields, but it inevitably creates technical problems that the storage pressure of nodes continues to increase. Taking Bitcoin, the first blockchain application, as an example, the amount of blockchain data increases linearly with time, and the current block size can no longer include all the transactions recently broadcast to the network. In the future, the Bitcoin expansion plan will be implemented. Afterwards, the amount of data stored in the blockchain will grow faster, which will cause more and more storage pressure on the full node of Bitcoin. [0003] In order to solve the above problems, th...

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/04
CPCG06Q40/04
Inventor 陆道如温泉张骁
Owner HENGBAO
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