SetMockTime

For testing. Set the mock time from a NodeClock time point.

Synopsis

Declared in <util/time.h>

void
SetMockTime(std::chrono::time_point<NodeClock, std::chrono::seconds> mock);

Parameters

NameDescription
mockMock time point on the NodeClock in seconds.