mirror of
https://github.com/monero-project/monero-gui.git
synced 2025-01-08 10:52:04 +02:00
DaemonManager: enable dns block list in simple mode
Co-authored-by: xiphon <xiphon@protonmail.com>
This commit is contained in:
parent
3ca5f10fa8
commit
9cf7c7f03c
5
main.qml
5
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);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -112,10 +112,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 New Issue
Block a user