diff options
author | fanquake <fanquake@gmail.com> | 2021-03-30 15:19:01 +0800 |
---|---|---|
committer | fanquake <fanquake@gmail.com> | 2021-05-31 15:11:18 +0800 |
commit | feb72e5432e7a44b7f48cdab8da2c95edcec11c2 (patch) | |
tree | 37a755536ac1746246ca991aec5c06dfd7fbefab /src/util/time.h | |
parent | d7a6bba94935a26e303e1c99eb2d4cb5f8f97f5b (diff) | |
download | bitcoin-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.h | 4 |
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 |