Unlock instant, AI-driven research and patent intelligence for your innovation.

Block chain transaction deletion method and system

A deletion method and blockchain technology, applied in the blockchain field, can solve problems such as low efficiency, waste of storage resources, network congestion, etc., and achieve the effect of saving network resources, saving storage space, and saving storage resources

Active Publication Date: 2021-11-02
上海简苏网络科技有限公司
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] 1) The existing block chain transaction deletion method causes block chain network congestion: the user has not been packaged in the block chain network for a long time due to sending a wrong transaction, and the user will send multiple transactions continuously. At this time, the nonce value increases, which leads to More invalid transactions, the existing scheme needs to issue a corresponding cancellation transaction for each invalid transaction, causing network congestion to double;
[0005] 2) The deletion efficiency of the existing blockchain transaction deletion method is low: the existing scheme cannot delete transactions in batches, and each blockchain transaction needs to be covered with the same nonce transaction respectively. The whole process is not only time-consuming but also requires repeated operations by the user , the efficiency is very low;
[0006] 3) The existing blockchain transaction deletion method does not actually delete the transaction: due to the high entry threshold of the blockchain, novice users generally send wrong transactions, such as filling in the wrong transfer address and amount, and the existing scheme adopts a new transaction Overwrite old transactions, resulting in a large waste of storage resources over time

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 chain transaction deletion method and system
  • Block chain transaction deletion method and system

Examples

Experimental program
Comparison scheme
Effect test

no. 1 example

[0040] To solve the above problems, see figure 1 , the present embodiment proposes a blockchain transaction deletion method, comprising the following steps:

[0041] S1: Receive the deletion transaction signed by the user's private key. The deletion transaction is a transaction request including the deletion operation code and the transaction number interval;

[0042] S2: Verify the user's private key to delete the transaction. After the verification is passed, identify the transaction account and the corresponding transaction list to be deleted according to the deletion operation code and the transaction number range;

[0043] S3: Delete the unpackaged corresponding transactions in the transaction pool according to the transaction account and the transaction list to be deleted.

[0044] The present embodiment will now be described in detail, but not limited thereto.

[0045] This embodiment is suitable for blockchain nodes to delete multiple transactions in batches, and is ...

no. 2 example

[0070] see figure 2 , the present invention proposes a block chain transaction deletion system, including:

[0071] The receiving module 1 is used to receive the deletion transaction signed by the user's private key, and the deletion transaction is a transaction request including the deletion operation code and the transaction number interval;

[0072]The verification and identification module 2 is used to verify the user's private key for deleting the transaction. After the verification is passed, the transaction account and the corresponding transaction list to be deleted are identified according to the deletion operation code and the transaction number range;

[0073] The deletion module 3 is used to delete unpackaged corresponding transactions in the transaction pool according to the transaction account and the transaction list to be deleted.

[0074] The present embodiment will now be described in detail, but not limited thereto.

[0075] This embodiment is suitable fo...

no. 3 example

[0101] The present invention also proposes a computer device, including a memory and a processor, where computer-readable instructions are stored in the memory, and when the computer-readable instructions are executed by the processor, the processor performs the above-mentioned A blockchain transaction deletion method mentioned in an embodiment.

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 block chain transaction deletion method and system, and the method comprises the following steps: S1, receiving a deletion transaction signed by a private key of a user, the deletion transaction being a transaction request comprising a deletion operation code and a transaction number interval; S2, verifying a user private key of the deleted transaction, and identifying a transaction account and a corresponding to-be-deleted transaction list according to a deletion operation code and a transaction number interval after verification is passed; and S3, deleting corresponding transactions which are not packaged in the transaction pool according to the transaction account and the to-be-deleted transaction list. According to the method, batch deletion of the whole block chain network can be realized only by one deletion transaction, compared with the prior art, the influence on the block chain network is reduced, the deletion efficiency is improved, the storage space is greatly reduced, the operation is simple, and the cost is low.

Description

technical field [0001] The invention belongs to the technical field of block chains, and in particular relates to a method and system for deleting block chain transactions. Background technique [0002] Based on its characteristics of unforgeability, traceability, traceability, openness and transparency, and collective maintenance, blockchain technology has realized a variety of functions in real life, not only guaranteed safety and reliability, but also greatly facilitated every aspect of real life. At present, the transaction content of the mainstream blockchain consists of from, to, nonce, gas, gas price, value, and data, among which from is the transaction source address, to is the transaction destination address, and nonce is incremented for the transaction number issued by the from account , each number represents a unique blockchain transaction, gas is the amount of gas spent in each transaction, gasprice is the unit price of fuel, value is the amount transferred fro...

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/04G06Q20/38G06F21/64G06F21/62G06F16/27
CPCG06Q40/04G06Q20/3829G06F21/64G06F16/27G06F21/6245
Inventor 沃全刘雄魏鑫
Owner 上海简苏网络科技有限公司