HomePhabricator

[util] Introduce a SetMockTime that takes chrono time

Description

[util] Introduce a SetMockTime that takes chrono time

Summary:
This is a backport of core#21121 [4/4]
https://github.com/bitcoin/bitcoin/pull/21121/commits/47a7a1687d276bfa8769dee4bb78e8725f67a50e
https://github.com/bitcoin/bitcoin/pull/21121/commits/1363b6c27dbd2614fd555d148ea624ed8b95f14e

Test Plan: ninja check

Reviewers: #bitcoin_abc, Fabien

Reviewed By: #bitcoin_abc, Fabien

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

Details

Provenance
Amiti Uttarwar <amiti@uttarwar.org>Authored on Feb 12 2021, 18:23
PiRKCommitted on Oct 4 2022, 14:18
PiRKPushed on Oct 4 2022, 14:19
Reviewer
Restricted Project
Differential Revision
D12109: [util] Introduce a SetMockTime that takes chrono time
Parents
rABC4be82bc08553: [util] Change GetMockTime to return chrono type instead of int
Branches
Unknown
Tags
Unknown