X-Git-Url: https://git.novaco.in/?a=blobdiff_plain;f=src%2Fnet.h;h=c2637dc6acd358faf912e9b172e2a5f33e37edf9;hb=f8ded588a2f78ac2767a60c716a7d15c273b4fc7;hp=03da382df36c1ff41888f139bd69b5b491355962;hpb=8896c2d9d64d71e25b31d7a389f0b8db49a1e50a;p=novacoin.git diff --git a/src/net.h b/src/net.h index 03da382..c2637dc 100644 --- a/src/net.h +++ b/src/net.h @@ -355,18 +355,8 @@ public: - void PushVersion() - { - /// when NTP implemented, change to just nTime = GetAdjustedTime() - int64 nTime = (fInbound ? GetAdjustedTime() : GetTime()); - CAddress addrYou = (fUseProxy ? CAddress("0.0.0.0") : addr); - CAddress addrMe = (fUseProxy ? CAddress("0.0.0.0") : addrLocalHost); - RAND_bytes((unsigned char*)&nLocalHostNonce, sizeof(nLocalHostNonce)); - PushMessage("version", VERSION, nLocalServices, nTime, addrYou, addrMe, - nLocalHostNonce, std::string(pszSubVer), nBestHeight); - } - + void PushVersion(); void PushMessage(const char* pszCommand)