From a02545e16de6c08bb3d1ef88c988afa9cf4d88cb Mon Sep 17 00:00:00 2001
From: Ran Ding <randing89@gmail.com>
Date: Wed, 18 Apr 2018 00:42:51 -0700
Subject: [PATCH] Add BBSCoin support and get ready for cryptonight v7 upgrade

---
 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 c08ee80..64fd488 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)
+- [BBSCoin](https://www.bbscoin.xyz)
 - [Croat](https://croat.cat)
 - [Edollar](https://edollar.cash)
 - [Electroneum](https://electroneum.com)
diff --git a/xmrstak/jconf.cpp b/xmrstak/jconf.cpp
index 2add3db..8cf84e7 100644
--- a/xmrstak/jconf.cpp
+++ b/xmrstak/jconf.cpp
@@ -88,7 +88,8 @@ constexpr size_t iConfigCnt = (sizeof(oConfigValues)/sizeof(oConfigValues[0]));
 
 xmrstak::coin_selection coins[] = {
 	// name, userpool, devpool, default_pool_suggestion
-	{ "aeon7",               {cryptonight_aeon, cryptonight_lite, 7u},     {cryptonight_aeon, cryptonight_lite, 7u},    "mine.aeon-pool.com:5555" },
+	{ "aeon7",               {cryptonight_aeon, cryptonight_lite, 7u},     {cryptonight_aeon, cryptonight_lite, 7u},     "mine.aeon-pool.com:5555" },
+	{ "bbscoin",             {cryptonight_monero, cryptonight, 3u},        {cryptonight_monero, cryptonight, 3u},        "pool.bbscoin.xyz:3333" },
 	{ "croat",               {cryptonight_monero, cryptonight, 255u},      {cryptonight_monero, cryptonight_monero, 0u}, nullptr },
 	{ "cryptonight",         {cryptonight_monero, cryptonight, 255u},      {cryptonight_monero, cryptonight_monero, 0u}, nullptr },
 	{ "cryptonight_heavy",   {cryptonight_heavy, cryptonight_heavy, 0u},   {cryptonight_heavy, cryptonight_heavy, 0u},   nullptr },
diff --git a/xmrstak/pools.tpl b/xmrstak/pools.tpl
index 9c38fd6..bbca8a6 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)
+ *    bbscoin 
  *    croat
  *    edollar
  *    electroneum
-- 
GitLab