aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--main.qml5
-rw-r--r--src/daemon/DaemonManager.cpp4
2 files changed, 3 insertions, 6 deletions
diff --git a/main.qml b/main.qml
index f94618e6..039594d5 100644
--- a/main.qml
+++ b/main.qml
@@ -1945,12 +1945,13 @@ ApplicationWindow {
return;
}
+ const simpleModeFlags = "--enable-dns-blocklist --out-peers 16";
if (appWindow.daemonRunning) {
appWindow.stopDaemon(function() {
- appWindow.startDaemon("")
+ appWindow.startDaemon(simpleModeFlags)
});
} else {
- appWindow.startDaemon("");
+ appWindow.startDaemon(simpleModeFlags);
}
}
diff --git a/src/daemon/DaemonManager.cpp b/src/daemon/DaemonManager.cpp
index 82d9eece..b7fb12db 100644
--- a/src/daemon/DaemonManager.cpp
+++ b/src/daemon/DaemonManager.cpp
@@ -89,10 +89,6 @@ bool DaemonManager::start(const QString &flags, NetworkType::Type nettype, const
arguments << "--no-sync";
}
- if (!flags.contains("--out-peers", Qt::CaseSensitive) && bootstrapNodeAddress == "auto") {
- arguments << "--out-peers" << "16";
- }
-
arguments << "--check-updates" << "disabled";
// --max-concurrency based on threads available.