aboutsummaryrefslogtreecommitdiff
path: root/src/net.h
diff options
context:
space:
mode:
authorWladimir J. van der Laan <laanwj@gmail.com>2013-11-08 01:03:11 -0800
committerWladimir J. van der Laan <laanwj@gmail.com>2013-11-08 01:03:11 -0800
commit9a165e57140eea0663253c14db0d14b40bde562a (patch)
tree26aa5885d5ec103024a7b1ca8413487f01d6fd3a /src/net.h
parent7f0ccea7685cb66081bbd889be684eacd76ccd2c (diff)
parent1ce418929a17c063a0a2e3b176b82d280ef053a6 (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.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/net.h b/src/net.h
index b32178ad41..35ee7a06a6 100644
--- a/src/net.h
+++ b/src/net.h
@@ -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;