diff --git a/algorithm.h b/algorithm.h index a06ca8e9..d82f9423 100644 --- a/algorithm.h +++ b/algorithm.h @@ -33,14 +33,11 @@ typedef enum { ALGO_LYRA2RE, ALGO_LYRA2REV2, ALGO_PLUCK, - ALGO_YESCRYPT, - ALGO_YESCRYPT_MULTI, ALGO_BLAKECOIN, ALGO_BLAKE, ALGO_SIA, ALGO_DECRED, ALGO_VANILLA, - ALGO_LBRY, ALGO_SIBCOIN, ALGO_GOSTCOIN, ALGO_GOSTD diff --git a/api.c b/api.c index 1efa3004..5e960a2b 100644 --- a/api.c +++ b/api.c @@ -122,8 +122,7 @@ struct CODES codes[] = { { SEVERITY_ERR, MSG_NOPOOL, PARAM_NONE, "No pools" }, { SEVERITY_SUCC, MSG_DEVS, PARAM_DMAX, "%d GPU(s)" }, - { SEVERITY_ERR, MSG_NODEVS, PARAM_NONE, "No GPUs" - }, + { SEVERITY_ERR, MSG_NODEVS, PARAM_NONE, "No GPUs" }, { SEVERITY_SUCC, MSG_SUMM, PARAM_NONE, "Summary" }, { SEVERITY_INFO, MSG_GPUDIS, PARAM_GPU, "GPU %d set disable flag" }, diff --git a/ocl.c b/ocl.c index b0a644a2..19e86d33 100644 --- a/ocl.c +++ b/ocl.c @@ -675,7 +675,6 @@ _clState *initCl(unsigned int gpu, char *name, size_t nameSize, algorithm_t *alg size_t readbufsize = 128; if (algorithm->type == ALGO_CRE) readbufsize = 168; else if (algorithm->type == ALGO_DECRED) readbufsize = 192; - else if (algorithm->type == ALGO_LBRY) readbufsize = 112; else if (algorithm->type == ALGO_PASCAL) readbufsize = 196; if (algorithm->rw_buffer_size < 0) { diff --git a/sgminer.c b/sgminer.c index 5d6785fa..c7a6fad1 100644 --- a/sgminer.c +++ b/sgminer.c @@ -5635,9 +5635,6 @@ static void *stratum_sthread(void *userdata) else if (pool->algorithm.type == ALGO_DECRED) { nonce = *((uint32_t *)(work->data + 140)); } - else if (pool->algorithm.type == ALGO_LBRY) { - nonce = *((uint32_t *)(work->data + 108)); - } else if (pool->algorithm.type == ALGO_SIA) { nonce = *((uint32_t *)(work->data + 32)); } @@ -7198,7 +7195,6 @@ static void rebuild_nonce(struct work *work, uint32_t nonce) uint32_t nonce_pos = 76; if (work->pool->algorithm.type == ALGO_CRE) nonce_pos = 140; else if (work->pool->algorithm.type == ALGO_DECRED) nonce_pos = 140; - else if (work->pool->algorithm.type == ALGO_LBRY) nonce_pos = 108; else if (work->pool->algorithm.type == ALGO_SIA) nonce_pos = 32; else if (work->pool->algorithm.type == ALGO_PASCAL) nonce_pos = 196; @@ -7218,8 +7214,7 @@ bool test_nonce(struct work *work, uint32_t nonce) rebuild_nonce(work, nonce); // for Neoscrypt, the diff1targ value is in work->target - if (work->pool->algorithm.type == ALGO_NEOSCRYPT || work->pool->algorithm.type == ALGO_PLUCK - || work->pool->algorithm.type == ALGO_YESCRYPT || work->pool->algorithm.type == ALGO_YESCRYPT_MULTI) { + if (work->pool->algorithm.type == ALGO_NEOSCRYPT || work->pool->algorithm.type == ALGO_PLUCK) { diff1targ = ((uint32_t *)work->target)[7]; } else {