Examples: query, "exact match", wildcard*, wild?ard, wild*rd
Fuzzy search: cake~ (finds cakes, bake)
Term boost: "red velvet"^4, chocolate^2
Field grouping: tags:(+work -"fun-stuff")
Escape special characters +-&|!(){}[]^"~*?:\ - e.g. \+ \* \!
Range search: properties.timestamp:[1587729413488 TO *] (inclusive), properties.title:{A TO Z}(excluding A and Z)
Combinations: chocolate AND vanilla, chocolate OR vanilla, (chocolate OR vanilla) NOT "vanilla pudding"
Field search: properties.title:"The Title" AND text
How high are the fines for validators?

Validators should have great network connection and high performance since they are responsible for the network reliability. And if they are unavailable, they risk being fined for that. But how exactly are those fines calculated and how high can they be? What happens if the validator has a network outage or it's hardware can't keep up?

This question was imported from Telegram Chat: https://t.me/tondev/78065

Posted 7 months ago
Votes Newest



The punishment value is calculated based on the configuration parameter 40, which specifies some related values, including:

  • default_flat_fine
  • default_proportional_fine
  • severity_flat_mult
  • severity_proportional_mult
  • long_flat_mult
  • long_proportional_mult

If this configuration parameter is not specified, then the maximum punishment is 101 TON, otherwise it's calculated as below:

let: flat = default_flat_fine * (severity_flat_mult / 256) * (long_flat_mult / 256)
let: part = default_proportional_fine * (severity_proportional_mult / 256) * (long_proportional_mult / 256)
then: max = flat + (part * stake / 4G)
while: 4G = 4 * 1024 * 1024 * 1024 = 4,294,967,296

Finally, max-punishment = min(stake, max)

At the moment of writing this answer, the config parameter 40 is empty, so the maximum punishment value is simply 101 TON.

If you want to check the code, see pool.fc line 84.

Posted 7 months ago
Edited 7 months ago

nice nice

Howard   6 months ago Report
1 Answer
7 months ago
7 months ago