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

rust-bitcoin / rust-bitcoin / 13687342856
83%

Build:
DEFAULT BRANCH: master
Ran 05 Mar 2025 11:08PM UTC
Jobs 1
Files 124
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

05 Mar 2025 11:07PM UTC coverage: 83.018% (+0.02%) from 83.0%
13687342856

push

github

apoelstra
Merge rust-bitcoin/rust-bitcoin#4189: Private key from slice fix

<a class=hub.com/rust-bitcoin/rust-bitcoin/commit/<a class="double-link" href="https://git"><a class=hub.com/rust-bitcoin/rust-bitcoin/commit/ecc5791930b88581fcbc8f2417b0221486bd1031">ecc579193<a href="https://github.com/rust-bitcoin/rust-bitcoin/commit/5ea4eac44211d6e23964123ef5140cd192f7486d"> Add test checking `XOnlyPublicKey::deserialize` (Martin Habovstiak)
<a class="double-link" href="https://github.com/rust-bitcoin/rust-bitcoin/commit/bbe87eccf2b9f01295e3c94a06130c6e7ac9bfa4">bbe87eccf</a><a href="https://github.com/rust-bitcoin/rust-bitcoin/commit/5ea4eac44211d6e23964123ef5140cd192f7486d"> Fix bug in PSBT `Deserialize` for `XOnlyPublicKey` (Martin Habovstiak)
</a><a class="double-link" href="https://github.com/rust-bitcoin/rust-bitcoin/commit/8efacd4dda359bffae2120dfd58942637f32a52c">8efacd4dd</a><a href="https://github.com/rust-bitcoin/rust-bitcoin/commit/5ea4eac44211d6e23964123ef5140cd192f7486d"> Deprecate `PrivateKey::from_slice` method (Martin Habovstiak)
</a><a class="double-link" href="https://github.com/rust-bitcoin/rust-bitcoin/commit/0d5cd7af435f420e76d2e69f0e76be30d230238e">0d5cd7af4</a><a href="https://github.com/rust-bitcoin/rust-bitcoin/commit/5ea4eac44211d6e23964123ef5140cd192f7486d"> Add `from_byte_array` to `PrivateKey`. (Martin Habovstiak)
1778fea66 Add a test checking `PrivateKey::from_slice` (Martin Habovstiak)
b87ddc004 Don't panic in `PrivateKey::from_slice` (Martin Habovstiak)

Pull request description:

  This fixes the bug introduced in #4154 and deprecates `from_slice` method in favor of `from_byte_array` (see commits).

  Closes #4191

ACKs for top commit:
  jamillambert:
    ACK ecc5791930b88581fcbc8f2417b0221486bd1031
  apoelstra:
    ACK ecc5791930b88581fcbc8f2417b0221486bd1031; successfully ran local tests

Tree-SHA512: 05117c68daef1fff015e5e800bb7e935c22

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

21554 of 25963 relevant lines covered (83.02%)

16776.88 hits per line

Uncovered Changes

Lines Coverage ∆ File
7
66.23
0.7% bitcoin/src/crypto/key.rs
Jobs
ID Job ID Ran Files Coverage
1 13687342856.1 05 Mar 2025 11:08PM UTC 124
83.02
GitHub Action Run
Source Files on build 13687342856
  • Tree
  • List 124
  • Changed 2
  • Source Changed 2
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #13687342856
  • 5ea4eac4 on github
  • Prev Build on master (#13679646605)
  • Next Build on master (#13702852280)
  • 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

© 2026 Coveralls, Inc