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

rust-bitcoin / rust-bitcoin / 15948098312
83%

Build:
DEFAULT BRANCH: master
Ran 28 Jun 2025 08:56PM UTC
Jobs 1
Files 130
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

28 Jun 2025 08:55PM UTC coverage: 83.539% (+0.01%) from 83.525%
15948098312

push

github

apoelstra
Merge rust-bitcoin/rust-bitcoin#4626: Saturate iwp constructors to u32 max

<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/3355400d6706ce8fee3daa258e9dbbd648a87dca">3355400d6<a href="https://github.com/rust-bitcoin/rust-bitcoin/commit/ad40e69a8553732dec102e93eb5003ef3f43c1ef"> docs: document IWP function return limit and panic case (yancy)
<a class="double-link" href="https://github.com/rust-bitcoin/rust-bitcoin/commit/8559a49e03be2b8b3ea4215227ae003e822a663c">8559a49e0</a><a href="https://github.com/rust-bitcoin/rust-bitcoin/commit/ad40e69a8553732dec102e93eb5003ef3f43c1ef"> Do not bound Arbitrary parameters passed to InputWeightPrediction (yancy)
</a><a class="double-link" href="https://github.com/rust-bitcoin/rust-bitcoin/commit/e4c3d1e7a62a446d930e2a73dc98415999aefdcb">e4c3d1e7a</a><a href="https://github.com/rust-bitcoin/rust-bitcoin/commit/ad40e69a8553732dec102e93eb5003ef3f43c1ef"> Use saturating add in IWP constructors (yancy)
</a><a class="double-link" href="https://github.com/rust-bitcoin/rust-bitcoin/commit/8552534b612dc7d059368e6c630c16640379b949">8552534b6</a> Use u32 for struct and member variables in IWP, saturating to u32::MAX (yancy)

Pull request description:

  Use u32 for struct and member variables in InputWeightPrediction (saturating to u32::MAX).  To avoid panics during construction and while using auxiliary methods such as `total_size()`, support saturating operations.
  
  closes: https://github.com/rust-bitcoin/rust-bitcoin/issues/4547


ACKs for top commit:
  apoelstra:
    ACK 3355400d6706ce8fee3daa258e9dbbd648a87dca; successfully ran local tests; looks great!
  tcharding:
    ACK 3355400d6706ce8fee3daa258e9dbbd648a87dca


Tree-SHA512: 8e4af86916ba7b35a031c7e24f019059f63

22 of 32 new or added lines in 1 file covered. (68.75%)

1 existing line in 1 file now uncovered.

21279 of 25472 relevant lines covered (83.54%)

15246.44 hits per line

Uncovered Changes

Lines Coverage ∆ File
10
93.28
0.16% bitcoin/src/blockdata/transaction.rs

Coverage Regressions

Lines Coverage ∆ File
1
93.28
0.16% bitcoin/src/blockdata/transaction.rs
Jobs
ID Job ID Ran Files Coverage
1 15948098312.1 28 Jun 2025 08:56PM UTC 130
83.54
GitHub Action Run
Source Files on build 15948098312
  • Tree
  • List 130
  • Changed 2
  • Source Changed 1
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #15948098312
  • ad40e69a on github
  • Prev Build on master (#15947408054)
  • Next Build on master (#16027839178)
  • Delete
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