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

bitcoindevkit / bdk / 8781956347
79%

Build:
DEFAULT BRANCH: master
Ran 22 Apr 2024 09:48AM UTC
Jobs 1
Files 40
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

22 Apr 2024 09:45AM UTC coverage: 85.677% (+1.0%) from 84.716%
8781956347

push

github

evanlinjin
Merge bitcoindevkit/bdk#1380: Simplified `EsploraExt` API

96a9aa6e6 feat(chain): refactor `merge_chains` (志宇)
2f22987c9 chore(chain): fix comment (志宇)
daf588f01 feat(chain): optimize `merge_chains` (志宇)
77d35954c feat(chain)!: rm `local_chain::Update` (志宇)
1269b0610 test(chain): fix incorrect test case (志宇)
72fe65b65 feat(esplora)!: simplify chain update logic (志宇)
eded1a7ea feat(chain): introduce `CheckPoint::insert` (志宇)
519cd75d2 test(esplora): move esplora tests into src files (志宇)
a6e613e6b test(esplora): add `test_finalize_chain_update` (志宇)
494d25349 feat(testenv): add `genesis_hash` method (志宇)
886d72e3d chore(chain)!: rm `missing_heights` and `missing_heights_from` methods (志宇)
bd62aa0fe feat(esplora)!: remove `EsploraExt::update_local_chain` (志宇)
1e9979398 feat(testenv): add `make_checkpoint_tip` (志宇)

Pull request description:

  Fixes #1354

  ### Description

  Built on top of both #1369 and #1373, we simplify the `EsploraExt` API by removing the `update_local_chain` method and having `full_scan` and `sync` update the local chain in the same call. The `full_scan` and `sync` methods now takes in an additional input (`local_tip`) which provides us with the view of the `LocalChain` before the update. These methods now return structs `FullScanUpdate` and `SyncUpdate`.

  The examples are updated to use this new API. `TxGraph::missing_heights` and `tx_graph::ChangeSet::missing_heights_from` are no longer needed, therefore they are removed.

  Additionally, we used this opportunity to simplify the logic which updates `LocalChain`. We got rid of the... (continued)

952 of 1037 new or added lines in 5 files covered. (91.8%)

7 existing lines in 3 files now uncovered.

10259 of 11974 relevant lines covered (85.68%)

17915.31 hits per line

Jobs
ID Job ID Ran Files Coverage
1 8781956347.1 22 Apr 2024 09:48AM UTC 0
85.68
GitHub Action Run
Source Files on build 8781956347
Detailed source file information is not available for this build.
  • Back to Repo
  • 8e73998c on github
  • Prev Build on master (#8763624781)
  • Next Build on master (#8875708143)
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