From 2fc04ae1f15d9cbf1238baa81b963f71929988a2 Mon Sep 17 00:00:00 2001
From: ZedPea <zp+github@zacharypalmer.co.uk>
Date: Thu, 19 Apr 2018 19:06:03 +0100
Subject: [PATCH] Add turtlecoin as a config option

---
 README.md         | 1 +
 xmrstak/jconf.cpp | 3 ++-
 xmrstak/pools.tpl | 1 +
 3 files changed, 4 insertions(+), 1 deletion(-)

diff --git a/README.md b/README.md
index 64fd488..b058f6c 100644
--- a/README.md
+++ b/README.md
@@ -50,6 +50,7 @@ Besides [Monero](https://getmonero.org), following coins can be mined using this
 - [Intense](https://intensecoin.com)
 - [Karbo](https://karbo.io)
 - [Sumokoin](https://www.sumokoin.org)
+- [TurtleCoin](https://turtlecoin.lol)
 
 If your prefered coin is not listed, you can chose one of the following algorithms:
 
diff --git a/xmrstak/jconf.cpp b/xmrstak/jconf.cpp
index 3af4028..7bb4c8a 100644
--- a/xmrstak/jconf.cpp
+++ b/xmrstak/jconf.cpp
@@ -104,7 +104,8 @@ xmrstak::coin_selection coins[] = {
 	{ "karbo",               {cryptonight_monero, cryptonight, 255u},      {cryptonight_monero, cryptonight_monero, 0u}, nullptr },
 	{ "monero7",             {cryptonight_monero, cryptonight_monero, 0u}, {cryptonight_monero, cryptonight_monero, 0u}, "pool.usxmrpool.com:3333" },
 	{ "stellite",            {cryptonight_monero, cryptonight, 3u},        {cryptonight_monero, cryptonight_monero, 0u}, nullptr },
-	{ "sumokoin",            {cryptonight_heavy, cryptonight_heavy, 0u},   {cryptonight_heavy, cryptonight_heavy, 0u},   nullptr }
+	{ "sumokoin",            {cryptonight_heavy, cryptonight_heavy, 0u},   {cryptonight_heavy, cryptonight_heavy, 0u},   nullptr },
+	{ "turtlecoin",          {cryptonight_lite, cryptonight_aeon, 255u},   {cryptonight_aeon, cryptonight_lite, 7u},     nullptr }
 };
 
 constexpr size_t coin_alogo_size = (sizeof(coins)/sizeof(coins[0]));
diff --git a/xmrstak/pools.tpl b/xmrstak/pools.tpl
index 58ca8b5..f0667a1 100644
--- a/xmrstak/pools.tpl
+++ b/xmrstak/pools.tpl
@@ -31,6 +31,7 @@ POOLCONF],
  *    karbo
  *    monero7 (use this for Monero's new PoW)
  *    sumokoin (automatic switch with block version 3 to cryptonight_heavy)
+ *    turtlecoin
  *
  * Native algorithms which not depends on any block versions:
  *
-- 
GitLab