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

Flux/Info API addition - Node Rank #916

Closed
2ndtlmining opened this issue Jan 24, 2023 · 2 comments
Closed

Flux/Info API addition - Node Rank #916

2ndtlmining opened this issue Jan 24, 2023 · 2 comments
Assignees
Labels
enhancement New feature or request

Comments

@2ndtlmining
Copy link
Contributor

Is your feature request related to a problem? Please describe.

Currently the Node information API : http://:<port./flux/info contains a lot of great information around the node, benchmarks, maintenance and even the application running on it. Would it be possible to add the Rank into the API?

Describe the solution you'd like
Node rank included in the API

Describe alternatives you've considered

Currently making use of the API: https://explorer.runonflux.io/api/status?q=getFluxNodes
This provides a complete list of all 15000 nodes and then perform filtering to find the rank.

Hope to improve performance by reducing the API calls as most of the node information is already available in the Info api

@2ndtlmining 2ndtlmining added the enhancement New feature or request label Jan 24, 2023
@TheTrunk
Copy link
Member

Currently flux daemon does not provide it on the calls flux/info call is using. Adding the rank there would affect the performance of the call significantly.
@blondfrogs Can we add 'rank' to getzelnodestatus call on daemon?

@2ndtlmining
Copy link
Contributor Author

Cheers

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants