Client service implementation method and service components for anti-duplication of blockchain transactions
An implementation method and block chain technology, which is applied in the field of block chain transaction anti-duplication client service implementation method and service components, can solve problems such as transaction failure and inconsistent numbers, so as to prevent transaction replay, reduce access times, and ensure consistent effect
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0059] The embodiment of the present invention provides a client service implementation method for blockchain transaction anti-duplication, the method is applied to client service components, such as figure 2 As shown, the method specifically includes:
[0060] 201. Receive the transaction including the account identifier submitted by the client, and add it to the transaction cache pool.
[0061] In this embodiment, the client can initiate a transaction based on the transaction information, wherein the transaction information can include account identification, transaction amount, and signature information, etc. The account identification mentioned here can be any identification information used to identify different users, for example , wallet address, etc., are not limited here.
[0062] The above signature information can be generated by signing the hash value of the transaction data with the private key of the transaction initiator, so that the subsequent data receiver (...
Embodiment 2
[0091] The embodiment of the present invention provides a client service component for anti-duplication of blockchain transactions, such as image 3 As shown, the client service components can include:
[0092] The local database 31 is used to record the nonce value corresponding to the account identifier;
[0093] Sequence service component 32, comprising:
[0094] The receiving unit 321 is used to receive the transaction submitted by the client and add it to the transaction buffer pool;
[0095] An encapsulation unit 322, configured to encapsulate the transaction using the nonce value under the account identifier in the local database;
[0096]Blockchain unit 323, configured to send the encapsulated transaction to the blockchain network, and obtain the transaction execution result returned by the blockchain network;
[0097] The processing unit 324 is configured to judge whether the transaction execution result is successful, and increment the nonce value under the accoun...
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