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

bitcoindevkit / bdk / 24872439673
78%

Build:
DEFAULT BRANCH: master
Ran 24 Apr 2026 04:39AM 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

24 Apr 2026 04:35AM UTC coverage: 77.769% (-0.04%) from 77.805%
24872439673

push

github

evanlinjin
Merge bitcoindevkit/bdk#2188: fix(electrum): verify txid of server-returned transactions

<a class=hub.com/bitcoindevkit/bdk/commit/d101a0973bc19ac1b64809c0d9f0cd3516e263d8">d101a0973 fix(electrum): verify txid of server-returned transactions (Elias Rohrer)

Pull request description:

  ### Description

  An Electrum server could return an arbitrary transaction when `fetch_tx()` requests a specific txid. The returned transaction was cached and used without verifying that its computed txid matches the requested one.

  Add a verification check that `tx.compute_txid() == txid` after fetching from the server, returning an error on mismatch. Include a unit test with a mock Electrum client that exercises both the mismatch rejection and the matching-txid happy path.

ACKs for top commit:
  evanlinjin:
    ACK d101a0973bc19ac1b64809c0d9f0cd3516e263d8

Tree-SHA512: aecb729fd81a5c769af84ca6c694bef6096

408 of 544 branches covered (75.0%)

Branch coverage included in aggregate %.

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

4416 of 5659 relevant lines covered (78.03%)

3199.37 hits per line

Uncovered Changes

Lines Coverage ∆ File
3
74.11
-0.37% crates/electrum/src/bdk_electrum_client.rs
Jobs
ID Job ID Ran Files Coverage
1 24872439673.1 24 Apr 2026 04:39AM UTC 29
77.77
GitHub Action Run
Source Files on build 24872439673
  • 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
  • 8760d872 on github
  • Prev Build on master (#24844458508)
  • Next Build on master (#24875436711)
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