Skip to content
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

Calcul node reward based on scheduler time #693

Closed
Neylix opened this issue Nov 17, 2022 · 0 comments · Fixed by #709
Closed

Calcul node reward based on scheduler time #693

Neylix opened this issue Nov 17, 2022 · 0 comments · Fixed by #709
Assignees
Labels
bug Something isn't working rewards

Comments

@Neylix
Copy link
Member

Neylix commented Nov 17, 2022

Describe the problem you discovered

Actually the node_reward transaction is sent based on a configurable interval. n production this interval is set to 1 transaction per day.
In the reward calculation we get the number of days of the current month and divide 50 by this number. This fit well for production configuration but if the node_reward transaction are sent in a different interval than once a day, the reward calculation is not accurate.

Describe the solution you'd like

We should divide the monthly reward amount (currently 50$) by the number of interval in the current month

@Neylix Neylix added bug Something isn't working rewards labels Nov 17, 2022
@tenmoves tenmoves self-assigned this Nov 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working rewards
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants