Method for realizing block chain transaction parallelization and block chain node

The invention relates to the technical field of block chain transaction parallelization. The invention provides a method for realizing block chain transaction parallelization and a block chain node. The method comprises the following steps: obtaining a to-be-packaged transaction set in a transaction...

Ausführliche Beschreibung

Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: YANG CHUNFU, DING YOUZHEN
Format: Patent
Sprache:chi ; eng
Schlagworte:
Online-Zugang:Volltext bestellen
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
Beschreibung
Zusammenfassung:The invention relates to the technical field of block chain transaction parallelization. The invention provides a method for realizing block chain transaction parallelization and a block chain node. The method comprises the following steps: obtaining a to-be-packaged transaction set in a transaction pool corresponding to a blockchain node; traversing each transaction in the transaction set, filtering independent transactions in the transactions, taking out the independent transactions in the transaction set and storing the independent transactions in a corresponding independent transaction cache region, and then reserving the remaining associated transactions in the transaction set in the transaction set; and starting an associated transaction processing thread for processing the associated transaction, and starting one or more independent transaction processing threads for processing the independent transaction in parallel. And on the premise of ensuring that the associated transactions can be orderly and co