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

Add dcrd to VSP status (UI and API) #302

Merged
merged 4 commits into from
Nov 16, 2021
Merged

Conversation

jholdstock
Copy link
Member

This renames "Voting wallet status" to "VSP status" and it now includes the status of the local dcrd instance. This change impacts both the /admin page of the UI, and the response of the /admin/status API endpoint. Closes #286

Before

Screenshot from 2021-11-03 09-59-40

After

Screenshot from 2021-11-03 09-59-27

webapi/middleware.go Outdated Show resolved Hide resolved
Errors generated during dcrd client creation were previously handled in middleware, and request handling was terminated immediately.

Now the error handling is delayed by adding the error details to the request context. This enables downstream handlers to decide what to do with the error.
This renames "Voting wallet status" to "VSP status" and it now includes the status of the local dcrd instance. This change impacts both the /admin page of the UI, and the response of the /admin/status API endpoint.
@jholdstock jholdstock merged commit b1a68a9 into decred:master Nov 16, 2021
@jholdstock jholdstock deleted the dcrd-status branch January 25, 2022 09:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add vspd dcrd instance block height/status to admin screen
2 participants