-
Notifications
You must be signed in to change notification settings - Fork 6
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
Calculating reward distribution #124
Conversation
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.
@mpetrun5 Could probably review this beteer.
It would be easier to review if tx submit (rpc call) and reward calculation would be in separate PRs
c27c689
to
4478fc6
Compare
…yout-script-implementation
@mpetrun5 @mpetrunic I decided to separate changes in multiple PRs as suggested by @mpetrunic. |
Co-authored-by: Marin Petrunić <[email protected]>
…eFactoryIo/vedran into mmuftic/payout-script-implementation
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.
LGTM
Implement logic for calculating reward distribution based on node stats (part of payout script). Some additional minor changes described below
PR Checklist
Changes
CalculatePayoutDistributionByNode
+ unit tests (@mpetrun5 @mpetrunic please check this thoroughly)Issues
Closes #125