From d83f14799e74bc596da46328e5c5a9c0671f5254 Mon Sep 17 00:00:00 2001 From: xiphon Date: Fri, 19 Mar 2021 10:28:26 +0000 Subject: [PATCH] DaemonManager: start monerod with '--non-interactive' cli option set --- pages/settings/SettingsNode.qml | 2 +- src/daemon/DaemonManager.cpp | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/pages/settings/SettingsNode.qml b/pages/settings/SettingsNode.qml index 9da1452e..3a9ae32f 100644 --- a/pages/settings/SettingsNode.qml +++ b/pages/settings/SettingsNode.qml @@ -398,7 +398,7 @@ Rectangle{ placeholderFontSize: 15 text: persistentSettings.daemonFlags addressValidation: false - error: text.match(/(^|\s)--(data-dir|bootstrap-daemon-address)/) + error: text.match(/(^|\s)--(data-dir|bootstrap-daemon-address|non-interactive)/) onEditingFinished: { if (!daemonFlags.error) { persistentSettings.daemonFlags = daemonFlags.text; diff --git a/src/daemon/DaemonManager.cpp b/src/daemon/DaemonManager.cpp index b7fb12db..bbbf263e 100644 --- a/src/daemon/DaemonManager.cpp +++ b/src/daemon/DaemonManager.cpp @@ -90,6 +90,7 @@ bool DaemonManager::start(const QString &flags, NetworkType::Type nettype, const } arguments << "--check-updates" << "disabled"; + arguments << "--non-interactive"; // --max-concurrency based on threads available. int32_t concurrency = qMax(1, QThread::idealThreadCount() / 2);