Remove NtpGetTime() and use NtpTime(CNetAddr&) instead.
[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(std::string &strHostName);
6
7 // NTP time samples thread.
8 void ThreadNtpSamples(void* parg);