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

bitcoindevkit / bdk / 5942119415
80%
master: 78%

Build:
Build:
LAST BUILD BRANCH: esplora
DEFAULT BRANCH: master
Ran 22 Aug 2023 05:59PM UTC
Jobs 1
Files 48
Run time 3s
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

22 Aug 2023 05:29PM UTC coverage: 79.758% (+0.007%) from 79.751%
5942119415

push

github

notmandatory
Merge bitcoindevkit/bdk#1090: fix(electrum): Don't ignore multiple coinbase txs

<a class=hub.com/bitcoindevkit/bdk/commit/530ba36b07f2cddad90b844ef1a56cb27ee1cf74">530ba36b0<a href="https://github.com/bitcoindevkit/bdk/commit/e3ca356caec436520e0b433e081f3ff591c1d069"> ci: fix msrv dependency versions for reqest and h2 (Daniela Brozzoni)
<a class="double-link" href="https://github.com/bitcoindevkit/bdk/commit/7a359d5eef66e60e0ab604fb0d043c2db260252d">7a359d5ee</a> fix(electrum): Don't ignore multiple coinbase txs (Daniela Brozzoni)

Pull request description:

  We would previously insert just one coinbase transaction in the database if we caught multiple in the same sync.
  When we sync with electrum, before committing to the database, we remove from the update conflicting transactions, using the `make_txs_consistent` function. This function considers two txs to be conflicting if they spend from the same outpoint - but every coinbase transaction spends from the same outpoint!
  Here we make sure to avoid filtering out coinbase transactions, by adding a check on the txid just before we do the filtering.

  Fixes #1051

  ### Changelog notice

  - Fix a bug when syncing coinbase utxos on electrum

  ### 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
  * [x] I'm linking the issue being fixed by this PR

ACKs for top commit:
  notmandatory:
    tACK 530ba36b07f2cddad90b844ef1a56cb27ee1cf74

Tree-SHA512: ebbc6af86db345cc062ab4ff0d0cbeb72cb

10 of 10 new or added lines in 2 files covered. (100.0%)

14630 of 18343 relevant lines covered (79.76%)

9264.42 hits per line

Jobs
ID Job ID Ran Files Coverage
1 5942119415.1 22 Aug 2023 05:59PM UTC 0
79.76
GitHub Action Run
Source Files on build 5942119415
Detailed source file information is not available for this build.
  • Back to Repo
  • e3ca356c on github
  • Prev Build on release/0.28 (#5883037000)
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