From 484bda80de3ac2f9df04af6ee1dbe9ead9c2da99 Mon Sep 17 00:00:00 2001
From: psychocrypt <psychocryptHPC@gmail.com>
Date: Sun, 8 Apr 2018 21:10:16 +0200
Subject: [PATCH] expose original algorithm

- expose cryptonight_lite_v7, cryptonight_heavy and cryptonight_v7
- remove cryptonight_lite
---
 xmrstak/jconf.cpp |  3 +++
 xmrstak/pools.tpl | 14 +++++++++++---
 2 files changed, 14 insertions(+), 3 deletions(-)

diff --git a/xmrstak/jconf.cpp b/xmrstak/jconf.cpp
index 5a2d33a..6fad9b4 100644
--- a/xmrstak/jconf.cpp
+++ b/xmrstak/jconf.cpp
@@ -100,6 +100,9 @@ xmrstak_coin_algo coin_algos[] = {
 	{ "croat", cryptonight, cryptonight, 0u, nullptr },
 	{ "cryptonight", cryptonight, cryptonight, 0u, nullptr },
 	{ "cryptonight_lite", cryptonight_lite, cryptonight_lite, 0u, nullptr },
+	{ "cryptonight_heavy", cryptonight_heavy, cryptonight_heavy, 0u, nullptr },
+	{ "cryptonight_lite_v7", cryptonight_aeon, cryptonight_aeon, 0u, nullptr },
+	{ "cryptonight_v7", cryptonight_monero, cryptonight_monero, 0u, nullptr },
 	{ "edollar", cryptonight, cryptonight, 0u, nullptr },
 	{ "electroneum", cryptonight, cryptonight, 0u, nullptr },
 	{ "graft", cryptonight_monero, cryptonight, 8u, nullptr },
diff --git a/xmrstak/pools.tpl b/xmrstak/pools.tpl
index 7973f7c..9c38fd6 100644
--- a/xmrstak/pools.tpl
+++ b/xmrstak/pools.tpl
@@ -22,8 +22,6 @@ POOLCONF],
  *
  *    aeon7 (use this for Aeon's new PoW)
  *    croat
- *    cryptonight (try this if your coin is not listed)
- *    cryptonight_lite
  *    edollar
  *    electroneum
  *    graft
@@ -31,8 +29,18 @@ POOLCONF],
  *    intense
  *    karbo
  *    monero7 (use this for Monero's new PoW)
- *    sumokoin
+ *    sumokoin (automatic switch with block version 3 to cryptonight_heavy)
+ *
+ * Native algorithms which not depends on any block versions:
  *
+ *    # 1MiB scratchpad memory
+ *    cryptonight_lite
+ *    cryptonight_lite_v7
+ *    # 2MiB scratchpad memory
+ *    cryptonight
+ *    cryptonight_v7
+ *    # 4MiB scratchpad memory
+ *    cryptonight_heavy
  */
 
 "currency" : "CURRENCY",
-- 
GitLab