Describe the bug
I setup a group with 10 nodes. One of them are malicious one. First, the malicious node starts, and after that all the other nodes start. Then I start the press testing program to send transactions to the group. And it stuck here:
To Reproduce
Steps to reproduce the behavior:
setup 10 nodes
start press testing program
the bug occurs
Expected behavior
The system should not stuck and keep changing the view.
Screenshots
Environment (please complete the following information):
OS: Ubuntu 20.04
FISCO BCOS Version 3.0.0-rc2
Additional context
There maybe an integer overflow during the viewchange and the malicious node can always be the leader.
The text was updated successfully, but these errors were encountered:
The problem is triggered because the view overflows:
The loki node starts first and broadcasts a large viewchange message packet (view = int64_max) to other nodes;
After other nodes receive this message packet and find that the view is larger than their own view, they will trigger quick view switching, and try to switch to this view, and set toView to view+1. At this time, toView overflows and reset to 0;
After that, everyone basically maintained this largest view, resulting in an abnormal consensus.
Describe the bug
I setup a group with 10 nodes. One of them are malicious one. First, the malicious node starts, and after that all the other nodes start. Then I start the press testing program to send transactions to the group. And it stuck here:
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The system should not stuck and keep changing the view.
Screenshots

Environment (please complete the following information):
Additional context
There maybe an integer overflow during the viewchange and the malicious node can always be the leader.
The text was updated successfully, but these errors were encountered: