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

shinghim / rust-bitcoin
83%
master: 84%

Build:
Build:
LAST BUILD BRANCH: units-fuzz
DEFAULT BRANCH: master
Repo Added 10 Jul 2024 03:03PM UTC
Token SHadCJrfQZuoRbsPhshvGzyDMB40UD0xi regen
Build 320 Last
Files 132
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 fee-ceil
branch: fee-ceil
CHANGE BRANCH
x
Reset
Sync Branches
  • fee-ceil
  • 2869-displaying-hex
  • 2952-remove-fmt-value-in
  • 2954-amount-doc
  • 2998-version-enum
  • 3039-to
  • 3160-remove-from
  • 3160-remove-from-into
  • 3186-remove-tests
  • 3348-to-hex-bug
  • 3366-refine-arbitrary
  • 3615-block-methods
  • 3652-from-next-work
  • 3654-nodeinfo-ord
  • 3705-arbitrary
  • 3779-remove-panic
  • 3843-remove-infallible
  • 4031-assign-ops
  • 4156-mutants
  • 4172-mul-div-assign
  • 4206-const
  • 4345-as-inner
  • 4362-from-hex
  • 4476-map
  • 4685-arbitrary
  • api-script-bug
  • arbitrary-tx
  • bitcoin-arbitrary
  • bitcoin-fuzz
  • block-arbitrary
  • cleanup
  • derive-arbitrary
  • fix-unused
  • from-second-ceil
  • fuzz-targets
  • ggrep
  • height
  • inventory-encode
  • key-arbitrary
  • kill-mutants
  • master
  • move-arbitrary
  • mutant
  • mutants
  • p2p-fuzz
  • primitive-arbitrary
  • primitives-arbitrary
  • relative-timelock-tests
  • remove-tests-mod
  • rename-key-data
  • sequence_test
  • signature-arbitrary
  • siphash
  • staging
  • typo
  • units-fuzz
  • units-mutants
  • unused-variable
  • update-arbitrary
  • update-key-doc
  • use-arbitrary
  • version-enum
  • version-tests
  • witness-program-test

12 Aug 2025 02:06PM UTC coverage: 83.392% (+0.02%) from 83.373%
16911896879

push

github

shinghim
Fix overflow during *_ceil FeeRate conversions

This fixes an overflow bug which occured when these ceil functions were
called on `FeeRate::MAX`, which is u64::MAX under the hood. This
resulted in the function panicking due to an overflow since part of the
ceil operation involves adding to the FeeRate before dividing by the
appropriate unit. By calling `saturating_add` instead of using `+`, this
prevents the function from panicking while preserving the expected
behavior when converting `FeeRate`s that would have previously
overflowed

7 of 7 new or added lines in 1 file covered. (100.0%)

1 existing line in 1 file now uncovered.

21551 of 25843 relevant lines covered (83.39%)

15106.48 hits per line

Relevant lines Covered
Build:
Build:
25843 RELEVANT LINES 21551 COVERED LINES
15106.48 HITS PER LINE
Source Files on fee-ceil
  • Tree
  • List 132
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
16911896879 fee-ceil Fix overflow during *_ceil FeeRate conversions This fixes an overflow bug which occured when these ceil functions were called on `FeeRate::MAX`, which is u64::MAX under the hood. This resulted in the function panicking due to an overflow since pa... push 12 Aug 2025 02:27PM UTC shinghim github
83.39
16892849606 fee-ceil Fix overflow during *_ceil FeeRate conversions push 11 Aug 2025 09:42PM UTC shinghim github
83.37
16892732448 fee-ceil Fix overflow during *_ceil FeeRate conversions push 11 Aug 2025 09:35PM UTC shinghim github
83.39
16892542919 fee-ceil Fix overflow during *_ceil FeeRate conversions push 11 Aug 2025 09:26PM UTC shinghim github
83.4
16892538795 fee-ceil Fix overflow during *_ceil FeeRate conversions push 11 Aug 2025 09:26PM UTC shinghim github
83.46
See All Builds (320)

Badge your Repo: rust-bitcoin

We detected this repo isn’t badged! Grab the embed code to the right, add it to your repo to show off your code coverage, and when the badge is live hit the refresh button to remove this message.

Could not find badge in README.

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

Refresh
  • Settings
  • Repo on GitHub
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