A package transaction method, device, electronic device and storage medium
An electronic device and transaction technology, applied in the network field, can solve problems such as failure, poor user experience, and user loss, and achieve the effects of reducing losses, improving user experience, and avoiding transaction execution failures
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0032] refer to figure 1 As shown in the figure, a schematic diagram of the method steps of the packaging transaction provided by the embodiment of this specification, the packaging transaction method can be applied in an account-type blockchain network to clarify transaction dependencies, and package transactions in turn according to the order of transaction dependencies. Consensus, the method may include the following steps:
[0033] Step 102: Based on the dependency field set in the transaction to be packaged, determine whether the transaction to be packaged is a packaged transaction;
[0034] If yes, go to step 104; otherwise, go to step 106.
[0035] Optionally, in the embodiment of this specification, step 102, when judging whether the transaction to be packaged belongs to a packageable transaction based on the dependency field set in the transaction to be packaged, can be specifically executed as follows:
[0036] Determine whether the transaction identifier of the ex...
Embodiment 3
[0071] An embodiment of the present specification also provides a computer-readable storage medium, where the computer-readable storage medium stores one or more programs, and the one or more programs include instructions, and the instructions, when used by a portable electronic device including a plurality of application programs When executed, the portable electronic device can be made to execute figure 1 The method of the illustrated embodiment, and is specifically used to perform the following methods:
[0072] Based on the dependency field set in the transaction to be packaged, determine whether the transaction to be packaged is a packageable transaction;
[0073] If it belongs, package the transaction to be packaged;
[0074] Otherwise, wait for packing.
[0075] Through the above technical solution, based on the dependency field set in the transaction to be packaged, it is judged whether the transaction to be packaged belongs to a packageable transaction; if so, the t...
Embodiment 4
[0077] Figure 4 This is a schematic structural diagram of an apparatus 400 for packaging transactions provided by an embodiment of this specification. Please refer to Figure 4 , in a software implementation, the device 400 for packaging transactions may include:
[0078] The judgment module 402 is used to judge whether the transaction to be packaged belongs to a packaged transaction based on the dependency field set in the transaction to be packaged;
[0079] A packaging module 404, configured to package the transaction to be packaged if it belongs to a packageable transaction;
[0080] Otherwise, wait for packing.
[0081] Optionally, the judging module 402, when judging whether the transaction to be packaged belongs to a packageable transaction based on the dependency field set in the transaction to be packaged, is specifically used for:
[0082] Determine whether the transaction identifier of the exchange-dependent transaction to be packaged is added to the dependent ...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


