From 1363b6c27dbd2614fd555d148ea624ed8b95f14e Mon Sep 17 00:00:00 2001 From: Amiti Uttarwar Date: Wed, 3 Feb 2021 18:35:23 -0800 Subject: [doc / util] Use comments to clarify time unit for int64_t type. --- src/util/time.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/util/time.h b/src/util/time.h index 52679a2647..c4f930781a 100644 --- a/src/util/time.h +++ b/src/util/time.h @@ -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 */ -- cgit v1.2.3