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

dfinity / rust-dogecoin / 15609985984
84%

Build:
DEFAULT BRANCH: doge-master
Ran 12 Jun 2025 12:05PM UTC
Jobs 1
Files 0
Run time –
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

pending completion
15609985984

push

github

web-flow
feat(dogecoin): add difficulty adjustment algorithm for blocks 0-5,000 (#8)

This PR adds methods required for implementing Dogecoin's difficulty
adjustment algorithm (DAA). In particular it adds the method
`from_next_work_required_dogecoin()` which computes the target value for
the next difficulty adjustment period, based on the `timespan` between
start and end of period and the `last` target value.

Note: this PR only adds the required logic to compute targets in block
period 0-5,000 (see
https://github.com/dogecoin/dogecoin/blob/51cbc1fd5/src/dogecoin.cpp#L41
for complete algorithm). A following PR will add the logic for further
periods and in particular for the Digishield algorithm used in later
periods.
Jobs
ID Job ID Ran Files Coverage
1 15609985984.1 12 Jun 2025 12:05PM UTC 0
GitHub Action Run
Source Files on build 15609985984
Detailed source file information is not available for this build.
  • Back to Repo
  • Github Actions Build #15609985984
  • c4afb3ec on github
  • Prev Build on doge-master (#15581093749)
  • Next Build on doge-master (#15614869552)
  • 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

© 2025 Coveralls, Inc