diff options
author | nicolas.dorier <nicolas.dorier@gmail.com> | 2019-08-16 17:45:13 +0900 |
---|---|---|
committer | nicolas.dorier <nicolas.dorier@gmail.com> | 2019-08-17 00:43:22 +0900 |
commit | ce7eac3cb0e7d301db75de24e9a7b0af93c61311 (patch) | |
tree | 9b5f47eea93fbd73a755d810218af95654d41f6b /src/net.h | |
parent | b80cdfec9a079b841194c7026faddbd496e1dfc0 (diff) |
[Fix] The default whitelistrelay should be true
Diffstat (limited to 'src/net.h')
-rw-r--r-- | src/net.h | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -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). */ |