summaryrefslogtreecommitdiffstats
path: root/xmrstak/backend/cpu/autoAdjustHwloc.hpp
diff options
context:
space:
mode:
authorpsychocrypt <psychocrypt@users.noreply.github.com>2017-10-26 20:58:27 +0200
committerpsychocrypt <psychocrypt@users.noreply.github.com>2017-10-27 20:13:19 +0200
commit12802f12e30f57c2a9eefca2c1a5955275c95127 (patch)
treea10bced239ecd012ceeed593571a3fb8bccee9cb /xmrstak/backend/cpu/autoAdjustHwloc.hpp
parent41451d91e8e50f2b6c4b07630987dbc5a58aecb9 (diff)
downloadxmr-stak-12802f12e30f57c2a9eefca2c1a5955275c95127.zip
xmr-stak-12802f12e30f57c2a9eefca2c1a5955275c95127.tar.gz
rename `xmr` to `monero`
- rename all `xmr` to `monero` - be insensitive while check for set currency - add function to compate two strings insensitive
Diffstat (limited to 'xmrstak/backend/cpu/autoAdjustHwloc.hpp')
-rw-r--r--xmrstak/backend/cpu/autoAdjustHwloc.hpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/xmrstak/backend/cpu/autoAdjustHwloc.hpp b/xmrstak/backend/cpu/autoAdjustHwloc.hpp
index b6f84c4..ddeb89b 100644
--- a/xmrstak/backend/cpu/autoAdjustHwloc.hpp
+++ b/xmrstak/backend/cpu/autoAdjustHwloc.hpp
@@ -3,7 +3,7 @@
#include "xmrstak/misc/console.hpp"
#include "xmrstak/misc/configEditor.hpp"
#include "xmrstak/params.hpp"
-#include "../cryptonight.hpp"
+#include "xmrstak/backend/cryptonight.hpp"
#ifdef _WIN32
#include <windows.h>
@@ -28,9 +28,9 @@ public:
autoAdjust()
{
- if(::jconf::inst()->IsCurrencyXMR())
+ if(::jconf::inst()->IsCurrencyMonero())
{
- hashMemSize = XMR_MEMORY;
+ hashMemSize = MONERO_MEMORY;
halfHashMemSize = hashMemSize / 2u;
}
else
OpenPOWER on IntegriCloud