Block chain consensus and execution parallel processing method and device and electronic equipment
The embodiment of the invention discloses a block chain consensus and execution parallel processing method and device and electronic equipment, and the method comprises the steps: carrying out the batch packaging of transactions, and carrying out the consensus of a transaction set obtained through p...
Gespeichert in:
Hauptverfasser: | , , |
---|---|
Format: | Patent |
Sprache: | chi ; eng |
Schlagworte: | |
Online-Zugang: | Volltext bestellen |
Tags: |
Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
|
Zusammenfassung: | The embodiment of the invention discloses a block chain consensus and execution parallel processing method and device and electronic equipment, and the method comprises the steps: carrying out the batch packaging of transactions, and carrying out the consensus of a transaction set obtained through packaging; after the consensus is reached, adding the sequenced transaction set to a preset buffer queue; sequentially executing transactions in each transaction set in the preset buffer queue; and after all transactions in any transaction set are executed, returning an execution result of the executed transaction set as a latest state. Therefore, in the mode, when one block is processed, parallel processing of transaction consensus and execution and parallel processing of transaction consensus and execution of adjacent blocks can be achieved, and it is guaranteed that in the whole consensus process, transaction consensus and execution are executed all the time, and the situation of parallelprocessing exists. Theref |
---|