Source vote vs Destination vote vs Head vote accuracy
what's the difference between Src / Dst / Head accuracy?
more importantly, how do they each affect the validator reward?
I think that
- "head accuracy" measures the % of attestations which vote correctly on the previous block, and has significant effect on the validator reward
- while Src / Dst are about the sync committee and who's included in it, and doesn't affect the reward the same way
if that's the case, I would expect "Correctness" to be much more affect by head accuracy than by src/dst
would love to get some concrete explanations on these 🙏
Log in to comment and vote
Comments3
Aris Koliopoulos
Jan 29, 2024
Validators get rewarded for all three duties: voting for the head of the chain, the source (checkpoint) and the target (checkpoint). They receive rewards (or penalties) based on how quickly they submit those attestations.
The components of correctness don't discriminate between correct and timely: a late head vote is penalised in the algorithm even if it is correct.
With that in mind, the definition of the three metrics is as follows:
Head accuracy: percentage of head votes that were rewarded (ie both correct and timely)
Source accuracy: percentage of source votes that were rewarded (ie timely, incorrect ones are not included onchain)
Target accuracy: percentage of target votes that were rewarded (ie correct and timely)
In a recent epoch (eg 259703), an attesting validator with effective balance over 32 ETH (32 effective increments) would stand to earn 2580 gwei for a correct and timely head vote, 4862 for a correct and timely target vote and 2618 for a timely source vote.
It would be tempting to use protocol weights in the correctness calculation here, but those tend to change and also each duty has a different degree of difficulty. After some analysis, we decided to keep it simple and assign equal weights to all three components. Adjusting the weights didn't affect the correlation between overall effectiveness (aka the RAVER) and rewards.