A method and device for increasing block generation speed
A block and speed technology, applied in the financial field, can solve performance problems, cannot meet the timely processing of large-scale transaction orders, and the limited capacity of a single block, etc., to achieve the effect of reducing confirmation events, saving download time, and improving transaction efficiency
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0041] see figure 1 It is a schematic flowchart of a method for increasing block generation speed provided by Embodiment 1 of the present invention, the method includes the following steps:
[0042] S11. When the block stores data, store the transaction information in the database, and store the hash value in the block;
[0043] It can be understood that in the existing block chain technology, both transaction information and hash value are stored in the block, which increases the capacity of the block. In the embodiment of the present invention, the transaction information is stored in the database, Only the key data, that is, the hash value, is stored in the block, which reduces the capacity of the block to store data. At the same time, the database where the transaction information is stored can be a local database or a remote database.
[0044] Preferably, if transaction information has been stored in an existing block in the block chain, the transaction information can ...
Embodiment 2
[0058] Corresponding to the method for increasing the block generation speed disclosed in Embodiment 1 of the present invention, Embodiment 2 of the present invention also provides a device for increasing the block generation speed, see figure 2 A schematic structural diagram of a device for increasing block generation speed provided by Embodiment 2 of the present invention, the device includes:
[0059] The storage module 1 is used to store transaction information in the database and store the hash value in the block when the block stores data;
[0060] Establishing module 2, for establishing the index relationship between the hash value and the transaction information in the database;
[0061] The verification module 3 is configured to download the transaction information to be verified for verification according to the index relationship when verifying the authenticity of the transaction information.
[0062] Correspondingly, when the transaction information has been stor...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 

