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 mainnet node sync check #5

Closed
darcius opened this issue Apr 24, 2019 · 1 comment
Closed

Add mainnet node sync check #5

darcius opened this issue Apr 24, 2019 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@darcius
Copy link
Member

darcius commented Apr 24, 2019

Add in a check to make sure the CLI only operates if the mainnet node is fully synced. Give a nice error message if commands that need the mainchain to operate are tried.

@darcius darcius added the enhancement New feature or request label Apr 24, 2019
@moles1
Copy link
Contributor

moles1 commented May 31, 2019

Have made it so that all commands which need the pow chain will sync automatically before doing anything - sync progress is rendered (if syncing is necessary), and once done it will move onto the remaining logic.

For daemons, any logic which requires the pow chain will sync before a method is called or a transaction is sent. Syncing progress isn't rendered so that the logs aren't filled up with junk.

@moles1 moles1 closed this as completed May 31, 2019
0xfornax pushed a commit that referenced this issue Jan 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants