diff options
author | fireice-uk <fireice-uk@users.noreply.github.com> | 2018-03-29 20:50:57 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-03-29 20:50:57 +0100 |
commit | ef87d28da53ce40d79e053668dbddab82ef997b0 (patch) | |
tree | 33a06f0238cb643f4618cf9e8024a07649695d5b /xmrstak/jconf.cpp | |
parent | 89d319a8920ee91f0b8c05000bfc7d155b90bcb0 (diff) | |
parent | 0c48570ac662662fc9e808c0efe042f843fd6b23 (diff) | |
download | xmr-stak-ef87d28da53ce40d79e053668dbddab82ef997b0.zip xmr-stak-ef87d28da53ce40d79e053668dbddab82ef997b0.tar.gz |
Merge pull request #1236 from psychocrypt/topic-powAeonv7
POW AEON v7
Diffstat (limited to 'xmrstak/jconf.cpp')
-rw-r--r-- | xmrstak/jconf.cpp | 22 |
1 files changed, 12 insertions, 10 deletions
diff --git a/xmrstak/jconf.cpp b/xmrstak/jconf.cpp index 713beb4..bbaeb8b 100644 --- a/xmrstak/jconf.cpp +++ b/xmrstak/jconf.cpp @@ -90,20 +90,21 @@ struct xmrstak_coin_algo { const char* coin_name; xmrstak_algo algo; + xmrstak_algo algo_root; const char* default_pool; }; xmrstak_coin_algo coin_algos[] = { - { "aeon", cryptonight_lite, "mine.aeon-pool.com:5555" }, - { "cryptonight", cryptonight, nullptr }, - { "cryptonight_lite", cryptonight_lite, nullptr }, - { "edollar", cryptonight, nullptr }, - { "electroneum", cryptonight, nullptr }, - { "graft", cryptonight, nullptr }, - { "intense", cryptonight, nullptr }, - { "karbo", cryptonight, nullptr }, - { "monero7", cryptonight_monero, "pool.usxmrpool.com:3333" }, - { "sumokoin", cryptonight_heavy, nullptr } + { "aeon7", cryptonight_aeon, cryptonight_lite, "mine.aeon-pool.com:5555" }, + { "cryptonight", cryptonight, cryptonight, nullptr }, + { "cryptonight_lite", cryptonight_lite, cryptonight_lite, nullptr }, + { "edollar", cryptonight, cryptonight, nullptr }, + { "electroneum", cryptonight, cryptonight, nullptr }, + { "graft", cryptonight, cryptonight, nullptr }, + { "intense", cryptonight, cryptonight, nullptr }, + { "karbo", cryptonight, cryptonight, nullptr }, + { "monero7", cryptonight_monero, cryptonight, "pool.usxmrpool.com:3333" }, + { "sumokoin", cryptonight_heavy, cryptonight, nullptr } }; constexpr size_t coin_alogo_size = (sizeof(coin_algos)/sizeof(coin_algos[0])); @@ -630,6 +631,7 @@ bool jconf::parse_config(const char* sFilename, const char* sFilenamePools) if(ctmp == coin_algos[i].coin_name) { mining_algo = coin_algos[i].algo; + mining_algo_root = coin_algos[i].algo_root; break; } } |