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

rust-bitcoin / rust-bitcoin / 12298571581
83%

Build:
DEFAULT BRANCH: master
Ran 12 Dec 2024 02:35PM UTC
Jobs 1
Files 114
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

12 Dec 2024 02:34PM UTC coverage: 82.925% (+0.01%) from 82.914%
12298571581

push

github

apoelstra
Merge rust-bitcoin/rust-bitcoin#3719: Change `SignedAmount` `MAX` and `MIN` to equal +/- `MAX_MONEY`

<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/4b926e1908f72af98d24cc64d7e1eef44d624e4e">4b926e190 Change`MAX and `MIN` to equal `MAX_MONEY` (Jamil Lambert, PhD)

Pull request description:

  To prevent rounding errors converting to and from f64 change `SignedAmount` `MAX` and `MIN` to +/- `MAX_MONEY` which are within the limit in f64 that has issues.

  Add checks to `from_str_in`, `checked_add`,  `checked_sub` and `checked_mul` that the result is within MIN and MAX.

  Modify tests to work with new `MIN` and `MAX`.

  Discussed in #3688 and #3691

ACKs for top commit:
  tcharding:
    ACK 4b926e1908f72af98d24cc64d7e1eef44d624e4e
  apoelstra:
    ACK 4b926e1908f72af98d24cc64d7e1eef44d624e4e; successfully ran local tests

Tree-SHA512: 9053e761b2ac8ed897ea733ea008cba6069

18 of 18 new or added lines in 2 files covered. (100.0%)

1 existing line in 1 file now uncovered.

20295 of 24474 relevant lines covered (82.92%)

17809.64 hits per line

Jobs
ID Job ID Ran Files Coverage
1 12298571581.1 12 Dec 2024 02:35PM UTC 0
82.92
GitHub Action Run
Source Files on build 12298571581
Detailed source file information is not available for this build.
  • Back to Repo
  • Github Actions Build #12298571581
  • 157d5bfc on github
  • Prev Build on master (#12289669771)
  • Next Build on master (#12300001636)
  • 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