From 9a2ef075264942829e580af613b8ac0d3f8831d2 Mon Sep 17 00:00:00 2001
From: psychocrypt <psychocryptHPC@gmail.com>
Date: Tue, 18 Sep 2018 20:57:18 +0200
Subject: [PATCH] update docs and reintroduce monero7

- reintroduce monero7 until the POW is final
- update docs (add cryptonigh_v8)
---
 README.md                      | 1 +
 xmrstak/backend/amd/config.tpl | 1 +
 xmrstak/jconf.cpp              | 1 +
 xmrstak/pools.tpl              | 4 +++-
 4 files changed, 6 insertions(+), 1 deletion(-)

diff --git a/README.md b/README.md
index e3b0132..2fe1bc5 100644
--- a/README.md
+++ b/README.md
@@ -60,6 +60,7 @@ If your prefered coin is not listed, you can choose one of the following algorit
     - cryptonight_masari
     - cryptonight_v7
     - cryptonight_v7_stellite
+    - cryptonight_v8
 - 4MiB scratchpad memory
     - cryptonight_haven
     - cryptonight_heavy
diff --git a/xmrstak/backend/amd/config.tpl b/xmrstak/backend/amd/config.tpl
index 0101b7e..63106bc 100644
--- a/xmrstak/backend/amd/config.tpl
+++ b/xmrstak/backend/amd/config.tpl
@@ -9,6 +9,7 @@ R"===(
  *                 2 = chunked memory, chunk size is controlled by 'mem_chunk'
  *                     required: intensity must be a multiple of worksize
  *                 1 or true  = use 16byte contiguous memory per thread, the next memory block has offset of intensity blocks
+ *                             (not allowed for cryptonight_v8 ans monero8)
  *                 0 or false = use a contiguous block of memory per thread
  * mem_chunk     - range 0 to 18: set the number of elements (16byte) per chunk
  *                 this value is only used if 'strided_index' == 2
diff --git a/xmrstak/jconf.cpp b/xmrstak/jconf.cpp
index 609b55f..c69d47a 100644
--- a/xmrstak/jconf.cpp
+++ b/xmrstak/jconf.cpp
@@ -105,6 +105,7 @@ xmrstak::coin_selection coins[] = {
 	{ "haven",               {cryptonight_haven, cryptonight_heavy, 3u},   {cryptonight_heavy, cryptonight_heavy, 0u},   nullptr },
 	{ "intense",             {cryptonight_monero, cryptonight, 4u},        {cryptonight_monero, cryptonight_monero, 0u}, nullptr },
 	{ "masari",              {cryptonight_masari, cryptonight_monero, 7u},   {cryptonight_monero, cryptonight_monero, 0u},nullptr },
+	{ "monero7",             {cryptonight_monero, cryptonight_monero, 0u}, {cryptonight_monero, cryptonight_monero, 0u}, "pool.usxmrpool.com:3333" },
 	{ "monero8",             {cryptonight_monero_v8, cryptonight_monero, 8u}, {cryptonight_monero_v8, cryptonight_monero, 8u}, "pool.usxmrpool.com:3333" },
 	{ "qrl",             	 {cryptonight_monero, cryptonight_monero, 0u}, {cryptonight_monero, cryptonight_monero, 0u}, nullptr },
 	{ "ryo",                 {cryptonight_heavy, cryptonight_heavy, 0u},   {cryptonight_heavy, cryptonight_heavy, 0u},   nullptr },
diff --git a/xmrstak/pools.tpl b/xmrstak/pools.tpl
index 78f2315..9c3dd5a 100644
--- a/xmrstak/pools.tpl
+++ b/xmrstak/pools.tpl
@@ -27,7 +27,8 @@ POOLCONF],
  *    haven (automatic switch with block version 3 to cryptonight_haven)
  *    intense
  *    masari
- *    monero7 (use this for Monero's new PoW)
+ *    monero7
+ *    monero8 (use this to support Monero's Oct 2018 fork)
  *    qrl - Quantum Resistant Ledger
  *    ryo
  *    turtlecoin
@@ -41,6 +42,7 @@ POOLCONF],
  *    # 2MiB scratchpad memory
  *    cryptonight
  *    cryptonight_v7
+ *    cryptonight_v8
  *    # 4MiB scratchpad memory
  *    cyrptonight_bittube2
  *    cryptonight_haven
-- 
GitLab