Overrides the kernel's notion of the current time, for testing.
Synopsis
Declared in <kernel/bitcoinkernel_wrapper.h>
void
set_mock_time(std::chrono::seconds timestamp);
Parameters
Name |
Description |
timestamp |
The mock time as a duration since the Unix epoch. |
Created with MrDocs