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

Pruning mode crash during block indexing #40

Open
vincenzopalazzo opened this issue May 3, 2021 · 0 comments
Open

Pruning mode crash during block indexing #40

vincenzopalazzo opened this issue May 3, 2021 · 0 comments

Comments

@vincenzopalazzo
Copy link
Member

During the block indexing, the plugin will crash because it shares the info with esplora in get info chain, but in the next command that the plugin receives it will crash because we have no method to check that the bitcoin core is not ready.

So a possible solution is to check the type of exception and if the exception is like fo following one, check the bitcoin status in downloading mode or adding a new proprieties in the plugin manager.

Return command example

error code: -28
error message:
Loading block index...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant