diff options
author | Wladimir J. van der Laan <laanwj@gmail.com> | 2013-11-08 01:03:11 -0800 |
---|---|---|
committer | Wladimir J. van der Laan <laanwj@gmail.com> | 2013-11-08 01:03:11 -0800 |
commit | 9a165e57140eea0663253c14db0d14b40bde562a (patch) | |
tree | 26aa5885d5ec103024a7b1ca8413487f01d6fd3a /src/net.h | |
parent | 7f0ccea7685cb66081bbd889be684eacd76ccd2c (diff) | |
parent | 1ce418929a17c063a0a2e3b176b82d280ef053a6 (diff) |
Merge pull request #3155 from wtogami/split_proto_var
Split MIN_PROTO_VERSION into INIT_PROTO_VERSION and MIN_PEER_PROTO_VERSION
Diffstat (limited to 'src/net.h')
-rw-r--r-- | src/net.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -246,11 +246,11 @@ public: int64 nPingUsecTime; bool fPingQueued; - CNode(SOCKET hSocketIn, CAddress addrIn, std::string addrNameIn = "", bool fInboundIn=false) : ssSend(SER_NETWORK, MIN_PROTO_VERSION) + CNode(SOCKET hSocketIn, CAddress addrIn, std::string addrNameIn = "", bool fInboundIn=false) : ssSend(SER_NETWORK, INIT_PROTO_VERSION) { nServices = 0; hSocket = hSocketIn; - nRecvVersion = MIN_PROTO_VERSION; + nRecvVersion = INIT_PROTO_VERSION; nLastSend = 0; nLastRecv = 0; nSendBytes = 0; |