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

bitcoindevkit / bdk_wallet / 16051833597
85%

Build:
DEFAULT BRANCH: master
Ran 03 Jul 2025 01:33PM UTC
Jobs 1
Files 22
Run time 3min
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

03 Jul 2025 01:31PM UTC coverage: 84.733% (+0.1%) from 84.601%
16051833597

push

github

ValuedMammal
Merge bitcoindevkit/bdk_wallet#258: feat: Add `exclude_unconfirmed` and `exclude_below_confirmations`

<a class=hub.com/bitcoindevkit/bdk_wallet/commit/<a class="double-link" href="https://git"><a class=hub.com/bitcoindevkit/bdk_wallet/commit/<a class="double-link" href="https://git"><a class=hub.com/bitcoindevkit/bdk_wallet/commit/5a6542266c7603b0e7bdf5807e6d5d03c8ce1b15">5a6542266 feat: Add `exclude_unconfirmed` and `exclude_below_confirmations` (志宇)

Pull request description:

  Fixes #143

  ### Description

  These are convenience methods on `TxBuilder` that can be used to filter out outpoints which do not meet a given confirmation threshold.

  Previously, I advocated a feature freeze on `TxBuilder`, but I believe we can make an exception for these helper methods, as they do not broaden the `TxBuilder` interface’s error surface. Going forward, all other development should be directed to the [`bdk-tx`](https://github.com/bitcoindevkit/bdk-tx) repository and crate.

  cc. @tnull

  ### Changelog notice

  ```md
  Added:
  - `TxBuilder::exclude_unconfirmed`
  - `TxBuilder::exclude_below_confirmations`
  ```

  ### 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 +nightly fmt` and `cargo clippy` before committing

  #### New Features:

  * [x] I've added tests for the new feature
  * [x] I've added docs for the new feature

ACKs for top commit:
  ValuedMammal:
    ACK 5a6542266c7603b0e7bdf5807e6d5d03c8ce1b15
  oleonardolima:
    utACK 5a6542266c7603b0e7bdf5807e6d5d03c8ce1b15
  notmandatory:
    ACK 5a6542266c7603b0e7bdf5807e6d5d03c8ce1b15

Tree-SHA512: f458ce62cb9ee8df14391ba3cf9dce7ef67

83 of 86 new or added lines in 1 file covered. (96.51%)

6577 of 7762 relevant lines covered (84.73%)

3411.23 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
3
93.35
0.5% wallet/src/wallet/tx_builder.rs
Jobs
ID Job ID Ran Files Coverage
1 16051833597.1 03 Jul 2025 01:33PM UTC 22
84.73
GitHub Action Run
Source Files on build 16051833597
  • Tree
  • List 22
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 890eb050 on github
  • Prev Build on master (#16007771213)
  • Next Build on master (#16052072493)
  • Delete
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

© 2025 Coveralls, Inc