Skip to content

Commit be55da5

Browse files
authored
Increase moderate misbehavior threshold
1 parent 6038147 commit be55da5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lite-client/lite-client.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3737,10 +3737,10 @@ void TestNode::continue_check_validator_load3(std::unique_ptr<TestNode::Validato
37373737
cnt_ok++;
37383738
}
37393739
}
3740-
} else if (std::min(p1, p2) < .001) {
3740+
} else if (std::min(p1, p2) < .005) {
37413741
LOG(ERROR) << "validator #" << i << " with pubkey " << pk.to_hex()
37423742
<< " : moderate misbehavior detected: created less than 90% of the expected amount of blocks with "
3743-
"probability 99.9% : created ("
3743+
"probability 99.5% : created ("
37443744
<< x1 << "," << y1 << "), expected (" << xe << "," << ye << ") masterchain/shardchain blocks\n";
37453745
if ((mode & 3) == 2) {
37463746
auto st = write_val_create_proof(*info1, *info2, i, false, file_pfx, ++cnt);

0 commit comments

Comments
 (0)