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

CompactblockProcessor react to code 14 generally #1650

Open
HonzaR opened this issue Dec 9, 2024 · 0 comments
Open

CompactblockProcessor react to code 14 generally #1650

HonzaR opened this issue Dec 9, 2024 · 0 comments

Comments

@HonzaR
Copy link
Contributor

HonzaR commented Dec 9, 2024

Is your feature request related to a problem? Please describe.

We'd like to check the lightwalletd calls results for status code 14 generally for all calls.

Describe the solution you'd like

Let's check and add some single point function that we use to check all lightwalletd results from CompactBlockProcessor to ensure we set the State.Disconnected properly for every such result.

if (response is Response.Failure.Server.Unavailable) {
   Twig.error { "Download UTXOs failed - setting Disconnected state" }
   setState(State.Disconnected)
}

Alternatives you've considered

Additional context

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