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

rust-bitcoin / rust-bitcoin / 11001636260
83%

Build:
DEFAULT BRANCH: master
Ran 23 Sep 2024 08:11PM UTC
Jobs 1
Files 99
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

23 Sep 2024 08:10PM UTC coverage: 82.702% (+0.02%) from 82.68%
11001636260

push

github

apoelstra
Merge rust-bitcoin/rust-bitcoin#3298: hashes: Rename length field and use u64

<a class=hub.com/rust-bitcoin/rust-bitcoin/commit/cbfddb03942a110ad6f1044f039164a97c36896c">cbfddb039 hashes: Rename length field and use u64 (Tobin C. Harding)

Pull request description:

  The hash engine types have a `length` field that is used to cache the number of bytes hashed so far, as such it is an arbitrary number and could use a `u64` instead of `usize`.

  While we are at it rename `length` to `bytes_hashed` to remove any ambiguity of what this field is. Note this field is private, we already have the public getter `n_bytes_hashes` to get the value.

  Introduce a private function `incomplete_block_size`, the purpose of this function is to put all the casts in one place so they can be well documented and easily understood.

  Fix: #3016

ACKs for top commit:
  apoelstra:
    ACK cbfddb03942a110ad6f1044f039164a97c36896c successfully ran local tests

Tree-SHA512: a9d93293899066270070c2c4978ec8fd934

59 of 70 new or added lines in 12 files covered. (84.29%)

18943 of 22905 relevant lines covered (82.7%)

18261.33 hits per line

Jobs
ID Job ID Ran Files Coverage
1 11001636260.1 23 Sep 2024 08:11PM UTC 0
82.7
GitHub Action Run
Source Files on build 11001636260
Detailed source file information is not available for this build.
  • Back to Repo
  • Github Actions Build #11001636260
  • 76ea4eb4 on github
  • Prev Build on master (#11000277591)
  • Next Build on master (#11004472241)
  • 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