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

bitcoindevkit / bdk-sp / 33917752673
27%

Build:
DEFAULT BRANCH: master
Ran 04 Sep 2026 08:50PM UTC
Jobs 1
Files 23
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

04 Sep 2026 08:44PM UTC coverage: 27.064%. Remained the same
33917752673

push

github

nymius
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 a full send and scan flow (kkdao)

Pull request description:

  ### Description

  Every API reference in the README example is out of date, and nothing compiles it, so nothing caught the drift:

  - `receive::Scanner` and `send::XprivSilentPaymentSender` are not re-exported. They live at `receive::scan::Scanner` and `send::bip32::XprivSilentPaymentSender`.
  - The `SilentPaymentCode` struct literal cannot be written outside the crate because `version` is private, so it needs `new_v0`.
  - `label_to_tweak` was never declared mutable, and was a `HashMap` where `Scanner::new` takes a `BTreeMap`.
  - `SilentPaymentCode` has no `as_str`.
  - `send_to` takes inputs carrying a script pubkey alongside the derivation path, and returns the derived x-only keys grouped by recipient, not a flat list of script pubkeys.
  - `TxOut::value` is an `Amount`.

  The second commit adds `silentpayments/tests/integration_tests/readme.rs`, which runs the same flow end to end: derive a labelled code, hand it to the sender, derive the output, scan the resulting transaction, and confirm the payment is found, attributed to the label, and spendable.

  ### Notes to the reviewers

  The example stays an outline rather than becoming a compiling program. Spelling out the wallet's keys, transaction and inputs would bury the part worth reading, so it says so and links the test that does compile and run the same flow.

  Fixed by using the existing nested paths rather than adding re-exports, so the shorter paths do not become public API by accident.

  The new test is deterministic and needs no node. The scanner reads an input's public key from the prevout script pubkey rather than the witness, so a placeholder witness is enough for the inpu... (continued)

76 of 96 branches covered (79.17%)

Branch coverage included in aggregate %.

845 of 3307 relevant lines covered (25.55%)

6988.85 hits per line

Jobs
ID Job ID Ran Files Coverage
1 33917752673.1 04 Sep 2026 08:50PM UTC 23
27.06
GitHub Action Run
Source Files on build 33917752673
  • Tree
  • List 23
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • 8f88bd84 on github
  • Prev Build on master (#33765353364)
  • Next Build on master (#34081301384)
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