DaemonManager: set out-peers to 16 in simple mode / bootstrap

This commit is contained in:
selsta 2020-10-18 02:06:16 +02:00
parent cb1f3ad0ce
commit a73ae62526
No known key found for this signature in database
GPG Key ID: 2EA0A99A8B07AE5E

View File

@ -112,6 +112,10 @@ 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.