X-Git-Url: https://git.novaco.in/?p=novacoin.git;a=blobdiff_plain;f=src%2Fntp.h;h=d6c5863230b56aa46101c8dbf534b58aa231d377;hp=496312432ae9b3200d76fb435016eadb3e8ab099;hb=8b4e446342ab1af810732445592253cd467dc7b1;hpb=ea44503ffc26beba484cd5887c4c38f7ca247260 diff --git a/src/ntp.h b/src/ntp.h index 4963124..d6c5863 100644 --- a/src/ntp.h +++ b/src/ntp.h @@ -1,3 +1,8 @@ +// Get time from random server. int64_t NtpGetTime(); -int64_t NtpGetTime(std::string &strHostName); +// Get time from random server and return server address. +int64_t NtpGetTime(CNetAddr& ip); + +// Get time from provided server. +int64_t NtpGetTime(std::string &strHostName);