diff options
| author | luigi1111 <luigi1111w@gmail.com> | 2021-01-29 00:33:07 -0500 |
|---|---|---|
| committer | luigi1111 <luigi1111w@gmail.com> | 2021-01-29 00:33:07 -0500 |
| commit | 1f0f21a8e5cb1b4d4e430149078b1b78edb5fa4f (patch) | |
| tree | 692467886703a04747d14f0901b69f41fe630ae3 | |
| parent | c1573c2c2acb0025ef3cec19e56061aa582b0d32 (diff) | |
| parent | 9cf7c7f03cebb64524c04215a6abda6cf889f2e4 (diff) | |
| download | monzero-gui-1f0f21a8e5cb1b4d4e430149078b1b78edb5fa4f.tar.gz monzero-gui-1f0f21a8e5cb1b4d4e430149078b1b78edb5fa4f.tar.xz monzero-gui-1f0f21a8e5cb1b4d4e430149078b1b78edb5fa4f.zip | |
Merge pull request #3314
9cf7c7f DaemonManager: enable dns block list in simple mode (selsta)
| -rw-r--r-- | main.qml | 5 | ||||
| -rw-r--r-- | src/daemon/DaemonManager.cpp | 4 |
2 files changed, 3 insertions, 6 deletions
@@ -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. |
