Block output method, device and equipment of block chain and storage medium
The invention relates to the technical field of block chains, and discloses a block output method, device and equipment of a block chain and a storage medium. The block output method of the block chain comprises the following steps: obtaining a to-be-sealed block, which comprises a block head and a...
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 invention relates to the technical field of block chains, and discloses a block output method, device and equipment of a block chain and a storage medium. The block output method of the block chain comprises the following steps: obtaining a to-be-sealed block, which comprises a block head and a block body; verifying the to-be-sealed block to judge whether the transaction in the to-be-sealed block is valid or not, and obtaining a verification result; and processing the to-be-sealed block according to the verification result so as to control whether the block is discharged or not. On one hand, empty blocks can be prevented from being generated, the height of the blocks is reduced, and therefore invalid storage content of the block chain is reduced. On the other hand, the method can be applied to an existing block chain and is wide in application range.
本发明涉及区块链技术领域,公开了一种区块链的出块方法、装置、设备及存储介质,其中,一种区块链的出块方法包括:获取待封印区块,待封印区块包括区块头和区块体;对待封印区块进行校验,以判断待封印区块中的交易是否有效,获取校验结果;根据校验结果,对待封印区块进行处理,以管控是否出块。本发明一方面能够防止产生空块,降低区块 |
---|