mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-15 12:51:00 +02:00
add -timeout default as constant and use them
- update help message text - simplify code in init to check for -timeout
This commit is contained in:
parent
5505a1b13f
commit
de10efd154
3 changed files with 8 additions and 8 deletions
|
|
@ -40,7 +40,7 @@ using namespace std;
|
|||
static proxyType proxyInfo[NET_MAX];
|
||||
static CService nameProxy;
|
||||
static CCriticalSection cs_proxyInfos;
|
||||
int nConnectTimeout = 5000;
|
||||
int nConnectTimeout = DEFAULT_CONNECT_TIMEOUT;
|
||||
bool fNameLookup = false;
|
||||
|
||||
static const unsigned char pchIPv4[12] = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0xff, 0xff };
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue