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
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
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...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com