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

bitcoindevkit / bdk-sp
27%

Build:
DEFAULT BRANCH: master
Repo Added 09 Jul 2025 12:08AM UTC
Files 23
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

LAST BUILD ON BRANCH master
branch: master
CHANGE BRANCH
x
Reset
  • master
  • build/setup-nix-env-for-frigate
  • build/update-bdk-cli-in-nix-env
  • build/use-main-bdk-tx-repository-as-dependency
  • bump_dev_0_1
  • chore/Cargo-file-updates
  • ci/add-mutation-testing-job
  • ci/update-coverage-job
  • docs/add-CONTRIBUTING-file
  • docs/presentation
  • docs/readme-stale-api
  • docs/tabconf7
  • eligible
  • feat/add-fuzz-harness
  • feat/frigate
  • fix-xpriv-sender-taproot-tweak
  • fix/clippy-iter-kv-map
  • fix/clippy-useless-conversion
  • fix/fix-bdk-tx-version
  • fix/mutants-baseline-features
  • fix/regtest-env
  • fix/tsp-network-group-compat
  • fix/update-bdk-tx-hash-in-flake
  • intermediate_sum_vector
  • playbook-update
  • refactor/indexer
  • refactor/optimize-pre-push-tests
  • refactor/psbt-derive-sp
  • refactor/rename-SpInputs-variants
  • refactor/replace-get-smallest-outpoint-by-lexmin
  • refs/tags/v0.1.0
  • release/0.1.0
  • test/add-unit-test-for-create-partial-secret
  • test/add-unit-test-for-create-silentpayment-spks
  • test/add-unit-test-for-extract-pubkey
  • test/add-unit-test-for-get-smallest-outpoint
  • test/add-unit-test-for-tag-txin
  • test/remove-prefix-and-scope-tests
  • try-from

22 Sep 2026 07:52PM UTC coverage: 27.421% (+0.09%) from 27.331%
35776559309

push

github

nymius
Merge bitcoindevkit/bdk-sp#78: fix(send): apply taproot tweak only to P2TR inputs in XprivSilentPaymentSender::send_to

<a class=hub.com/bitcoindevkit/bdk-sp/commit/830af5a4120c3320e32439273f49bec5458b467d">830af5a41 fix(send): apply taproot tweak only to P2TR inputs in XprivSilentPaymentSender (MusabYK)

Pull request description:

  ### Description
  `XprivSilentPaymentSender::send_to` currently applies the BIP-341 Taproot key-path tweak to every input, regardless of the input's script type.

  As a result, using `XprivSilentPaymentSender::send_to` with a non-Taproot input can produce an incorrect Silent Payment partial secret and therefore incorrect output keys. The call does not necessarily fail, the recipient may simply be unable to discover the payment.

  The problem is that create_silentpayment_partial_secret in `silentpayments/src/send/mode.rs` is script-type aware. It only performs the Taproot parity handling for P2TR inputs and uses the supplied private key directly for the other eligible input types.

  This PR branches on `spk`'s actual type before deciding whether to apply the tap tweak, matching what create_silentpayment_partial_secret already expects

  #### All Submissions:

  * [x] I've signed all my commits
  * [x] I followed the [conventional commit guidelines](https://www.conventionalcommits.org/en/v1.0.0/)
  * [x] I ran `just p` (fmt, clippy and test) before committing

  #### Bugfixes:

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

ACKs for top commit:
  nymius:
    ACK 830af5a4120c3320e32439273f49bec5458b467d

Tree-SHA512: 2aeda66634f628ac89ad9ae5ceb1b99d820

77 of 98 branches covered (78.57%)

Branch coverage included in aggregate %.

9 of 10 new or added lines in 1 file covered. (90.0%)

815 of 3155 relevant lines covered (25.83%)

10.17 hits per line

Relevant lines Covered
Build:
Build:
3155 RELEVANT LINES 815 COVERED LINES
10.17 HITS PER LINE
Source Files on master
  • Tree
  • List 23
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
35776559309 master Merge bitcoindevkit/bdk-sp#78: fix(send): apply taproot tweak only to P2TR inputs in XprivSilentPaymentSender::send_to 830af5a41 fix(send): apply taproot tweak only to P2TR inputs in XprivSilentPaymentSender (MusabY... push 22 Sep 2026 07:54PM UTC nymius github
27.42
34081301384 master Merge bitcoindevkit/bdk-sp#77: refactore(test): ignore slow tests locally during pre-push, still run them in CI 6d61ce323 refactore: ignore slow tests locally during pre-push (MusabYK) Pull request description: ... push 07 Sep 2026 03:57AM UTC nymius github
27.33
33917752673 master Merge bitcoindevkit/bdk-sp#76: docs: fix the stale silent payment example in the README 5554f4270 docs: replace the stale README snippet with the example (kkdao) 7d50b1ed2 example: add... push 04 Sep 2026 08:50PM UTC nymius github
27.06
33765353364 master Merge bitcoindevkit/bdk-sp#75: fix(receive): Enforce BIP-352 K_MAX per-group recipient limit in scan_txouts 1598b066c fix: enforce K_max limit during tx scan and unignore test 27 (MusabYK) Pull request description:... push 03 Sep 2026 02:17PM UTC nymius github
27.06
33665478528 master Merge bitcoindevkit/bdk-sp#66: fix: return an error for empty silent payment payloads 582ff4428 fix: return an error for empty silent payment payloads (Matthew) Pull request description: <!-- You can erase any p... push 02 Sep 2026 06:11PM UTC nymius github
26.99
33507320938 master Merge bitcoindevkit/bdk-sp#70: fix: accept tsp recipients on Signet and Testnet4 bca79c5fa fix(cli): accept tsp recipients on Signet and Testnet4 (kkdao) b2dc8346f feat(encoding): add ... push 01 Sep 2026 12:23PM UTC nymius github
26.93
33506098910 master Merge bitcoindevkit/bdk-sp#74: ci(mutants): build the baseline with --all-features 14e6cbe0b ci(mutants): build the baseline with --all-features (kkdao) Pull request description: The `Incremental mutants test` l... push 01 Sep 2026 12:11PM UTC nymius github
26.48
32973864682 master Merge bitcoindevkit/bdk-sp#71: build(silentpayments): raise MSRV to 1.85.0 329849148 build(silentpayments): raise MSRV to 1.85.0 (kkdao) Pull request description: ### Description Fixes #69 `bdk_sp` declare... push 26 Aug 2026 01:25PM UTC nymius github
26.48
26225300708 master Merge bitcoindevkit/bdk-sp#62: test: refresh BIP-352 test vectors to v1.1.1 bcac0396b test: refresh BIP-352 test vectors to v1.1.1 (macgyver13) Pull request description: ### Description Refresh BIP-352 test v... push 21 May 2026 12:18PM UTC nymius github
26.48
26098264887 master Merge bitcoindevkit/bdk-sp#60: fix: scan-rpc ignores wallet birthday d815fe617 fix(cli2): log start point at scan-rpc begin (GuiSchet) 1366db738 fix(cliv2): scan-rpc ignores wallet bir... push 19 May 2026 12:52PM UTC nymius github
26.48
See All Builds (115)
  • Repo on GitHub
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc