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

Improve bitcoind RPC/Rest error message #72

Merged
merged 1 commit into from
Feb 1, 2024

Conversation

arik-so
Copy link
Contributor

@arik-so arik-so commented Jan 30, 2024

Currently, when bitcoind has JSON-RPC enabled, but rest is disabled, requests to rest endpoints will produce empty 404 responses, which verifier.rs interprets as out-of-range blocks.

This change allows the distinction between standard 404s and those imbued with content.

@TheBlueMatt TheBlueMatt merged commit 9c8d279 into main Feb 1, 2024
4 checks passed
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

Successfully merging this pull request may close these issues.

2 participants