aboutsummaryrefslogtreecommitdiff
path: root/src/util/time.h
diff options
context:
space:
mode:
authorAmiti Uttarwar <amiti@uttarwar.org>2021-02-03 18:35:23 -0800
committerAmiti Uttarwar <amiti@uttarwar.org>2021-02-16 12:23:00 -0800
commit1363b6c27dbd2614fd555d148ea624ed8b95f14e (patch)
treebc70bf821e9cf84062670fd547cc55db660e573b /src/util/time.h
parent47a7a1687d276bfa8769dee4bb78e8725f67a50e (diff)
downloadbitcoin-1363b6c27dbd2614fd555d148ea624ed8b95f14e.tar.xz
[doc / util] Use comments to clarify time unit for int64_t type.
Diffstat (limited to 'src/util/time.h')
-rw-r--r--src/util/time.h7
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 */