Skip to content

Commit 1363b6c

Browse files
committed
[doc / util] Use comments to clarify time unit for int64_t type.
1 parent 47a7a16 commit 1363b6c

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

src/util/time.h

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,12 @@ int64_t GetTimeMicros();
4343
/** Returns the system time (not mockable) */
4444
int64_t GetSystemTimeInSeconds(); // Like GetTime(), but not mockable
4545

46-
/** For testing. Set e.g. with the setmocktime rpc, or -mocktime argument */
46+
/**
47+
* DEPRECATED
48+
* Use SetMockTime with chrono type
49+
*
50+
* @param[in] nMockTimeIn Time in seconds.
51+
*/
4752
void SetMockTime(int64_t nMockTimeIn);
4853

4954
/** For testing. Set e.g. with the setmocktime rpc, or -mocktime argument */

0 commit comments

Comments
 (0)