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

bitcoindevkit / bdk / 18184758536
79%

Build:
DEFAULT BRANCH: master
Ran 02 Oct 2025 06:05AM UTC
Jobs 1
Files 28
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

02 Oct 2025 05:34AM UTC coverage: 78.638% (-0.02%) from 78.657%
18184758536

push

github

evanlinjin
Merge bitcoindevkit/bdk#2052: chain: replace `ScriptBuf` with `&Script` in SPK index methods

<a class=hub.com/bitcoindevkit/bdk/commit/<a class="double-link" href="https://git"><a class=hub.com/bitcoindevkit/bdk/commit/c095145864a97b5efb4c90ef81989185b5a06998">c09514586 refactor(chain): replace `ScriptBuf` with `AsRef<Script>` in SPK index methods (Yuki Kishimoto)

Pull request description:

  ### Description

  Replace `ScriptBuf` with `&Script` in `SpkTxOutIndex::index_of_spk` and `KeychainTxOutIndex::index_of_spk` methods, to avoid the need of cloning the `ScriptBuf` for a SPK index lookup.

  ### Changelog notice

  Breaking changes:
  - Change `SpkTxOutIndex::index_of_spk` and `KeychainTxOutIndex::index_of_spk` args from `ScriptBuf` to `&Script`.

  ### Checklists

  #### All Submissions:

  * [X] I followed the [contribution guidelines](https://github.com/bitcoindevkit/bdk/blob/master/CONTRIBUTING.md)

  #### New Features:

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

  #### Bugfixes:

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

ACKs for top commit:
  oleonardolima:
    cACK c095145864a97b5efb4c90ef81989185b5a06998
  evanlinjin:
    ACK c095145864a97b5efb4c90ef81989185b5a06998

Tree-SHA512: f77bb4d9b76181d085893673aa17f99f085

378 of 512 branches covered (73.83%)

Branch coverage included in aggregate %.

5 of 8 new or added lines in 2 files covered. (62.5%)

4205 of 5316 relevant lines covered (79.1%)

2991.45 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
3
78.1
-0.24% crates/chain/src/indexer/keychain_txout.rs
Jobs
ID Job ID Ran Files Coverage
1 18184758536.1 02 Oct 2025 06:05AM UTC 28
78.64
GitHub Action Run
Source Files on build 18184758536
  • Tree
  • List 28
  • Changed 2
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • 00b5f022 on github
  • Prev Build on master (#18184616528)
  • Next Build on master (#18363443085)
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