Skip to content

support calculating node rewards #63

@Eslam-Nawara

Description

@Eslam-Nawara

Is your feature request related to a problem? Please describe

the registrar keeps track of nodes capacity and its uptime, we need to be able to calculate farmer rewards given the node capacity and uptime

Describe the solution you'd like

we can add an endpoint nodes/:node_id/reward that calculates and returns the node reward
also we need to add a function get node rewards using the registrar client

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions