aboutsummaryrefslogtreecommitdiff
path: root/main.qml
diff options
context:
space:
mode:
authorselsta <selsta@sent.at>2021-01-22 20:50:51 +0100
committerselsta <selsta@sent.at>2021-01-22 20:50:51 +0100
commit9cf7c7f03cebb64524c04215a6abda6cf889f2e4 (patch)
tree554ad8d0f7f3755876b1d519ebe9a223af31f05a /main.qml
parent3ca5f10fa8ce901a94188d4c76c5e5e8e8bf3ff2 (diff)
downloadmonzero-gui-9cf7c7f03cebb64524c04215a6abda6cf889f2e4.tar.gz
monzero-gui-9cf7c7f03cebb64524c04215a6abda6cf889f2e4.tar.xz
monzero-gui-9cf7c7f03cebb64524c04215a6abda6cf889f2e4.zip
DaemonManager: enable dns block list in simple mode
Co-authored-by: xiphon <xiphon@protonmail.com>
Diffstat (limited to 'main.qml')
-rw-r--r--main.qml5
1 files changed, 3 insertions, 2 deletions
diff --git a/main.qml b/main.qml
index 82373963..42452c64 100644
--- a/main.qml
+++ b/main.qml
@@ -1938,12 +1938,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);
}
}