Page MenuHomePhabricator

Improve testing for the difficulty adjustment algorithm.
ClosedPublic

Authored by deadalnix on Jul 20 2017, 14:42.

Details

Summary

It now tests that we plateau at the minimal pow limit.

Test Plan
make check

Diff Detail

Repository
rABC Bitcoin ABC
Branch
powtest
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 546
Build 546: arc lint + arc unit

Event Timeline

freetrader added a subscriber: freetrader.
freetrader added inline comments.
src/test/pow_tests.cpp
172

typos:

  • below (more than 1 occurrence in this file)
  • minimal
This revision now requires changes to proceed.Jul 20 2017, 17:23

and it should be " adjustment" in the title.

Code changes look ok to me, but still need to test.

deadalnix edited edge metadata.

Fix typos

deadalnix retitled this revision from Improve testing for the difficulty adjustement algorithm. to Improve testing for the difficulty adjustment algorithm..Jul 20 2017, 17:41
This revision is now accepted and ready to land.Jul 20 2017, 17:48
This revision was automatically updated to reflect the committed changes.