MCPcopy Create free account
hub / github.com/ElementsProject/elements / GetAdjustedTime

Function GetAdjustedTime

src/timedata.cpp:35–38  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

33}
34
35int64_t GetAdjustedTime()
36{
37 return GetTime() + GetTimeOffset();
38}
39
40#define BITCOIN_TIMEDATA_MAX_SAMPLES 200
41

Callers 15

AddrInfoClass · 0.85
CanDirectFetchMethod · 0.85
ProcessMessageMethod · 0.85
SendMessagesMethod · 0.85
AddSingleMethod · 0.85
GetAddr_Method · 0.85
ResolveCollisions_Method · 0.85
CheckFinalTxFunction · 0.85
AcceptBlockHeaderMethod · 0.85
TestBlockValidityFunction · 0.85
AddrManClass · 0.85
GetLocalAddressFunction · 0.85

Calls 2

GetTimeFunction · 0.85
GetTimeOffsetFunction · 0.85

Tested by 3

TestBlockValidityFunction · 0.68
BOOST_AUTO_TEST_CASEFunction · 0.68
BOOST_AUTO_TEST_CASEFunction · 0.68