HomePhabricator

net: Use mockable time for tx download

Authored by MarcoFalke <falke.marco@gmail.com> on Jun 12 2019, 19:19.

Description

net: Use mockable time for tx download

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

Reviewers: #bitcoin_abc, deadalnix

Reviewed By: #bitcoin_abc, deadalnix

Differential Revision: https://reviews.bitcoinabc.org/D6154

Details

Committed
FabienMay 20 2020, 12:24
Pushed
FabienMay 20 2020, 12:24
Reviewer
Restricted Project
Differential Revision
D6154: net: Use mockable time for tx download
Parents
rABC670e5e820e82: scripted-diff: use self.sync_* methods
Branches
Unknown
Tags
Unknown

Event Timeline