Malicious node detection method and device, equipment and storage medium
The invention discloses a malicious node detection method and device, equipment and a storage medium, and the method comprises the steps: obtaining an actual transaction sequence of all transactions contained in a block in a block chain as a first sequence, obtaining the gasoline price of each trans...
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 discloses a malicious node detection method and device, equipment and a storage medium, and the method comprises the steps: obtaining an actual transaction sequence of all transactions contained in a block in a block chain as a first sequence, obtaining the gasoline price of each transaction, and sorting all transactions in the block according to the gasoline prices to obtain a second sequence, and then comparing the first sequence with the second sequence, if the first sequence and the second sequence are different, determining the block as a target block, then calculating whether the number of available profits of the target block is a positive value, and if the number of available profits is a positive value, determining that the node corresponding to the target block is a malicious node. According to the scheme, which node in the block chain is a malicious node can be detected, so that the fairness of transactions in the block chain and the normal operation of the block chain are maintained. |
---|