Page MenuHomePhabricator

[qa] cause test_framework to mine the initial chain *now*
ClosedPublic

Authored by schancel on May 17 2018, 02:46.

Details

Summary

Currently, the test mines blocks back in Jan 1 2014 to
generate an initial blockchain. Then tests zip into the future
to mine blocks in the current time. This change fixes it, so that
the initial blockchain is generated recently, but allows it to be
overriden for specific tests.

Test Plan
./test/functional/test_runner.py

Diff Detail

Repository
rABC Bitcoin ABC
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.