-
Notifications
You must be signed in to change notification settings - Fork 50
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
Return block height for vspds #142
Comments
Can also consider adding proportion live |
Required vspd PRs are decred/vspd#264 and decred/vspd#254. Both will be included in the next release of vspd, and then we can implement this issue. |
I encountered a case where block height in For Ideally, VSP clients like dcrwallet and Decrediton would check block height and warn the user if it's too old. |
would like to work on it 👀 |
It would be good to have https://api.decred.org/?c=vsp return block heights just like it was added in #137.
Knowing height is very useful to see which VSPs are not syncing properly, and getting all this data from
?c=vsp
is much faster and easier than polling each VSP. I guess it could even be used by dcrwallet/Decrediton as a quick sanity check when suggesting a VSP to the user.With decred/vspd#254 merged, height info should be available when polling vspds (for those that have upgraded). As of writing I'm not seeing any mainnet vspds returning
blockheight
but this testnet one can be used for testing:https://testnet-vsp.jholdstock.uk/api/v3/vspinfo
The text was updated successfully, but these errors were encountered: