aboutsummaryrefslogtreecommitdiff
path: root/src/net.h
diff options
context:
space:
mode:
authorWladimir J. van der Laan <[email protected]>2013-11-08 01:03:11 -0800
committerWladimir J. van der Laan <[email protected]>2013-11-08 01:03:11 -0800
commit9a165e57140eea0663253c14db0d14b40bde562a (patch)
tree26aa5885d5ec103024a7b1ca8413487f01d6fd3a /src/net.h
parentMerge pull request #3222 from Diapolo/debug-window (diff)
parentSplit MIN_PROTO_VERSION into INIT_PROTO_VERSION and MIN_PEER_PROTO_VERSION (diff)
downloaddiscoin-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.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/net.h b/src/net.h
index b32178ad4..35ee7a06a 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;