Consensus method and device based on blockchain, master node equipment and slave node equipment

The invention is suitable for the field of blockchains, and provides a consensus method and device based on a blockchain, master node equipment and slave node equipment, and the method comprises the steps: generating a configuration transaction block according to a configuration transaction request...

Ausführliche Beschreibung

Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: JIANG PENG, CHEN ZHIMING, PAN QINGXUE
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 is suitable for the field of blockchains, and provides a consensus method and device based on a blockchain, master node equipment and slave node equipment, and the method comprises the steps: generating a configuration transaction block according to a configuration transaction request transmitted by a client; sending the configuration transaction block to each slave node; if the number of received voting results returned by each slave node is less than a preset threshold in a first preset time period, continuing to receive the voting result returned by each slave node until a second preset time period is ended; if the number of voting results returned by each slave node is greater than or equal to a preset threshold in a second preset time period, sending block output information to the slave nodes; and responding to a configuration transaction request of the client, and configuring the configuration transaction on the main node. Therefore, when the network performance ispoor, more time can be p