You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: public/content/developers/docs/consensus-mechanisms/pos/attestations/index.md
+8-2Lines changed: 8 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -50,9 +50,15 @@ The attestation lifecycle is outlined in the schematic below:
50
50
51
51
## Rewards {#rewards}
52
52
53
-
Validators are rewarded for submitting attestations. The attestation reward is dependent on two variables, the `base reward` and the `inclusion delay`. The best case for the inclusion delay is to be equal to 1.
53
+
Validators are rewarded for submitting attestations. The attestation reward depends on the participation flags (source, target and head), the base reward and the participation rate.
54
54
55
-
`attestation reward = 7/8 x base reward x (1/inclusion delay)`
55
+
Each of the participation flags can be either true or false, depending on the submitted attestation and its inclusion delay.
56
+
57
+
The best scenario occurs when all three flags are true, in which case a validator would earn (per correct flag):
58
+
59
+
`reward += base reward * flag weight * flag attesting rate / 64`
60
+
61
+
The flag attesting rate is measured using the sum of effective balances of all attesting validators for the given flag compared the total active effective balance.
0 commit comments