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

rust-bitcoin / rust-bitcoin / 12698357743
83%

Build:
DEFAULT BRANCH: master
Ran 09 Jan 2025 08:59PM UTC
Jobs 1
Files 117
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

09 Jan 2025 08:58PM UTC coverage: 83.001% (+0.001%) from 83.0%
12698357743

push

github

apoelstra
Merge rust-bitcoin/rust-bitcoin#3813: Refactor fee calculation code

<a class=hub.com/rust-bitcoin/rust-bitcoin/commit/9d1cba4994e9ec94850a0e0e49f85fd0c595541e">9d1cba499<a href="https://github.com/rust-bitcoin/rust-bitcoin/commit/52f05869d907c0d927911429eb050a55e9e76485"> units: Introduce fee module (Tobin C. Harding)
<a class="double-link" href="https://github.com/rust-bitcoin/rust-bitcoin/commit/cd908fec51b171635c4d5dc5494717ff1d796eeb">cd908fec5</a> Use explicit calc getters and setters (Tobin C. Harding)

Pull request description:

  We have a bunch of functions and impl blocks scattered around the place for calculating fee from fee rate and weight.

  In an effort to make the code easier to read/understand and also easier to audit introduce a private `fee` module and move all the code that is related to this calculation into it.

  This is in internal change only.

ACKs for top commit:
  apoelstra:
    ACK 9d1cba4994e9ec94850a0e0e49f85fd0c595541e; successfully ran local tests

Tree-SHA512: a33c1ce4a18f1c4201d4f3f34fcdf9eaeda

79 of 84 new or added lines in 1 file covered. (94.05%)

1 existing line in 1 file now uncovered.

20752 of 25002 relevant lines covered (83.0%)

17435.71 hits per line

Jobs
ID Job ID Ran Files Coverage
1 12698357743.1 09 Jan 2025 08:59PM UTC 0
83.0
GitHub Action Run
Source Files on build 12698357743
Detailed source file information is not available for this build.
  • Back to Repo
  • Github Actions Build #12698357743
  • 52f05869 on github
  • Prev Build on master (#12696532953)
  • Next Build on master (#12699629771)
  • 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