Integrate new algo "cryptonight-lite-ipbc" (#100)
This commit is contained in:
parent
9ea520a3a4
commit
a5c311fad8
16 changed files with 1938 additions and 102 deletions
|
@ -259,6 +259,7 @@ static struct option const cc_server_options[] = {
|
|||
static const char *algo_names[] = {
|
||||
"cryptonight",
|
||||
"cryptonight-lite",
|
||||
"cryptonight-lite-ipbc",
|
||||
"cryptonight-heavy"
|
||||
};
|
||||
|
||||
|
@ -924,6 +925,11 @@ bool Options::setAlgo(const char *algo)
|
|||
break;
|
||||
}
|
||||
|
||||
if (i == ARRAY_SIZE(algo_names) - 1 && !strcmp(algo, "cryptonight-light-ipbc")) {
|
||||
m_algo = ALGO_CRYPTONIGHT_LITE_IPBC;
|
||||
break;
|
||||
}
|
||||
|
||||
if (i == ARRAY_SIZE(algo_names) - 1 && !strcmp(algo, "cryptonight-heavy")) {
|
||||
m_algo = ALGO_CRYPTONIGHT_HEAVY;
|
||||
break;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue