aboutsummaryrefslogtreecommitdiff
path: root/src/util/time.h
diff options
context:
space:
mode:
authorfanquake <fanquake@gmail.com>2021-03-30 15:19:01 +0800
committerfanquake <fanquake@gmail.com>2021-05-31 15:11:18 +0800
commitfeb72e5432e7a44b7f48cdab8da2c95edcec11c2 (patch)
tree37a755536ac1746246ca991aec5c06dfd7fbefab /src/util/time.h
parentd7a6bba94935a26e303e1c99eb2d4cb5f8f97f5b (diff)
downloadbitcoin-feb72e5432e7a44b7f48cdab8da2c95edcec11c2.tar.xz
scripted-diff: rename GetSystemTimeInSeconds to GetTimeSeconds
-BEGIN VERIFY SCRIPT- sed -i -e 's/GetSystemTimeInSeconds/GetTimeSeconds/g' $(git grep -l GetSystemTimeInSeconds src) -END VERIFY SCRIPT-
Diffstat (limited to 'src/util/time.h')
-rw-r--r--src/util/time.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/util/time.h b/src/util/time.h
index 7ebcaaa339..4aee01967d 100644
--- a/src/util/time.h
+++ b/src/util/time.h
@@ -39,7 +39,7 @@ inline double CountSecondsDouble(SecondsDouble t) { return t.count(); }
/**
* DEPRECATED
- * Use either GetSystemTimeInSeconds (not mockable) or GetTime<T> (mockable)
+ * Use either GetTimeSeconds (not mockable) or GetTime<T> (mockable)
*/
int64_t GetTime();
@@ -48,7 +48,7 @@ int64_t GetTimeMillis();
/** Returns the system time (not mockable) */
int64_t GetTimeMicros();
/** Returns the system time (not mockable) */
-int64_t GetSystemTimeInSeconds(); // Like GetTime(), but not mockable
+int64_t GetTimeSeconds(); // Like GetTime(), but not mockable
/**
* DEPRECATED