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

bitcoindevkit / bdk / 8124101667
79%

Build:
DEFAULT BRANCH: master
Ran 02 Mar 2024 04:46PM UTC
Jobs 1
Files 39
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 Mar 2024 04:43PM UTC coverage: 81.419% (+0.06%) from 81.361%
8124101667

push

github

notmandatory
Merge bitcoindevkit/bdk#1349: Fix `KeychainTxOutIndex::lookahead_to_target`

<a class=hub.com/bitcoindevkit/bdk/commit/b290b2950221578d73c3194a1accfd080f83631a">b290b2950<a href="https://github.com/bitcoindevkit/bdk/commit/c3544c9b8c9453faf8c062cbe3a13ed7f9514024"> test(chain): change test case comments to docstring (志宇)
<a class="double-link" href="https://github.com/bitcoindevkit/bdk/commit/c151d8fd230fb87f27aadb965157f94f01f021a2">c151d8fd2</a> fix(chain): `KeychainTxOutIndex::lookahead_to_target` (志宇)

Pull request description:

  ### Description

  This method was not used (so it was untested) and it was not working. This fixes it.

  The old implementation used `.next_store_index` which returned the keychain's last index stored in `.inner` (which include lookahead spks). This is WRONG because `.replenish_lookahead` needs the difference from last revealed.

  ### Changelog notice

  Fix `KeychainTxOutIndex::lookahead_to_target`

  ### 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

  #### Bugfixes:

  * [x] I've added tests to reproduce the issue which are now passing

ACKs for top commit:
  notmandatory:
    ACK b290b2950221578d73c3194a1accfd080f83631a

Tree-SHA512: af50c6af191d791e85c1c79591437182539

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

9351 of 11485 relevant lines covered (81.42%)

5648.02 hits per line

Jobs
ID Job ID Ran Files Coverage
1 8124101667.1 02 Mar 2024 04:46PM UTC 0
81.42
GitHub Action Run
Source Files on build 8124101667
Detailed source file information is not available for this build.
  • Back to Repo
  • c3544c9b on github
  • Prev Build on master (#8006997848)
  • Next Build on master (#8150733419)
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