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

Consider adding watcher_syncing to /status.get #1574

Open
unnawut opened this issue Jun 9, 2020 · 0 comments
Open

Consider adding watcher_syncing to /status.get #1574

unnawut opened this issue Jun 9, 2020 · 0 comments
Labels
api API-level issues enhancement New feature or request watcher watcher-info

Comments

@unnawut
Copy link
Contributor

unnawut commented Jun 9, 2020

Originated from omgnetwork/web-wallet#67.

When a user wants to check whether the watcher is in sync, the user has to compare /status.get's last_seen_eth_block_number against all services_synced_heights and if the gaps are all below a certain threshold, it's considered in sync.

This would be more convenient if the watchers expose their sync status above with e.g. watcher_syncing: true/false

@unnawut unnawut added enhancement New feature or request api API-level issues watcher-info watcher labels Jun 9, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api API-level issues enhancement New feature or request watcher watcher-info
Projects
None yet
Development

No branches or pull requests

1 participant