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:
parent
ebc0a98844
commit
72ff124924
1 changed files with 3 additions and 2 deletions
|
@ -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) {
|
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) {
|
if (interval <= 1000) {
|
||||||
return false; // no punishments for less than 1000 seconds
|
return false; // no punishments for less than 1000 seconds
|
||||||
}
|
}
|
||||||
|
|
||||||
|
return true; // todo: (tolya-yanot) temporary reduction of fine
|
||||||
|
|
||||||
if (severe) {
|
if (severe) {
|
||||||
fine = td::make_refint(2500 * 1000000000LL); // GR$2500
|
fine = td::make_refint(2500 * 1000000000LL); // GR$2500
|
||||||
fine_part = (1 << 30); // 1/4 of stake
|
fine_part = (1 << 30); // 1/4 of stake
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue