Method and device for processing transaction in block chain

A blockchain and transaction technology, applied in the blockchain field, can solve problems such as reducing transaction processing efficiency, unusability, and not considering read and write conflicts, and achieve the effect of improving transaction processing efficiency and avoiding uncertainty
CN112199204AActive Publication Date: 2021-01-08ALIPAY (HANGZHOU) INFORMATION TECH CO LTD

Patent Information

Authority / Receiving Office
CN Β· China
Patent Type
Applications(China)
Current Assignee / Owner
ALIPAY (HANGZHOU) INFORMATION TECH CO LTD
Publication Date
2021-01-08

Smart Images

  • Figure 1
    Figure 1
  • Figure 2
    Figure 2
  • Figure 3
    Figure 3
Patent Text Reader

Abstract

The embodiment of the invention provides a method and a device for processing a transaction in a block chain, and the method is executed by a block chain node, and comprises the steps: obtaining a first transaction waiting for speculative execution, wherein the speculative execution is the pre-execution of the transaction before the consensus of the transaction is finished; in a case where it is determined that a second transaction being commissioned is accessing a variable requested to be accessed in the first transaction first, performing commissioning execution of the first transaction after commissioning execution of the second transaction is completed.
Need to check novelty before this filing date? Find Prior Art

Description

technical field

[0001] The embodiment of this specification relates to the technical field of block chain, and more specifically, relates to a method and device for processing transactions in block chain. Background technique

[0002] In the blockchain, the transaction is usually executed after the transaction is consensused. Since the transaction consensus takes more time, the transaction processing efficiency is low. In order to improve the efficiency of transaction processing, in the prior art, the transaction is speculatively executed before the consensus and the execution result of the transaction is saved. The execution result generated is not submitted immediately, but is submitted only when it is determined to be available when the transaction is officially executed. When the transaction is formally executed after the consensus on the transaction, if it is determined that the execution result of the speculative execution is valid and available, the execution result o...

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