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

bitcoindevkit / bdk / 24844458508
78%

Build:
DEFAULT BRANCH: master
Ran 23 Apr 2026 03:45PM UTC
Jobs 1
Files 29
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

23 Apr 2026 03:41PM UTC coverage: 77.805% (+0.02%) from 77.789%
24844458508

push

github

evanlinjin
Merge bitcoindevkit/bdk#2180: fix(chain): prevent integer overflow in `SpkIterator::new_with_range`

<a class=hub.com/bitcoindevkit/bdk/commit/b340e96f0221f6c3088fe5daf2b87c56b3bf4010">b340e96f0 fix(chain): prevent integer overflow in `SpkIterator::new_with_range` (Elias Rohrer)

Pull request description:

  ### Description

  The start and end bound calculations used unchecked addition which
  overflows when given `u32::MAX`, causing the iterator to silently produce
  wrong results (e.g., an empty iterator for `0..=u32::MAX` in release
  mode). Use `saturating_add` to handle the boundary correctly.

  ### Checklists

  #### All Submissions:

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

  #### Bugfixes:

  * [ ] This pull request breaks the existing API
  * [x] 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:
  luisschwab:
    ACK b340e96f0221f6c3088fe5daf2b87c56b3bf4010

Tree-SHA512: f28ebcdb835b0c287b5cc4f1c630728d44f

407 of 542 branches covered (75.09%)

Branch coverage included in aggregate %.

2 of 2 new or added lines in 1 file covered. (100.0%)

4413 of 5653 relevant lines covered (78.06%)

3333.88 hits per line

Jobs
ID Job ID Ran Files Coverage
1 24844458508.1 23 Apr 2026 03:45PM UTC 29
77.8
GitHub Action Run
Source Files on build 24844458508
  • Tree
  • List 29
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • 10d9333a on github
  • Prev Build on master (#24763976659)
  • Next Build on master (#24872439673)
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