-
Notifications
You must be signed in to change notification settings - Fork 1k
[N3] Flat rewards (21 first nodes) #4312
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master-n3
Are you sure you want to change the base?
Conversation
| if (withFlatRewards) | ||
| { | ||
| BigInteger voterSumRewardPerNEO = factor * voterRewardOfEachCommittee / votes; | ||
| BigInteger voterSumRewardPerNEO = voterRewardOfEachCommittee / votersCount; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is another change apart of flat rewards, this also set a defined level among the committee itself
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I see now, @shargon, one main point to change here is not just this factor but it is the votersCount.
We should not consider votersCount for each committee reward, that is what removes the incentive for free voting.
Co-authored-by: Owen <[email protected]>
Description
This is one of the steps to archive the flat rewards, first of all committe al CN will earn the same.
Note: Wait for a valid Proof of Node
Type of change
How Has This Been Tested?
Checklist: