HomePhabricator

Testing infrastructure: mocktime fixes
6a4b97e8633cUnpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

Description

Testing infrastructure: mocktime fixes

New, undocumented-on-purpose -mocktime=timestamp command-line
argument to startup with mocktime set. Needed because
time-related blockchain sanity checks are done on startup, before a
test has a chance to make a setmocktime RPC call.

And changed the setmocktime RPC call so calling it will not result in
currently connected peers being disconnected due to inactivity timeouts.

Details

Provenance
Gavin Andresen <gavinandresen@gmail.com>Authored on Jun 19 2015, 14:42
deadalnixPushed on May 14 2017, 22:04
Parents
rABC91389e51c78a: Merge pull request #6088
Branches
Unknown
Tags
Unknown

Event Timeline

Gavin Andresen <gavinandresen@gmail.com> committed rABC6a4b97e8633c: Testing infrastructure: mocktime fixes (authored by Gavin Andresen <gavinandresen@gmail.com>).Jun 24 2015, 19:18