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

Disallow empty blocks response #113

Merged
merged 1 commit into from
Dec 4, 2024

Conversation

rustaceanrob
Copy link
Contributor

This is my first attempt at resolving the empty blocks response at the client level. I didn't find that any of the current error variants accurately described the problem, but could use some outside opinions

@oleonardolima @notmandatory

src/lib.rs Outdated Show resolved Hide resolved
Copy link
Collaborator

@oleonardolima oleonardolima left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Concept ACK

I guess you'd need to fix formatting, per CI step. Agree with VM's suggestion.

@oleonardolima oleonardolima added the bug Something isn't working label Dec 3, 2024
@rustaceanrob
Copy link
Contributor Author

Ok updated and should pass CI

@coveralls
Copy link

Pull Request Test Coverage Report for Build 12147421367

Details

  • 8 of 10 (80.0%) changed or added relevant lines in 2 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage decreased (-0.08%) to 88.344%

Changes Missing Coverage Covered Lines Changed/Added Lines %
src/async.rs 4 5 80.0%
src/blocking.rs 4 5 80.0%
Totals Coverage Status
Change from base Build 11919574336: -0.08%
Covered Lines: 1152
Relevant Lines: 1304

💛 - Coveralls

Copy link
Contributor

@ValuedMammal ValuedMammal left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ACK 340cd1c

@notmandatory Do you want to include this in #112?

Copy link
Collaborator

@oleonardolima oleonardolima left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

utACK 340cd1c

@ValuedMammal ValuedMammal merged commit fa5b611 into bitcoindevkit:master Dec 4, 2024
25 checks passed
@rustaceanrob rustaceanrob deleted the err-12-3 branch December 4, 2024 19:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants