Describe the bug
I setup a group of 10 nodes under 3.0.0-rc2 version. One of the nodes is a malicious one and tries to modify some fields when it sends out some packages. Then I use the following command to test the system:
java -cp 'conf/:lib/*:apps/*' org.fisco.bcos.sdk.demo.perf.PerformanceOk 500000 5000 group
Then some transactions cannot be processed successfully. To Reproduce
Steps to reproduce the behavior:
setup a 10 nodes group
start the press test program
See the error
Expected behavior
All the transactions should be processed correctly.
Screenshots
The information of the log:
Environment (please complete the following information):
OS: Ubuntu 20.04
FISCO BCOS Version 3.0.0-rc2
The text was updated successfully, but these errors were encountered:
It can be seen from the log that the loki node forged a block with an illegal block header, and the consensus node did not verify the block, resulting in the successful consensusing of the illegal blocks, but when the block was executed, the execution failed all the time.
This problem further leads to the accumulation of blocks, the memory cannot be released, which leads to oom.
fCorleone
changed the title
A malicious node may fake a proposal's header when he is the leader and some transactions cannot be processed
A malicious node may fake a proposal's header when he is the leader and result in the successful consensusing of the illegal blocks
Jun 24, 2022
Describe the bug
I setup a group of 10 nodes under 3.0.0-rc2 version. One of the nodes is a malicious one and tries to modify some fields when it sends out some packages. Then I use the following command to test the system:
Then some transactions cannot be processed successfully.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
All the transactions should be processed correctly.
Screenshots

The information of the log:
Environment (please complete the following information):
The text was updated successfully, but these errors were encountered: