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
vspinfo endpoint ideas #232
Comments
Cannot add missed tickets, see comment in #268 |
Your renaming suggestions do make sense, but the existing names will be kept as they are because changing them will break existing API consumers for minimal benefit.
There is already an endpoint for checking voting wallet status, but it requires authenticating with the admin credentials. We could explore opening this up for public consumption, but please open a new dedicated issue for that discussion because its a slightly wider topic than just updating the |
Agreed re keeping the names to not break consumers. iirc I had this idea earlier but didn't submit it with good advance time before v1.0 final. Do you think it could be batched with other breaking changes, e.g. in v2.0, or will it still not worth it? |
Will definitely consider it if/when a new API version is introduced. Some possible scenarios which may make a new API version necessary:
Closing this issue now - #272 is opened and all of the other points have been addressed. Thanks for the suggestions. |
Some ideas from looking at
vspinfo
API response.Add fields:
statusmessage
: server operator's custom message with a sane character limit (must fit important messages + 1-2 links)votingwalletsonline
andvotingwalletstotal
could be used by automated health check crawlersticketsmissed
(dcrstakepool reported this)Change fields:
vspclosed
...up
,...enabled
)status
Group ticket stats in a namespace:
voting
toticketslive
revoked
toticketsrevoked
voted
toticketsvoted
Related: decred/dcrstakepool#628 (comment)
The text was updated successfully, but these errors were encountered: