Update ntp.h
[novacoin.git] / src / ntp.h
1 // Get time from random server and return server address.
2 int64_t NtpGetTime(CNetAddr& ip);
3
4 // Get time from provided server.
5 int64_t NtpGetTime(const std::string &strHostName);
6
7 extern std::string strTrustedUpstream;
8
9 // NTP time samples thread.
10 void ThreadNtpSamples(void* parg);
11
12 // NTP offset
13 int64_t GetNtpOffset();