diff options
author | fireice-uk <fireice-uk@users.noreply.github.com> | 2018-04-02 20:14:21 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-04-02 20:14:21 +0100 |
commit | 94bd3e56945ad8a9a39458b5657666af2c5521a1 (patch) | |
tree | 988209d99c2e2c6e6fe8be0a469169648e788363 /xmrstak/jconf.cpp | |
parent | 4f912a023b2ae1bdd70303c1b9f876ad5bae0b98 (diff) | |
parent | 5491cf018a5004de948392e549c2ae076a23b520 (diff) | |
download | xmr-stak-94bd3e56945ad8a9a39458b5657666af2c5521a1.zip xmr-stak-94bd3e56945ad8a9a39458b5657666af2c5521a1.tar.gz |
Merge pull request #1273 from psychocrypt/topic-newCoins
add stellite coin
Diffstat (limited to 'xmrstak/jconf.cpp')
-rw-r--r-- | xmrstak/jconf.cpp | 23 |
1 files changed, 13 insertions, 10 deletions
diff --git a/xmrstak/jconf.cpp b/xmrstak/jconf.cpp index bbaeb8b..f99698a 100644 --- a/xmrstak/jconf.cpp +++ b/xmrstak/jconf.cpp @@ -91,20 +91,22 @@ struct xmrstak_coin_algo const char* coin_name; xmrstak_algo algo; xmrstak_algo algo_root; + uint8_t fork_version; const char* default_pool; }; xmrstak_coin_algo coin_algos[] = { - { "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 } + { "aeon7", cryptonight_aeon, cryptonight_lite, 7u, "mine.aeon-pool.com:5555" }, + { "cryptonight", cryptonight, cryptonight, 0u, nullptr }, + { "cryptonight_lite", cryptonight_lite, cryptonight_lite, 0u, nullptr }, + { "edollar", cryptonight, cryptonight, 0u, nullptr }, + { "electroneum", cryptonight, cryptonight, 0u, nullptr }, + { "graft", cryptonight, cryptonight, 0u, nullptr }, + { "intense", cryptonight, cryptonight, 0u, nullptr }, + { "karbo", cryptonight, cryptonight, 0u, nullptr }, + { "monero7", cryptonight_monero, cryptonight, 7u, "pool.usxmrpool.com:3333" }, + { "stellite", cryptonight_monero, cryptonight, 3u, nullptr }, + { "sumokoin", cryptonight_heavy, cryptonight, 3u, nullptr } }; constexpr size_t coin_alogo_size = (sizeof(coin_algos)/sizeof(coin_algos[0])); @@ -632,6 +634,7 @@ bool jconf::parse_config(const char* sFilename, const char* sFilenamePools) { mining_algo = coin_algos[i].algo; mining_algo_root = coin_algos[i].algo_root; + mining_fork_version = coin_algos[i].fork_version; break; } } |