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

backend: Return peer list and sync status #12

Merged
merged 2 commits into from
Nov 17, 2020
Merged

Conversation

matheusd
Copy link
Member

This adds some missing info for the /network/status call, namely: list of connected peers and the current sync status of the dcrros node.

This adds the list of connected peers to the NetworkStatus endpoint.
This adds tracking to the server's current SyncStatus and returns it in
responses to NetworkStatus() calls.

This is useful for clients to verify the current progress of the server
syncing status.
@matheusd matheusd merged commit f9220ac into decred:master Nov 17, 2020
@matheusd matheusd deleted the peers branch November 17, 2020 18:13
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.

None yet

1 participant