aboutsummaryrefslogtreecommitdiff
path: root/src/net.h
diff options
context:
space:
mode:
authorPieter Wuille <pieter.wuille@gmail.com>2013-04-26 00:46:47 +0200
committerPieter Wuille <pieter.wuille@gmail.com>2013-04-29 01:46:24 +0200
commitba29a5590bc4479d74454f0b9fdaf007d9d80221 (patch)
tree3bcafc521d283c9076704dc1aa51400c631ed1eb /src/net.h
parent33029bcedd982f80f7e380bff586f3ab644decce (diff)
Try to increase file descriptor rlimit if necessary
As the default can be too low, especially on OSX.
Diffstat (limited to 'src/net.h')
-rw-r--r--src/net.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/net.h b/src/net.h
index 32bbbca6dc..df34f5a88d 100644
--- a/src/net.h
+++ b/src/net.h
@@ -74,6 +74,7 @@ extern bool fDiscover;
extern uint64 nLocalServices;
extern uint64 nLocalHostNonce;
extern CAddrMan addrman;
+extern int nMaxConnections;
extern std::vector<CNode*> vNodes;
extern CCriticalSection cs_vNodes;