MCPcopy Create free account
hub / github.com/WaykiChain/WaykiChain / GetTimeOffset

Function GetTimeOffset

src/commons/util/util.cpp:853–856  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

851static int64_t nTimeOffset = 0;
852
853int64_t GetTimeOffset() {
854 LOCK(cs_nTimeOffset);
855 return nTimeOffset;
856}
857
858int64_t GetAdjustedTime() { return GetTime() + GetTimeOffset(); }
859

Callers 3

getinfoFunction · 0.85
getnetworkinfoFunction · 0.85
GetAdjustedTimeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected