From 5a2c4444a4e2b5ddc5e5dbf98990dcad45e32fe8 Mon Sep 17 00:00:00 2001 From: psychocrypt Date: Tue, 27 Mar 2018 20:54:47 +0200 Subject: POW AEON v7 - add new pow for AEON - fix missing cryptonight-heavy selection for multi hashes --- xmrstak/jconf.cpp | 22 ++++++++++++---------- 1 file changed, 12 insertions(+), 10 deletions(-) (limited to 'xmrstak/jconf.cpp') 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; } } -- cgit v1.1