mirror of
https://github.com/GOSTSec/sgminer
synced 2025-01-22 04:24:19 +00:00
algo gostd added
This commit is contained in:
parent
4f8e93eca2
commit
7275b6de3d
@ -78,7 +78,8 @@ const char *algorithm_type_str[] = {
|
||||
"Decred",
|
||||
"Vanilla",
|
||||
"Sibcoin",
|
||||
"Gostcoin"
|
||||
"Gostcoin",
|
||||
"Gostd"
|
||||
};
|
||||
|
||||
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 },
|
||||
{ "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)
|
||||
{ NULL, ALGO_UNK, "", 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, NULL, NULL, NULL, NULL, NULL }
|
||||
|
@ -42,7 +42,8 @@ typedef enum {
|
||||
ALGO_VANILLA,
|
||||
ALGO_LBRY,
|
||||
ALGO_SIBCOIN,
|
||||
ALGO_GOSTCOIN
|
||||
ALGO_GOSTCOIN,
|
||||
ALGO_GOSTD
|
||||
} algorithm_type_t;
|
||||
|
||||
extern const char *algorithm_type_str[];
|
||||
|
Loading…
x
Reference in New Issue
Block a user