From a73ae62526b5b5994971091444c94cf366a1efc2 Mon Sep 17 00:00:00 2001 From: selsta Date: Sun, 18 Oct 2020 02:06:16 +0200 Subject: [PATCH] DaemonManager: set out-peers to 16 in simple mode / bootstrap --- src/daemon/DaemonManager.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/daemon/DaemonManager.cpp b/src/daemon/DaemonManager.cpp index 9a7755fc..86c1a2cc 100644 --- a/src/daemon/DaemonManager.cpp +++ b/src/daemon/DaemonManager.cpp @@ -112,6 +112,10 @@ 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.