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