Merge pull request #3174

a73ae625 DaemonManager: set out-peers to 16 in simple mode / bootstrap (selsta)
This commit is contained in:
Alexander Blair 2020-10-19 00:12:52 -07:00
commit fac3fcb518
No known key found for this signature in database
GPG key ID: C64552D877C32479

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.