Block generation method for block chain network, computing device and storage medium
The invention discloses a block generation method for a block chain network, computing equipment and a storage medium. The method comprises the following steps: A, receiving a first smart contract from a first block chain node, public key hash of a receiver node and a signature of the first block ch...
Gespeichert in:
1. Verfasser: | |
---|---|
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 discloses a block generation method for a block chain network, computing equipment and a storage medium. The method comprises the following steps: A, receiving a first smart contract from a first block chain node, public key hash of a receiver node and a signature of the first block chain node; B, comparing the public key hash of the current node with the public key hash of the receiver node; C, in response to a comparison result indicating that the public key hash of the current node is consistent with the public key hash of the receiver node, verifying the signature of the first block chain node by using the public key of the first block chain node; D, in response to the verification being passed, executing the first smart contract to at least generate a contract requirement, the contract requirement being used for triggering the target block chain node to execute a second smart contract received from the first block chain node; and E, adding the contract requirement into block data, wherein t |
---|