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

rust-bitcoin / rust-bitcoin / 12061874126
83%

Build:
DEFAULT BRANCH: master
Ran 28 Nov 2024 03:18AM 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

28 Nov 2024 03:17AM UTC coverage: 82.655% (+0.007%) from 82.648%
12061874126

push

github

apoelstra
Merge rust-bitcoin/rust-bitcoin#3660: Update `from_next_work_required` to take an i64 for timespan

<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/4d0d78a3af2ca300c6b40348724e806bd51ef27a">4d0d78a3a<a href="https://github.com/rust-bitcoin/rust-bitcoin/commit/f95d877d564ad13165c31b6d4a95d91ea23a812d"> Fix typo in from_next_work_required documentation (Shing Him Ng)
<a class="double-link" href="https://github.com/rust-bitcoin/rust-bitcoin/commit/5e47c4123d5cdd768d7f8523ce81e1b2069edaae">5e47c4123</a><a href="https://github.com/rust-bitcoin/rust-bitcoin/commit/f95d877d564ad13165c31b6d4a95d91ea23a812d"> Update CompactTarget::from_next_work_required to take timespan as i64 (Shing Him Ng)

Pull request description:

  [In Core](https://github.com/bitcoin/bitcoin/blob/</a><a class="double-link" href="https://github.com/rust-bitcoin/rust-bitcoin/commit/f7144b24be09e7db2173a0b15d73f99a08b98118">f7144b24b</a>/src/pow.cpp#L56), the timespan is defined as a signed int64. This PR will update `from_next_work_required` to take in an `i64` instead of a `u64`

  Fixes #3652

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

Tree-SHA512: eea33ec188de3a3fc8fce628f1543aa2901

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

20095 of 24312 relevant lines covered (82.65%)

17966.62 hits per line

Jobs
ID Job ID Ran Files Coverage
1 12061874126.1 28 Nov 2024 03:18AM UTC 0
82.65
GitHub Action Run
Source Files on build 12061874126
Detailed source file information is not available for this build.
  • Back to Repo
  • Github Actions Build #12061874126
  • f95d877d on github
  • Prev Build on master (#12060745627)
  • Next Build on master (#12069274951)
  • 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