Skip to content

Commit

Permalink
Increase moderate misbehavior threshold
Browse files Browse the repository at this point in the history
  • Loading branch information
EmelyanenkoK authored Aug 27, 2024
1 parent 6038147 commit be55da5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lite-client/lite-client.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3737,10 +3737,10 @@ void TestNode::continue_check_validator_load3(std::unique_ptr<TestNode::Validato
cnt_ok++;
}
}
} else if (std::min(p1, p2) < .001) {
} else if (std::min(p1, p2) < .005) {
LOG(ERROR) << "validator #" << i << " with pubkey " << pk.to_hex()
<< " : moderate misbehavior detected: created less than 90% of the expected amount of blocks with "
"probability 99.9% : created ("
"probability 99.5% : created ("
<< x1 << "," << y1 << "), expected (" << xe << "," << ye << ") masterchain/shardchain blocks\n";
if ((mode & 3) == 2) {
auto st = write_val_create_proof(*info1, *info2, i, false, file_pfx, ++cnt);
Expand Down

0 comments on commit be55da5

Please sign in to comment.