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

rust-bitcoin / rust-bitcoin / 7820462893
83%

Build:
DEFAULT BRANCH: master
Ran 07 Feb 2024 08:05PM UTC
Jobs 1
Files 87
Run time 7s
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

07 Feb 2024 08:01PM UTC coverage: 84.028% (-0.1%) from 84.155%
7820462893

push

github

apoelstra
Merge rust-bitcoin/rust-bitcoin#2335: Improve error handling in errors emmited by `keys`

<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/d3d5ee1047dd6f75560aedf0d971669a05137be3">d3d5ee104 Improve error handling in errors emmited by `keys` (harshit933)

Pull request description:

  For now I have tried to group those functions which can produce more than one error and changed the functions which were  generating single error from `Key::Error` to the respective error. Let me know if this needs to be changed.

  Also in `psbt/error.rs` I have changed the `InvalidPublicKey(crate::crypto::key::Error)` to `InvalidPublicKey(crate::crypto::key::FromSliceError)`. What should be done here?

  Changes -
  - in `from_slice` changed the `error` to `FromSliceError`.
  - in `verify` changed to `secp256k1::Error` as it can return only one error.
  - in `from_str` changed to `FromSliceError`.
  - in `CompressedPublicKey` changed `verify` from `Error` to `secp236k1::Error` as it only returns one error.
  - introduces CompressedPublicKeyError
  - Removes impl from `bip32.rs`

  Potential fix #2291

ACKs for top commit:
  Kixunil:
    ACK d3d5ee1047dd6f75560aedf0d971669a05137be3
  tcharding:
    ACK d3d5ee1047dd6f75560aedf0d971669a05137be3

Tree-SHA512: 21681bbf83207a0c924382e852a0b2523c2

19350 of 23028 relevant lines covered (84.03%)

16815.22 hits per line

Jobs
ID Job ID Ran Files Coverage
1 7820462893.1 07 Feb 2024 08:05PM UTC 0
84.03
GitHub Action Run
Source Files on build 7820462893
Detailed source file information is not available for this build.
  • Back to Repo
  • Github Actions Build #7820462893
  • 241e7893 on github
  • Prev Build on master (#7820379288)
  • Next Build on master (#7820546569)
  • 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