Block generation method, computer equipment and storage medium

The invention provides a block generation method, computer equipment and a storage medium, and the method comprises the steps: responding to a packaging right for obtaining a first block of a first block height, pulling a plurality of first transactions from a memory pool, and executing the followin...

Ausführliche Beschreibung

Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: WANG ZHIWEN, WU SIJIN, MA DENGJI, YING QIUMIN
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 provides a block generation method, computer equipment and a storage medium, and the method comprises the steps: responding to a packaging right for obtaining a first block of a first block height, pulling a plurality of first transactions from a memory pool, and executing the following steps for each first transaction: judging whether a first time slot parameter value of the first transaction is null; if yes, whether the first block height and the first time slot parameter value meet a first time slot judgment rule of a parallel chain to which the first transaction belongs is judged; if not, the first transaction is stored in the memory pool again; and generating a first block according to each pulled first transaction. According to the invention, the parallel chain block output is constant, and the stability and practicability of the parallel chain are improved. 本发明提供一种区块生成方法、计算机设备和存储介质,该方法包括:响应于获得第一区块高度的第一区块的打包权,从内存池拉取若干第一交易,并对各第一交易执行如下步骤:判断第一交易的第一时隙参数值是否为空:否,则判断第一区块高度、第一时隙参数值是否满足第一交易所属平行链的第一