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

Clean up bitcoinheaders error logs #1606

Merged
merged 1 commit into from
Nov 23, 2020
Merged

Clean up bitcoinheaders error logs #1606

merged 1 commit into from
Nov 23, 2020

Conversation

t-bast
Copy link
Member

@t-bast t-bast commented Nov 16, 2020

When we query future blocks that bitcoinheaders.net doesn't have, instead of returning a DNS resolve error, it returns a DNS response without a block header.

We want to avoid logging it as an error, so we check for this specific case.

When we query future blocks that bitcoinheaders.net doesn't have, instead
of returning a DNS resolve error, it returns a DNS response without a
block header.

We want to avoid logging it as an error, so we check for this specific case.
@t-bast t-bast requested a review from pm47 November 16, 2020 10:11
@t-bast t-bast merged commit 8bfb9f0 into master Nov 23, 2020
@t-bast t-bast deleted the bitcoin-headers-error branch November 23, 2020 09:03
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