Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
851
static int64_t nTimeOffset = 0;
852
853
int64_t GetTimeOffset() {
854
LOCK(cs_nTimeOffset);
855
return nTimeOffset;
856
}
857
858
int64_t GetAdjustedTime() { return GetTime() + GetTimeOffset(); }
859
Callers
3
getinfo
Function · 0.85
getnetworkinfo
Function · 0.85
GetAdjustedTime
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected