mirror of
https://github.com/ton-blockchain/ton
synced 2025-03-09 15:40:10 +00:00
Increase moderate misbehavior threshold
This commit is contained in:
parent
6038147afe
commit
be55da5fde
1 changed files with 2 additions and 2 deletions
|
@ -3737,10 +3737,10 @@ void TestNode::continue_check_validator_load3(std::unique_ptr<TestNode::Validato
|
||||||
cnt_ok++;
|
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()
|
LOG(ERROR) << "validator #" << i << " with pubkey " << pk.to_hex()
|
||||||
<< " : moderate misbehavior detected: created less than 90% of the expected amount of blocks with "
|
<< " : 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";
|
<< x1 << "," << y1 << "), expected (" << xe << "," << ye << ") masterchain/shardchain blocks\n";
|
||||||
if ((mode & 3) == 2) {
|
if ((mode & 3) == 2) {
|
||||||
auto st = write_val_create_proof(*info1, *info2, i, false, file_pfx, ++cnt);
|
auto st = write_val_create_proof(*info1, *info2, i, false, file_pfx, ++cnt);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue