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

bitcoindevkit / bdk / 12194739236
79%

Build:
DEFAULT BRANCH: master
Ran 06 Dec 2024 07:28AM UTC
Jobs 1
Files 50
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

06 Dec 2024 07:25AM UTC coverage: 83.481% (+0.06%) from 83.425%
12194739236

push

github

evanlinjin
Merge bitcoindevkit/bdk#1756: fix(electrum): prevent `fetch_prev_txout` from querying coinbase transactions

<a class=hub.com/bitcoindevkit/bdk/commit/d4ef26611b83baefac65fffc0758c6ac55ade9cb">d4ef26611<a href="https://github.com/bitcoindevkit/bdk/commit/bcff89d51d0e1d91058e4430eda8cc57fb7f0f08"> test(electrum): `fetch_prev_txout` does not process coinbase transactions (Wei Chen)
<a class="double-link" href="https://github.com/bitcoindevkit/bdk/commit/0944b352156fcd797a5c199a462ccaed3761db0a">0944b3521</a> fix(electrum): prevent `fetch_prev_txout` from querying coinbase transactions (Wei Chen)

Pull request description:

  Fixes #1698.

  ### Description

  `fetch_prev_txout` should not try to query the prevouts of coinbase transactions, as it may result in the Electrum server returning an error which would cause the overall `sync`/`full_scan` to fail. Without this critical bug fix,  `bdk_electrum` will crash when someone tracks an address being mined to.

  ### Notes to the reviewers

  ### Changelog notice

  * `fetch_prev_txout` no longer queries coinbase transactions.

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

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

ACKs for top commit:
  evanlinjin:
    ACK d4ef26611b83baefac65fffc0758c6ac55ade9cb

Tree-SHA512: 6423f9486efa43a0595ab070ed8f9f2d982

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

11699 of 14014 relevant lines covered (83.48%)

19049.72 hits per line

Jobs
ID Job ID Ran Files Coverage
1 12194739236.1 06 Dec 2024 07:28AM UTC 0
83.48
GitHub Action Run
Source Files on build 12194739236
Detailed source file information is not available for this build.
  • Back to Repo
  • bcff89d5 on github
  • Prev Build on master (#12192788860)
  • Next Build on master (#12227704147)
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