mirror of
https://github.com/Retropex/bitcoin.git
synced 2025-06-02 23:42:33 +02:00
[doc / util] Use comments to clarify time unit for int64_t type.
This commit is contained in:
parent
47a7a1687d
commit
1363b6c27d
@ -43,7 +43,12 @@ int64_t GetTimeMicros();
|
|||||||
/** Returns the system time (not mockable) */
|
/** Returns the system time (not mockable) */
|
||||||
int64_t GetSystemTimeInSeconds(); // Like GetTime(), but 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);
|
void SetMockTime(int64_t nMockTimeIn);
|
||||||
|
|
||||||
/** For testing. Set e.g. with the setmocktime rpc, or -mocktime argument */
|
/** For testing. Set e.g. with the setmocktime rpc, or -mocktime argument */
|
||||||
|
Loading…
Reference in New Issue
Block a user