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

rust-bitcoin / rust-bitcoin / 12970403617 / 1
83%
master: 83%

Build:
DEFAULT BRANCH: master
Ran 26 Jan 2025 01:59AM UTC
Files 117
Run time 2s
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

26 Jan 2025 01:57AM UTC coverage: 83.19% (-0.02%) from 83.205%
12970403617.1

push

github

apoelstra
Merge rust-bitcoin/rust-bitcoin#3953: Refactor amounts

<a class=hub.com/rust-bitcoin/rust-bitcoin/commit/13a3f490b80e4c8f8e1753111a914315eefd73e6">13a3f490b<a href="https://github.com/rust-bitcoin/rust-bitcoin/commit/72e2b00721dc1e23c4e96cfbbbe3614f52c7984c"> Use Self instead of amount type (Tobin C. Harding)
<a class="double-link" href="https://github.com/rust-bitcoin/rust-bitcoin/commit/34e3049ae0ebe15f24be771f0ece3c72ee46ce5c">34e3049ae</a><a href="https://github.com/rust-bitcoin/rust-bitcoin/commit/72e2b00721dc1e23c4e96cfbbbe3614f52c7984c"> Use sats instead of satoshi (Tobin C. Harding)
</a><a class="double-link" href="https://github.com/rust-bitcoin/rust-bitcoin/commit/00b71a670fcedeca255e69fe5e3d08e5a9d1b72e">00b71a670</a><a href="https://github.com/rust-bitcoin/rust-bitcoin/commit/72e2b00721dc1e23c4e96cfbbbe3614f52c7984c"> Use from_sat_unchecked for hardcoded ints (Tobin C. Harding)
</a><a class="double-link" href="https://github.com/rust-bitcoin/rust-bitcoin/commit/8fdec67f7dbf0d6a1766247168db8b53b8fb672c">8fdec67f7</a><a href="https://github.com/rust-bitcoin/rust-bitcoin/commit/72e2b00721dc1e23c4e96cfbbbe3614f52c7984c"> Change local var ua to sat (Tobin C. Harding)
</a><a class="double-link" href="https://github.com/rust-bitcoin/rust-bitcoin/commit/c6f056672b20aa8970a544e5e7750d8e1c3a0fef">c6f056672</a><a href="https://github.com/rust-bitcoin/rust-bitcoin/commit/72e2b00721dc1e23c4e96cfbbbe3614f52c7984c"> Change local var sa to ssat (Tobin C. Harding)
</a><a class="double-link" href="https://github.com/rust-bitcoin/rust-bitcoin/commit/f3e853e07a207bef1e63e4a5752c4af1bfc722b6">f3e853e07 units: Do trivial refactor of amount::tests (Tobin C. Harding)
dbec9807f Shorten identifiers by removing _in_sats (Tobin C. Harding)
154a4420f Stop using FQP on Amount type (Tobin C. Harding)
8e16a4825 Run the formatter (Tobin C. Harding)

Pull request description:

  Do a bunch of refactorings to tease out changes from #3794.

  The first 8 are uncontroversial. The 9th one is subjective. The last one is unusual but IMO worth doing because of the relationship between the two amount modules.

  Do note that this PR is 100% internal changes - please please don't bike shed this to death.

ACKs for top commit:
  apoelstra:
    ACK 13a3f490b80e4c8f8e1753111a914315eefd73e6; successfully ran local tests; lgtm

Tree-SHA512: e2ef0e7fb9398013cdb5f7523944de05b91

20958 of 25193 relevant lines covered (83.19%)

17347.58 hits per line

Source Files on job 12970403617.1
  • Tree
  • List 117
  • Changed 20
  • Source Changed 8
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 12970403617
  • 72e2b007 on github
  • Prev Job for on master (#12943400380.1)
  • Next Job for on master (#12975735999.1)
  • 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