Skip to content

Commit

Permalink
Added X11Evo support
Browse files Browse the repository at this point in the history
  • Loading branch information
Andy777s committed May 27, 2016
1 parent f366619 commit 194dfc1
Show file tree
Hide file tree
Showing 25 changed files with 1,447 additions and 8 deletions.
1 change: 1 addition & 0 deletions Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ sgminer_SOURCES += algorithm/maxcoin.c algorithm/maxcoin.h
sgminer_SOURCES += algorithm/talkcoin.c algorithm/talkcoin.h
sgminer_SOURCES += algorithm/bitblock.c algorithm/bitblock.h
sgminer_SOURCES += algorithm/x14.c algorithm/x14.h
sgminer_SOURCES += algorithm/evocoin.c algorithm/evocoin.h
sgminer_SOURCES += algorithm/fresh.c algorithm/fresh.h
sgminer_SOURCES += algorithm/whirlcoin.c algorithm/whirlcoin.h
sgminer_SOURCES += algorithm/neoscrypt.c algorithm/neoscrypt.h
Expand Down
4 changes: 4 additions & 0 deletions algorithm.c
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
#include "algorithm/whirlcoin.h"
#include "algorithm/neoscrypt.h"
#include "algorithm/whirlpoolx.h"
#include "algorithm/evocoin.h"

#include "compat.h"

Expand All @@ -43,6 +44,7 @@ const char *algorithm_type_str[] = {
"Scrypt",
"NScrypt",
"X11",
"X11Evo",
"X13",
"X14",
"X15",
Expand Down Expand Up @@ -709,6 +711,7 @@ static algorithm_settings_t algos[] = {
A_DARK( "myriadcoin-groestl", myriadcoin_groestl_regenhash),
#undef A_DARK

{ "evocoin", ALGO_X11EVO, "", 1, 1, 1, 0, 0, 0xFF, 0xFFFFULL, 0x0000ffffUL, 0, 0, CL_QUEUE_OUT_OF_ORDER_EXEC_MODE_ENABLE, evocoin_regenhash, queue_sph_kernel, gen_hash, append_x11_compiler_options },
{ "twecoin", ALGO_TWE, "", 1, 1, 1, 0, 0, 0xFF, 0xFFFFULL, 0x0000ffffUL, 0, 0, CL_QUEUE_OUT_OF_ORDER_EXEC_MODE_ENABLE, twecoin_regenhash, queue_sph_kernel, sha256, NULL},
{ "maxcoin", ALGO_KECCAK, "", 1, 256, 1, 4, 15, 0x0F, 0xFFFFULL, 0x000000ffUL, 0, 0, CL_QUEUE_OUT_OF_ORDER_EXEC_MODE_ENABLE, maxcoin_regenhash, queue_maxcoin_kernel, sha256, NULL},

Expand Down Expand Up @@ -800,6 +803,7 @@ static const char *lookup_algorithm_alias(const char *lookup_alias, uint8_t *nfa
ALGO_ALIAS_NF("adaptive-n-scrypt", "ckolivas", 11);
ALGO_ALIAS("x11mod", "darkcoin-mod");
ALGO_ALIAS("x11", "darkcoin-mod");
ALGO_ALIAS("x11evo", "evocoin");
ALGO_ALIAS("x13mod", "marucoin-mod");
ALGO_ALIAS("x13", "marucoin-mod");
ALGO_ALIAS("x13old", "marucoin-modold");
Expand Down
1 change: 1 addition & 0 deletions algorithm.h
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ typedef enum {
ALGO_SCRYPT,
ALGO_NSCRYPT,
ALGO_X11,
ALGO_X11EVO,
ALGO_X13,
ALGO_X14,
ALGO_X15,
Expand Down
Loading

0 comments on commit 194dfc1

Please sign in to comment.