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

bitcoindevkit / bdk / 8906477466
82%

Build:
DEFAULT BRANCH: master
Ran 01 May 2024 07:03AM CUT
Jobs 1
Files 41
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

01 May 2024 06:59AM CUT coverage: 84.411% (-1.3%) from 85.677%
8906477466

push

github

evanlinjin
Merge bitcoindevkit/bdk#1413: Introduce universal sync/full-scan structures for spk-based syncing

<a class=hub.com/bitcoindevkit/bdk/commit/c0374a0eeb155f1cb4f9d99223f6bc65d24f7df8">c0374a0ee<a href="https://github.com/bitcoindevkit/bdk/commit/08fac47c2921ffd8d8e1b8d223bc89ae7e94abb1"> feat(chain): `SyncRequest` now uses `ExactSizeIterator`s (志宇)
<a class="double-link" href="https://github.com/bitcoindevkit/bdk/commit/0f94f24aaf6374fe2d7c2abf32a870d3849fb8cc">0f94f24aa</a><a href="https://github.com/bitcoindevkit/bdk/commit/08fac47c2921ffd8d8e1b8d223bc89ae7e94abb1"> feat(esplora)!: update to use new sync/full-scan structures (志宇)
</a><a class="double-link" href="https://github.com/bitcoindevkit/bdk/commit/4c52f3e08e85e73db379ee3411cceb8dbcec92e1">4c52f3e08</a><a href="https://github.com/bitcoindevkit/bdk/commit/08fac47c2921ffd8d8e1b8d223bc89ae7e94abb1"> feat(wallet): make wallet compatible with sync/full-scan structures (志宇)
</a><a class="double-link" href="https://github.com/bitcoindevkit/bdk/commit/cdfec5f90726f2313963c3a71e5d18bb10624736">cdfec5f90</a> feat(chain): add sync/full-scan structures for spk-based syncing (志宇)

Pull request description:

  Fixes #1153
  Replaces #1194

  ### Description

  Introduce universal structures that represent sync/full-scan requests/results.

  ### Notes to the reviewers

  This is based on #1194 but is different in the following ways:
  * The functionality to print scan/sync progress is not reduced.
  * `SyncRequest` and `FullScanRequest` is simplified and fields are exposed for more flexibility.

  ### Changelog notice

  * Add universal structures for initiating/receiving sync/full-scan requests/results for spk-based syncing.
  * Updated `bdk_esplora` chain-source to make use of new universal sync/full-scan structures.

  ### 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 fmt` and `cargo clippy` before committing

  #### New Features:

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

ACKs for top commit:
  notmandatory:
    tACK c0374a0eeb155f1cb4f9d99223f6bc65d24f7df8

Tree-SHA512: c2ad66d9702670651a5e3f1955f6c6d42be

92 of 282 new or added lines in 4 files covered. (32.62%)

10310 of 12214 relevant lines covered (84.41%)

17748.86 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
2
89.62
0.04% crates/esplora/src/async_ext.rs
23
81.95
-1.28% crates/bdk/src/wallet/mod.rs
165
15.38
crates/chain/src/spk_client.rs
Jobs
ID Job ID Ran Files Coverage
1 8906477466.1 01 May 2024 07:03AM CUT 41
84.41
GitHub Action Run
Source Files on build 8906477466
  • Tree
  • List 41
  • Changed 16
  • Source Changed 0
  • Coverage Changed 4
Loading...
Coverage∆FileLinesRelevantCoveredMissedHits/Line
  • ►
    84.41
    crates/
  • Back to Repo
  • 08fac47c on github
  • Prev Build on master (#8875708143)
  • Next Build on master (#8924919819)
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

© 2025 Coveralls, Inc