From ce7eac3cb0e7d301db75de24e9a7b0af93c61311 Mon Sep 17 00:00:00 2001 From: "nicolas.dorier" Date: Fri, 16 Aug 2019 17:45:13 +0900 Subject: [Fix] The default whitelistrelay should be true --- src/net.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/net.h') 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). */ -- cgit v1.2.3