threshold-network / merkle-distribution

Threshold Network rewards generation and distribution
https://threshold.network
1 stars 6 forks source link

Validating all the keep-client versions over the rewards interval #85

Closed dimpar closed 11 months ago

dimpar commented 11 months ago

This is a follow-up fix of PR #78. In both cases, a script should validate all the keep-client versions in a given reward interval. If it happens that a client runs an older version that is allowed it should not be eligible for rewards.

In this scenario when a cutoff day for the upgrade enters the next rewards distribution a staker can run either of two latest client versions at any given moment.

No prior distributions were affected.