• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

bitcoindevkit / bdk / 16052960758
79%

Build:
DEFAULT BRANCH: master
Ran 03 Jul 2025 02:22PM UTC
Jobs 1
Files 30
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

03 Jul 2025 02:19PM UTC coverage: 82.176% (+0.2%) from 81.974%
16052960758

push

github

ValuedMammal
Merge bitcoindevkit/bdk#1971: esplora: `chain_update` errors if no point of connection

<a class=hub.com/bitcoindevkit/bdk/commit/568a36642c43d74132339a4e42dd41c545a764e1">568a36642<a href="https://github.com/bitcoindevkit/bdk/commit/c496cde270c615b3a4b997d8407b9f9aac2d7dcb"> refactor(esplora): in debug build assert that `latest_blocks` is not empty (valued mammal)
<a class="double-link" href="https://github.com/bitcoindevkit/bdk/commit/dd394cb31869df89c5e5b3bbbf88e26763348878">dd394cb31</a> fix(esplora): `chain_update` errors if no point of connection (valued mammal)

Pull request description:

  ### Description

  Before, the `chain_update` function might have panicked if the local checkpoint was not on the same network as the remote server. Now if we have iterated all of the blocks of the local CP and do not find a point of agreement, then we return early with a `esplora_client::Error::HeaderHashNotFound`.

  cc bitcoindevkit/bdk_wallet#30

  ### Notes to the reviewers

  ### Changelog notice

  ### Checklists

  #### All Submissions:

  * [x] I've signed all my commits
  * [x] I followed the [contribution guidelines](https://github.com/bitcoindevkit/bdk/blob/master/CONTRIBUTING.md)
  * [x] I ran `cargo +nightly fmt` and `cargo clippy` before committing

  #### New Features:

  * [ ] I've added tests for the new feature
  * [ ] I've added docs for the new feature

  #### Bugfixes:

  * [ ] This pull request breaks the existing API
  * [x] I've added tests to reproduce the issue which are now passing
  * [x] I'm linking the issue being fixed by this PR

ACKs for top commit:
  ValuedMammal:
    ACK 568a36642c43d74132339a4e42dd41c545a764e1

Tree-SHA512: 8dceaf24f19962af04020e38b2af828360a

82 of 90 new or added lines in 2 files covered. (91.11%)

5325 of 6480 relevant lines covered (82.18%)

33124.26 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
4
91.84
1.7% crates/esplora/src/async_ext.rs
4
88.77
0.02% crates/esplora/src/blocking_ext.rs
Jobs
ID Job ID Ran Files Coverage
1 16052960758.1 03 Jul 2025 02:22PM UTC 30
82.18
GitHub Action Run
Source Files on build 16052960758
  • Tree
  • List 30
  • Changed 2
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • c496cde2 on github
  • Prev Build on master (#16052530607)
  • Next Build on master (#16185133669)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc