From ae752ce28d47fc486a07eb827e3ba6b4fbd281b0 Mon Sep 17 00:00:00 2001
From: ridd84 <pool@pool.cat>
Date: Thu, 5 Apr 2018 21:18:34 +0200
Subject: [PATCH] Add CROAT coin

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

diff --git a/README.md b/README.md
index 047aa51..4cb30c7 100644
--- a/README.md
+++ b/README.md
@@ -41,6 +41,7 @@ XMR-Stak is a universal Stratum pool miner. This miner supports CPUs, AMD and NV
 Besides [Monero](https://getmonero.org), following coins can be mined using this miner:
 
 - [Aeon](http://www.aeon.cash)
+- [Croat](https://croat.cat)
 - [Edollar](https://edollar.cash)
 - [Electroneum](https://electroneum.com)
 - [Graft](https://www.graft.network)
diff --git a/xmrstak/jconf.cpp b/xmrstak/jconf.cpp
index f99698a..2d1732f 100644
--- a/xmrstak/jconf.cpp
+++ b/xmrstak/jconf.cpp
@@ -97,6 +97,7 @@ struct xmrstak_coin_algo
 
 xmrstak_coin_algo coin_algos[] = { 
 	{ "aeon7", cryptonight_aeon, cryptonight_lite, 7u, "mine.aeon-pool.com:5555" },
+	{ "croat", cryptonight, cryptonight, 0u, nullptr },
 	{ "cryptonight", cryptonight, cryptonight, 0u, nullptr },
 	{ "cryptonight_lite", cryptonight_lite, cryptonight_lite, 0u, nullptr },
 	{ "edollar", cryptonight, cryptonight, 0u, nullptr },
diff --git a/xmrstak/pools.tpl b/xmrstak/pools.tpl
index f5afff6..ce204a1 100644
--- a/xmrstak/pools.tpl
+++ b/xmrstak/pools.tpl
@@ -21,6 +21,7 @@ POOLCONF],
  * Currency to mine. Supported values:
  *
  *    aeon7 (use this for Aeon's new PoW)
+ *    croat
  *    cryptonight (try this if your coin is not listed)
  *    cryptonight_lite
  *    edollar
-- 
GitLab