Page MenuHomePhabricator

net: Use mockable time for tx download
ClosedPublic

Authored by Fabien on May 20 2020, 10:04.

Details

Summary
Two commits:

  - First commit changes to mockable time for tx download (refactoring,
should only have an effect on regtest)
  - Second commit adds a test that uses mocktime to test tx download

Backport of core PR16197.

Depends on D6146 and D6152.

Test Plan
ninja all check-all

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.

Event Timeline

Fabien created this revision.May 20 2020, 10:04
Herald added a reviewer: Restricted Project. · View Herald TranscriptMay 20 2020, 10:04
Fabien requested review of this revision.May 20 2020, 10:04
teamcity edited the summary of this revision. (Show Details)May 20 2020, 10:04

[Bot Message]
One or more PR numbers were detected in the summary.
Links to those PRs have been inserted into the summary for reference.

deadalnix accepted this revision.May 20 2020, 11:50
This revision is now accepted and ready to land.May 20 2020, 11:50