TRANSACTION VERIFICATION METHOD AND APPARATUS, DEVICE, AND STORAGE MEDIUM
Disclosed in embodiments of the present application are a transaction verification method and apparatus, a device, and a storage medium. The method comprises: a block generation node of a blockchain network obtaining a transaction to be verified that is sent by a user node and transaction verificati...
Gespeichert in:
Hauptverfasser: | , , , , , , , , |
---|---|
Format: | Patent |
Sprache: | eng ; fre ; ger |
Schlagworte: | |
Online-Zugang: | Volltext bestellen |
Tags: |
Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
|
Zusammenfassung: | Disclosed in embodiments of the present application are a transaction verification method and apparatus, a device, and a storage medium. The method comprises: a block generation node of a blockchain network obtaining a transaction to be verified that is sent by a user node and transaction verification information corresponding to the transaction to be verified; in a block header chain, searching for a block header that matches a block identifier in a first block header, using the found block header as a second block header, and verifying a state read set and a state write set on the basis of a first state snapshot in the second block header to obtain a first verification result of the transaction to be verified; when the first verification result indicates that the verification is successful, executing a transaction service on the basis of the state read set to obtain a target transaction execution result and state data to be written; and on the basis of an initial transaction execution result, the target transaction execution result, the state write set, and the state data to be written, verifying the legitimacy of the transaction to be written. By means of the embodiments of the present application, the starting time of the block generation node can be accelerated. |
---|