diff options
| author | MarcoFalke <[email protected]> | 2015-11-09 19:16:38 +0100 |
|---|---|---|
| committer | MarcoFalke <[email protected]> | 2015-11-28 19:01:11 +0100 |
| commit | faf93f37fe47fe326fcc4955302a66f24eb13b65 (patch) | |
| tree | a1f2ed7942c30233341f58f85cff6eaf2e14cb5e /src/netbase.h | |
| parent | Bugfix: Omit wallet-related options from -help when wallet is not supported (diff) | |
| download | discoin-faf93f37fe47fe326fcc4955302a66f24eb13b65.tar.xz discoin-faf93f37fe47fe326fcc4955302a66f24eb13b65.zip | |
[trivial] Reuse translation and cleanup DEFAULT_* values
* DEFAULT_DISABLE_SAFEMODE = false
* Use DEFAULT_* constants for extern bools
Diffstat (limited to 'src/netbase.h')
| -rw-r--r-- | src/netbase.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/netbase.h b/src/netbase.h index 2a79f82d7..9c2df0338 100644 --- a/src/netbase.h +++ b/src/netbase.h @@ -19,8 +19,10 @@ extern int nConnectTimeout; extern bool fNameLookup; -/** -timeout default */ +//! -timeout default static const int DEFAULT_CONNECT_TIMEOUT = 5000; +//! -dns default +static const int DEFAULT_NAME_LOOKUP = true; #ifdef WIN32 // In MSVC, this is defined as a macro, undefine it to prevent a compile and link error |