summaryrefslogtreecommitdiffstats
path: root/xmrstak
diff options
context:
space:
mode:
authorpsychocrypt <psychocrypt@users.noreply.github.com>2017-10-24 21:23:26 +0200
committerpsychocrypt <psychocrypt@users.noreply.github.com>2017-10-27 20:12:01 +0200
commite0f0ad4d03af36d302485e46e22f47edba96b40d (patch)
tree3537659e55cef8b4e689f94a46bdbd1d23342f17 /xmrstak
parentb0d5f15f9b3a669617efc9897d5ff7b6b1f63376 (diff)
downloadxmr-stak-e0f0ad4d03af36d302485e46e22f47edba96b40d.zip
xmr-stak-e0f0ad4d03af36d302485e46e22f47edba96b40d.tar.gz
collect XMR and Aeon characteristics
... into a single place
Diffstat (limited to 'xmrstak')
-rw-r--r--xmrstak/backend/cryptonight.hpp12
1 files changed, 12 insertions, 0 deletions
diff --git a/xmrstak/backend/cryptonight.hpp b/xmrstak/backend/cryptonight.hpp
new file mode 100644
index 0000000..85e67d8
--- /dev/null
+++ b/xmrstak/backend/cryptonight.hpp
@@ -0,0 +1,12 @@
+#pragma once
+
+// define aeon settings
+#define AEON_MEMORY 1048576llu
+#define AEON_MASK 0xFFFF0
+#define AEON_ITER 0x40000
+
+// define xmr settings
+#define XMR_MEMORY 2097152llu
+#define XMR_MASK 0x1FFFF0
+#define XMR_ITER 0x80000
+
OpenPOWER on IntegriCloud