diff options
| author | Wladimir J. van der Laan <[email protected]> | 2013-11-08 01:03:11 -0800 |
|---|---|---|
| committer | Wladimir J. van der Laan <[email protected]> | 2013-11-08 01:03:11 -0800 |
| commit | 9a165e57140eea0663253c14db0d14b40bde562a (patch) | |
| tree | 26aa5885d5ec103024a7b1ca8413487f01d6fd3a /src/net.h | |
| parent | Merge pull request #3222 from Diapolo/debug-window (diff) | |
| parent | Split MIN_PROTO_VERSION into INIT_PROTO_VERSION and MIN_PEER_PROTO_VERSION (diff) | |
| download | discoin-9a165e57140eea0663253c14db0d14b40bde562a.tar.xz discoin-9a165e57140eea0663253c14db0d14b40bde562a.zip | |
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; |