Skip to content

Disallow empty blocks response - #113

Merged
ValuedMammal merged 1 commit into
bitcoindevkit:masterfrom
rustaceanrob:err-12-3
Dec 4, 2024
Merged

Disallow empty blocks response#113
ValuedMammal merged 1 commit into
bitcoindevkit:masterfrom
rustaceanrob:err-12-3

Conversation

@rustaceanrob

Copy link
Copy Markdown
Member

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

Comment thread src/lib.rs Outdated

@oleonardolima oleonardolima left a comment

Copy link
Copy Markdown
Collaborator

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
Copy Markdown
Member Author

Ok updated and should pass CI

@coveralls

Copy link
Copy Markdown

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

@ValuedMammal ValuedMammal left a comment

Copy link
Copy Markdown
Contributor

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?

@oleonardolima oleonardolima left a comment

Copy link
Copy Markdown
Collaborator

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
@rustaceanrob
rustaceanrob deleted the err-12-3 branch December 4, 2024 19:11
chrono-raven6i90 added a commit to chrono-raven6i90/rust-esplora-client that referenced this pull request Oct 28, 2025
…sponse

340cd1cb97c6d9e3b08306b69eb50bc16a4cab19 fix(client): disallow empty blocks response (Rob N)

Pull request description:

  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

ACKs for top commit:
  ValuedMammal:
    ACK 340cd1cb97c6d9e3b08306b69eb50bc16a4cab19
  oleonardolima:
    utACK 340cd1cb97c6d9e3b08306b69eb50bc16a4cab19

Tree-SHA512: fc79b40fc499727d0061142d6906ae3b1f1672c507181c0c86d9527afdcdaea82e8b0e8af64a7e2463e3f4ed84595d666e854fe97d070a900cfe5a10d25b4af8
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