mirror of
https://github.com/monero-project/monero-gui.git
synced 2025-01-09 20:40:27 +00: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
2 changed files with 3 additions and 6 deletions
5
main.qml
5
main.qml
|
@ -1938,12 +1938,13 @@ ApplicationWindow {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
const simpleModeFlags = "--enable-dns-blocklist --out-peers 16";
|
||||||
if (appWindow.daemonRunning) {
|
if (appWindow.daemonRunning) {
|
||||||
appWindow.stopDaemon(function() {
|
appWindow.stopDaemon(function() {
|
||||||
appWindow.startDaemon("")
|
appWindow.startDaemon(simpleModeFlags)
|
||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
appWindow.startDaemon("");
|
appWindow.startDaemon(simpleModeFlags);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -112,10 +112,6 @@ bool DaemonManager::start(const QString &flags, NetworkType::Type nettype, const
|
||||||
arguments << "--no-sync";
|
arguments << "--no-sync";
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!flags.contains("--out-peers", Qt::CaseSensitive) && bootstrapNodeAddress == "auto") {
|
|
||||||
arguments << "--out-peers" << "16";
|
|
||||||
}
|
|
||||||
|
|
||||||
arguments << "--check-updates" << "disabled";
|
arguments << "--check-updates" << "disabled";
|
||||||
|
|
||||||
// --max-concurrency based on threads available.
|
// --max-concurrency based on threads available.
|
||||||
|
|
Loading…
Reference in a new issue