diff options
author | Amiti Uttarwar <amiti@uttarwar.org> | 2021-02-03 18:35:23 -0800 |
---|---|---|
committer | Amiti Uttarwar <amiti@uttarwar.org> | 2021-02-16 12:23:00 -0800 |
commit | 1363b6c27dbd2614fd555d148ea624ed8b95f14e (patch) | |
tree | bc70bf821e9cf84062670fd547cc55db660e573b | |
parent | 47a7a1687d276bfa8769dee4bb78e8725f67a50e (diff) |
[doc / util] Use comments to clarify time unit for int64_t type.
-rw-r--r-- | src/util/time.h | 7 |
1 files changed, 6 insertions, 1 deletions
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 */ |