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

When starting Qt GUI sidechains (like testchain) the launcher does not know about syncing mainchain block cache #37

Open
CryptAxe opened this issue Mar 21, 2024 · 2 comments

Comments

@CryptAxe
Copy link
Contributor

When the Qt based sidechains like testchain start, they contact mainchain and synchronize a cache of mainchain block information. Since the launcher doesn't know about this it looks like it has frozen after hitting run on testchain until the mainchain block cache is synchronized.

We could check for this error message:

{ "result": <null>, "error": { "code": -28, "message": "Updating mainchain block cache..." }, "id": 1 }

or just wait for a minute, as syncing is pretty fast.

@CryptAxe
Copy link
Contributor Author

Update: I tried to reproduce this again today, and it didn't freeze up and everything worked correctly. So this issue only happens sometimes but I haven't figured out why yet.

@CryptAxe
Copy link
Contributor Author

We also may want to wait to start the sidechains anyway: #45

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

No branches or pull requests

1 participant