Skip to content

A malicious node becomes a leader and set the view to a very large one, blocks cannot be processed #2312

Closed
@fCorleone

Description

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:

wecom-temp-75977b4b95fd5e2708c60a74fa9d52cb

To Reproduce
Steps to reproduce the behavior:

  1. setup 10 nodes
  2. start press testing program
  3. the bug occurs

Expected behavior
The system should not stuck and keep changing the view.

Screenshots
wecom-temp-6d4cb25e958210a742ece57c15bdc189

wecom-temp-82b9c01408e16e51c78a6c2008b8d3c9

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.

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions