Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The nodes change view frequently and stop generating blocks. #2211

Closed
fCorleone opened this issue Mar 1, 2022 · 1 comment
Closed

The nodes change view frequently and stop generating blocks. #2211

fCorleone opened this issue Mar 1, 2022 · 1 comment

Comments

@fCorleone
Copy link

Describe the bug
I start a chain with 4 nodes, one of the nodes is a malicious one. It will change the value of some fields of a message. After starting the group, I started the stress testing program. And the program stuck. The log shows that the nodes stop producing new blocks and keep view changing.

To Reproduce
Steps to reproduce the behavior:

  1. Start a chain with 4 nodes;
  2. Start the stress testing program;
  3. The error occurs

Expected behavior
Nodes produce the blocks normally.

Screenshots
The stress testing program stuck here (2% of the transactions are received)
wecom-temp-2116cfbcd90990732c059a3c3ed262b3

Environment (please complete the following information):

  • OS: Ubuntu 20.04
  • FISCO BCOS Version 3.0.0-rc2 (master branch)

Additional context
The log files:
nodes_logs_0301.zip

@cyjseagull
Copy link
Contributor

There is a bug in the logic of PBFT 3.0 fastViewChange, which causes if a malicious node deliberately sends a viewchange packet with a large view, other nodes will frequently trigger fast view switching and try to catch up with the malicious node's view

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants