1
0
mirror of https://github.com/GOSTSec/sgminer synced 2025-02-02 01:44:23 +00:00

algo gostd added

This commit is contained in:
orignal 2018-07-23 16:20:42 -04:00
parent 4f8e93eca2
commit 7275b6de3d
2 changed files with 5 additions and 2 deletions

View File

@ -78,7 +78,8 @@ const char *algorithm_type_str[] = {
"Decred", "Decred",
"Vanilla", "Vanilla",
"Sibcoin", "Sibcoin",
"Gostcoin" "Gostcoin",
"Gostd"
}; };
void sha256(const unsigned char *message, unsigned int len, unsigned char *digest) void sha256(const unsigned char *message, unsigned int len, unsigned char *digest)
@ -1123,6 +1124,7 @@ static algorithm_settings_t algos[] = {
{ "gostcoin-mod", ALGO_GOSTCOIN, "", 1, 1, 1, 0, 0, 0xFF, 0xFFFFULL, 0x0000ffffUL, 0, 4 * 8 * 4194304, 0, gostcoin_regenhash, NULL, NULL, queue_gostcoin_mod_kernel, gostcoin_gen_hash, NULL }, { "gostcoin-mod", ALGO_GOSTCOIN, "", 1, 1, 1, 0, 0, 0xFF, 0xFFFFULL, 0x0000ffffUL, 0, 4 * 8 * 4194304, 0, gostcoin_regenhash, NULL, NULL, queue_gostcoin_mod_kernel, gostcoin_gen_hash, NULL },
{ "gostd", ALGO_GOSTD, "", 1, 1, 1, 0, 0, 0xFF, 0xFFFFULL, 0x0000ffffUL, 0, 4 * 8 * 4194304, 0, gostcoin_regenhash, NULL, NULL, queue_gostcoin_mod_kernel, gen_hash, NULL },
// Terminator (do not remove) // Terminator (do not remove)
{ NULL, ALGO_UNK, "", 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, NULL, NULL, NULL, NULL, NULL } { NULL, ALGO_UNK, "", 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, NULL, NULL, NULL, NULL, NULL }

View File

@ -42,7 +42,8 @@ typedef enum {
ALGO_VANILLA, ALGO_VANILLA,
ALGO_LBRY, ALGO_LBRY,
ALGO_SIBCOIN, ALGO_SIBCOIN,
ALGO_GOSTCOIN ALGO_GOSTCOIN,
ALGO_GOSTD
} algorithm_type_t; } algorithm_type_t;
extern const char *algorithm_type_str[]; extern const char *algorithm_type_str[];