aboutsummaryrefslogtreecommitdiff
path: root/src/net.h
diff options
context:
space:
mode:
authornicolas.dorier <nicolas.dorier@gmail.com>2019-08-16 17:45:13 +0900
committernicolas.dorier <nicolas.dorier@gmail.com>2019-08-17 00:43:22 +0900
commitce7eac3cb0e7d301db75de24e9a7b0af93c61311 (patch)
tree9b5f47eea93fbd73a755d810218af95654d41f6b /src/net.h
parentb80cdfec9a079b841194c7026faddbd496e1dfc0 (diff)
[Fix] The default whitelistrelay should be true
Diffstat (limited to 'src/net.h')
-rw-r--r--src/net.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/net.h b/src/net.h
index 75c05c9cb5..6c77d8135f 100644
--- a/src/net.h
+++ b/src/net.h
@@ -40,6 +40,11 @@ class CScheduler;
class CNode;
class BanMan;
+/** Default for -whitelistrelay. */
+static const bool DEFAULT_WHITELISTRELAY = true;
+/** Default for -whitelistforcerelay. */
+static const bool DEFAULT_WHITELISTFORCERELAY = false;
+
/** Time between pings automatically sent out for latency probing and keepalive (in seconds). */
static const int PING_INTERVAL = 2 * 60;
/** Time after which to disconnect, after waiting for a ping response (or inactivity). */