The initial implementation stores the validation uptime for each validation period. This isn't useful (as the rewards will only be distributed once the entire validation is over) and forced me to use a weird trick that can make an uptimeSeconds negative at the validation period level.
Tracking the uptime at the validation level only should ease the logic.
The initial implementation stores the validation uptime for each validation period. This isn't useful (as the rewards will only be distributed once the entire validation is over) and forced me to use a weird trick that can make an
uptimeSeconds
negative at the validation period level.Tracking the uptime at the validation level only should ease the logic.