Hi all, I am a bit confused here:
According to the spec and main.cpp the version message should be first me and then you:
uint64 nNonce = 1;
but from what I see over the network it is more the otherway around, as net.h would suggest too:
/// 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);
As I am not proficient in cpp, I don't really know now what is going on.
Could someone shed a bit more light on this please?