1 // Get time from random server and return server address.
2 int64_t NtpGetTime(CNetAddr& ip);
4 // Get time from provided server.
5 int64_t NtpGetTime(const std::string &strHostName);
7 extern std::string strTrustedUpstream;
9 // NTP time samples thread.
10 void ThreadNtpSamples(void* parg);
13 int64_t GetNtpOffset();