From 7275b6de3d6c7cf41e78679780db55c6a364c9e3 Mon Sep 17 00:00:00 2001 From: orignal Date: Mon, 23 Jul 2018 16:20:42 -0400 Subject: [PATCH] algo gostd added --- algorithm.c | 4 +++- algorithm.h | 3 ++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/algorithm.c b/algorithm.c index 4f3555f6..e272659b 100644 --- a/algorithm.c +++ b/algorithm.c @@ -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 } diff --git a/algorithm.h b/algorithm.h index 092fe360..a06ca8e9 100644 --- a/algorithm.h +++ b/algorithm.h @@ -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[];