[doc / util] Use comments to clarify time unit for int64_t type.

This commit is contained in:
Amiti Uttarwar 2021-02-03 18:35:23 -08:00
parent 47a7a1687d
commit 1363b6c27d

View File

@ -43,7 +43,12 @@ int64_t GetTimeMicros();
/** Returns the system time (not mockable) */
int64_t GetSystemTimeInSeconds(); // Like GetTime(), but not mockable
/** For testing. Set e.g. with the setmocktime rpc, or -mocktime argument */
/**
* DEPRECATED
* Use SetMockTime with chrono type
*
* @param[in] nMockTimeIn Time in seconds.
*/
void SetMockTime(int64_t nMockTimeIn);
/** For testing. Set e.g. with the setmocktime rpc, or -mocktime argument */