UTXO data storage method, device and equipment and storage medium

A data storage device and data storage technology, applied in the field of blockchain database storage, can solve problems such as increased economic costs, increased node memory burden, and loss

Pending Publication Date: 2019-05-21
CHANGSHA UNIVERSITY OF SCIENCE AND TECHNOLOGY
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

According to this one-year growth rate, it is estimated that by 2025, if you want to put the UTXO database into the node memory, you will need to spend $4,000 just to buy memory, and the economic cost of investment will continue to increase
Moreover, in the digital encryption currency system, users manage their wallet addresses through private keys, and only with private keys can they have the right to use funds under this address. UTXO has become a dead account that can never be used and is stored in the UTXO database, which increases the size of the UTXO database and increases the memory burden of nodes, thus affecting the effectiveness, feasibility and speed of transactions

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
  • UTXO data storage method, device and equipment and storage medium
  • UTXO data storage method, device and equipment and storage medium
  • UTXO data storage method, device and equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0050] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of the present invention.

[0051] At present, in the digital cryptocurrency system, the UTXO database is stored in the node memory, that is, the UTXO database is stored as a memory database, so that the correct transaction can be guaranteed, that is to say, the size of the memory space will directly affect the transaction. Efficiency, feasibility and transaction speed.

[0052]In the current digital cryptocurrency system: (1) When UTXO is used for transactions, once UTXO is created, it is in...

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 UTXO data storage method. The method comprises the following steps: taking an account of which the final transaction time is before the preset time as a cold region account;identifying expired UTXO and unexpired UTXO in the cold area account; And migrating the expired UTXO to a hard disk database, and keeping the unexpired UTXO in a memory database. Visibly, in the scheme, the accounts are distinguished according to the activeness of the accounts, the cold region accounts with the poor activeness in the database are recognized, then the expired UTXO in the cold region accounts is recognized, the expired UTXO is migrated to the hard disk database, and therefore the effective utilization space of a memory is increased, and it is ensured that transactions are smoothly carried out. The invention further discloses a UTXO data storage device and equipment and a computer readable storage medium, and the technical effects can also be achieved.

Description

technical field [0001] The present invention relates to the technical field of blockchain database storage, and more specifically, to a UTXO data storage method, device, equipment, and computer-readable storage medium. Background technique [0002] UTXO (Unspent Transaction Outputs) is a data structure used in the digital cryptocurrency system. Its smallest unit is a transaction, and each transaction corresponds to an amount. Once UTXO is created, it is indivisible, follows the law of energy conservation, and is responsible for realizing the value transfer of currency in transactions. Taking the Bitcoin wallet as an example, the account balance seen in the Bitcoin wallet is actually the product of UTXO aggregate calculation. As the original basic unit of value transfer in the digital cryptocurrency system, UTXO is safe and stable. [0003] At present, the UTXO database is very inflated. In May 2015, the UTXO database was compressed to 650MB, and after decompression, it took...

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): G06F16/21G06Q40/04
Inventor 张经宇钟思琪王进王磊李文军
Owner CHANGSHA UNIVERSITY OF SCIENCE AND TECHNOLOGY
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