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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] The leader election maybe not fair when there is a malicious node #10362

Open
fCorleone opened this issue Aug 9, 2022 · 0 comments
Open
Labels
bug Something isn't working

Comments

@fCorleone
Copy link

馃悰 Bug

The leader times of various nodes may be unfair.

To reproduce

I started a swarm with 10 nodes, 1 of them is a malicious one. And I then generate the transactions by using the command 'cluster-test'. The times for each node to be the leader varies among each other with up to a variance of 37.5%.

灞忓箷蹇収 2022-08-09 涓嬪崍1 36 30

Expected Behavior

I believe DiemBFT tries to guarantee that the leader election process is fair among each nodes. And each node should be elected as a leader with the same frequency.

System information

Please complete the following information:
Diem: branch testnet
Rust version: cargo 1.61.0-nightly
Ubuntu 20.04

Additional context

The logs are attached here:
0.log.zip
1.log.zip
2.log.zip
3.log.zip
4.log.zip
5.log.zip
6.log.zip
7.log.zip
8.log.zip
9.log.zip

@fCorleone fCorleone added the bug Something isn't working label Aug 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant