Added --no-cache command line parameter

This commit is contained in:
SChernykh
2021-10-16 13:45:28 +02:00
parent 285560e120
commit 816a29c5ab
4 changed files with 7 additions and 1 deletions
+4
View File
@@ -73,6 +73,10 @@ Params::Params(int argc, char* argv[])
if (strcmp(argv[i], "--stratum-api") == 0) {
m_localStats = true;
}
if (strcmp(argv[i], "--no-cache") == 0) {
m_blockCache = false;
}
}
if (m_stratumAddresses.empty()) {