Reward & Penalty
Rewards
Partition management
Reward amount calculation
rdtu = (allocation.Expiration - PreviousCompletedChallenge.Created) / timeunit
dtu = (CurrentCompletedChallenge.Created - PreviousCompletedChallenge.Created) / timeunit
reward = (dtu / rdtu) * float64(d.ChallengePoolIntegralValue)
d.ChallengePoolIntegralValue -= reward validatorsReward = reward * config.validator_reward
blobberReward = reward * (1 - config.validator_reward) partial = float64(challenge.SuccessfulTickets) / float64(challenge.TotalValidators / 2)
blobberReward = blobberReward * partialReward distribution
Validator rewards
Penalty
Blobber Penalty

Last updated