git://git.novaco.in
/
novacoin.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Add time samples from NTP while starting up.
[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);