[Fix] The default whitelistrelay should be true

This commit is contained in:
nicolas.dorier
2019-08-16 17:45:13 +09:00
parent b80cdfec9a
commit ce7eac3cb0
4 changed files with 16 additions and 8 deletions

View File

@@ -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). */