diff options
| author | Alexander Blair <snipa@jagtech.io> | 2020-10-19 00:12:52 -0700 |
|---|---|---|
| committer | Alexander Blair <snipa@jagtech.io> | 2020-10-19 00:12:52 -0700 |
| commit | fac3fcb518fe6017081477c0cfd1c5e15336e302 (patch) | |
| tree | 6dfd00ef418cae5c732ec221d155a46115db7090 | |
| parent | 8457055f08bd744c2a4acac03b3ece1155b015b6 (diff) | |
| parent | a73ae62526b5b5994971091444c94cf366a1efc2 (diff) | |
| download | monzero-gui-fac3fcb518fe6017081477c0cfd1c5e15336e302.tar.gz monzero-gui-fac3fcb518fe6017081477c0cfd1c5e15336e302.tar.xz monzero-gui-fac3fcb518fe6017081477c0cfd1c5e15336e302.zip | |
Merge pull request #3174
a73ae625 DaemonManager: set out-peers to 16 in simple mode / bootstrap (selsta)
| -rw-r--r-- | src/daemon/DaemonManager.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
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. |
