1
0
Fork 0
mirror of https://github.com/ton-blockchain/ton synced 2025-03-09 15:40:10 +00:00

temporary reduction of fine

This commit is contained in:
tolya-yanot 2021-02-17 16:22:25 +03:00
parent ebc0a98844
commit 72ff124924

View file

@ -3675,11 +3675,12 @@ void TestNode::continue_check_validator_load3(std::unique_ptr<TestNode::Validato
}
bool compute_punishment(int interval, bool severe, td::RefInt256& fine, unsigned& fine_part) {
return true; // todo: (tolya-yanot) temporary reduction of fine
if (interval <= 1000) {
return false; // no punishments for less than 1000 seconds
}
return true; // todo: (tolya-yanot) temporary reduction of fine
if (severe) {
fine = td::make_refint(2500 * 1000000000LL); // GR$2500
fine_part = (1 << 30); // 1/4 of stake