Era end rewards #48
-
EraEndV2 shows two reward amounts per validator. What is each amount? Would it be possible to have more amounts in this array?
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Hi, This has to do with how the new rewards scheme in Condor works. Now, every block can cite finality signatures for a few previous blocks and citing those signatures rewards the signer as well as the proposer of the citing block. The first few blocks in each era are allowed to cite signatures for the final blocks of the previous era. But since the signer of the block from the previous era might no longer be a validator in the current era, the rewards distribution code needs to know which parts of the full reward belong to which era. This is what this does: the first amount in the array is assigned to the current era, and the second is for the previous era. At the moment, the arrays can have at most two values, because we put limits in place so that the rewards computation doesn't reach further than one era back. |
Beta Was this translation helpful? Give feedback.
Hi,
This has to do with how the new rewards scheme in Condor works. Now, every block can cite finality signatures for a few previous blocks and citing those signatures rewards the signer as well as the proposer of the citing block. The first few blocks in each era are allowed to cite signatures for the final blocks of the previous era. But since the signer of the block from the previous era might no longer be a validator in the current era, the rewards distribution code needs to know which parts of the full reward belong to which era. This is what this does: the first amount in the array is assigned to the current era, and the second is for the previous era.
At the moment, the arrays can …