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

rpc: add syncstatus method #1991

Merged
merged 2 commits into from
Apr 15, 2021
Merged

Conversation

itswisdomagain
Copy link
Member

@itswisdomagain itswisdomagain commented Feb 15, 2021

Add a syncstatus json-rpc method that returns the wallet's synchronization state in 3 parameters:

  • synced: Whether or not the wallet is fully caught up to the network.
  • initialblockdownload: Best guess of whether this wallet is in the initial block download mode used to catch up the blockchain when it is far behind.
  • headersfetchprogress: Estimated progress of the headers fetching stage of the current sync process.

itswisdomagain added a commit to itswisdomagain/dcrwallet that referenced this pull request Mar 11, 2021
@itswisdomagain itswisdomagain marked this pull request as ready for review March 18, 2021 23:35
itswisdomagain added a commit to itswisdomagain/dcrwallet that referenced this pull request Mar 31, 2021
@jrick jrick merged commit f7d0826 into decred:master Apr 15, 2021
@itswisdomagain itswisdomagain deleted the sync-status-json-rpc branch April 16, 2021 07:53
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.

2 participants