[#btck-set_mock_time] = xref:btck.adoc[btck]::set_mock_time :relfileprefix: ../ :mrdocs: Overrides the kernel's notion of the current time, for testing. == Synopsis Declared in `<kernel/bitcoinkernel_wrapper.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- void set_mock_time(std::chrono::seconds timestamp); ---- == Parameters [cols="1,4"] |=== | Name| Description | *timestamp* | The mock time as a duration since the Unix epoch. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#