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
Answered
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 one year ago
Votes Newest

Answers


Hi,

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.

3
3
wiki
Posted one year ago
Edited one year ago
  
  

nice nice

Howard   one year ago Report
17K Views
1 Answer
one year ago
one year ago
Tags