Browse Source

Merge pull request #2763 from bitsofproof/master

Send tx relay flag with version message
0.10
Pieter Wuille 11 years ago
parent
commit
5e6f7cc8ad
  1. 2
      src/net.cpp

2
src/net.cpp

@ -533,7 +533,7 @@ void CNode::PushVersion() @@ -533,7 +533,7 @@ void CNode::PushVersion()
RAND_bytes((unsigned char*)&nLocalHostNonce, sizeof(nLocalHostNonce));
printf("send version message: version %d, blocks=%d, us=%s, them=%s, peer=%s\n", PROTOCOL_VERSION, nBestHeight, addrMe.ToString().c_str(), addrYou.ToString().c_str(), addr.ToString().c_str());
PushMessage("version", PROTOCOL_VERSION, nLocalServices, nTime, addrYou, addrMe,
nLocalHostNonce, FormatSubVersion(CLIENT_NAME, CLIENT_VERSION, std::vector<string>()), nBestHeight);
nLocalHostNonce, FormatSubVersion(CLIENT_NAME, CLIENT_VERSION, std::vector<string>()), nBestHeight, true);
}

Loading…
Cancel
Save