From c4ae72ecfb09218171197dba012ce485b5cfc222 Mon Sep 17 00:00:00 2001 From: Unknown Date: Thu, 7 Dec 2017 15:06:49 +0000 Subject: [PATCH] Add --use-nicehash option --- xmrstak/cli/cli-miner.cpp | 7 ++++++- xmrstak/misc/executor.cpp | 5 +++-- xmrstak/params.hpp | 1 + 3 files changed, 10 insertions(+), 3 deletions(-) diff --git a/xmrstak/cli/cli-miner.cpp b/xmrstak/cli/cli-miner.cpp index 639a28e..be9b917 100644 --- a/xmrstak/cli/cli-miner.cpp +++ b/xmrstak/cli/cli-miner.cpp @@ -91,6 +91,7 @@ void help() cout<<" -O, --tls-url URL TLS pool url and port, e.g. pool.usxmrpool.com:10443"<IsCurrencyMonero()) diff --git a/xmrstak/params.hpp b/xmrstak/params.hpp index 371a4fd..bc32612 100644 --- a/xmrstak/params.hpp +++ b/xmrstak/params.hpp @@ -29,6 +29,7 @@ struct params bool userSetPwd = false; std::string poolPasswd; std::string poolUsername; + bool nicehashMode = false; std::string currency;