mirror of
https://github.com/jwinterm/myriadcoin.git
synced 2026-10-18 05:51:27 +02:00
Algo switch by height, algo added approach, refactorings
This commit is contained in:
+4
-2
@@ -740,8 +740,10 @@ bool AppInit2(boost::thread_group& threadGroup, CScheduler& scheduler)
|
||||
miningAlgo = ALGO_GROESTL;
|
||||
else if (strAlgo == "skein" || strAlgo == "skeinsha2")
|
||||
miningAlgo = ALGO_SKEIN;
|
||||
else if (strAlgo == "q2c" || strAlgo == "qubit" || strAlgo == "yescrypt")
|
||||
miningAlgo = ALGO_CPU;
|
||||
else if (strAlgo == "q2c" || strAlgo == "qubit")
|
||||
miningAlgo = ALGO_QUBIT;
|
||||
else if (strAlgo == "yescrypt")
|
||||
miningAlgo = ALGO_YESCRYPT;
|
||||
else
|
||||
miningAlgo = ALGO_SHA256D;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user