mirror of
https://github.com/monero-project/monero-gui.git
synced 2024-11-17 08:17:59 +00:00
Merge pull request #3314
9cf7c7f
DaemonManager: enable dns block list in simple mode (selsta)
This commit is contained in:
commit
1f0f21a8e5
2 changed files with 3 additions and 6 deletions
5
main.qml
5
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);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -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.
|
||||
|
|
Loading…
Reference in a new issue