[VTS] Non active validators won't have size score #25
Replies: 1 comment
-
The size can be calculated in two ways:
The first way can only be done for the current time, no matter how far into an epoch we already are. I think we should calculate both ratios, and take the bigger one for the score. That would prevent a validator from only adding a huge stake right before an election block and then removing it again, for a (currently) better score. Get the slots, but not the size penalty. On the other hand, if a validator was very small at the last election (good score), but has received lots of stake in the meantime (for the next election), we should already disincentivise people from staking with it. So both scores are needed and the worse one for the validator must be used. |
Beta Was this translation helpful? Give feedback.
-
From the docs:
This means that if the validator is not active in the last epoch, it's score would be 0, even though it should only be penalized a bit in the liveness.
Workaround
An alternative solution would be to use the current stake of the validator as the size, since that's the closet to the last finished epoch.
Beta Was this translation helpful? Give feedback.
All reactions