Block generation method and device, equipment, medium and product
The embodiment of the invention provides a block generation method and apparatus, a device, a medium and a product, a block chain comprises a plurality of selected nodes, and the selected node is any one of the plurality of selected nodes; the method comprises the following steps: acquiring a random...
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 provides a block generation method and apparatus, a device, a medium and a product, a block chain comprises a plurality of selected nodes, and the selected node is any one of the plurality of selected nodes; the method comprises the following steps: acquiring a random beacon for generating a first block, wherein the random beacon of the first block comprises first random number data and a block height of the first block; signing the random beacon of the first block by using a node private key, and generating an election label of the selected node, the election label being used for the selected node to participate in consensus election; according to the election labels and the node addresses of the election nodes, the number of election votes of the election nodes in the current consensus election is generated, and the number of election votes is used for the consensus system to screen out a block-out node from the plurality of election nodes so that the block-out node can gener |
---|