Skip to content

Commit

Permalink
Revert "add: newcoin: LightningCash-Gold (LTNCG)"
Browse files Browse the repository at this point in the history
This reverts commit f4ba0ad.
  • Loading branch information
decryp2kanon committed Mar 19, 2020
1 parent 3eaa86e commit eae0dc3
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 102 deletions.
3 changes: 1 addition & 2 deletions Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,7 @@ sugarmaker_SOURCES = elist.h miner.h compat.h \
YespowerSugar.c \
YespowerIso.c \
YespowerNull.c \
YespowerUrx.c \
YespowerLtncg.c
YespowerUrx.c

sugarmaker_LDFLAGS = $(PTHREAD_FLAGS)
sugarmaker_LDADD = @LIBCURL@ @JANSSON_LIBS@ @PTHREAD_LIBS@ @WS2_LIBS@
Expand Down
84 changes: 0 additions & 84 deletions YespowerLtncg.c

This file was deleted.

12 changes: 0 additions & 12 deletions cpu-miner.c
Original file line number Diff line number Diff line change
Expand Up @@ -105,15 +105,13 @@ enum algos {
ALGO_ISO_YESPOWER_1_0_1,
ALGO_NULL_YESPOWER_1_0_1,
ALGO_URX_YESPOWER_1_0_1,
ALGO_LTNCG_YESPOWER_1_0_1,
};

static const char *algo_names[] = {
[ALGO_SUGAR_YESPOWER_1_0_1] = "YespowerSugar",
[ALGO_ISO_YESPOWER_1_0_1] = "YespowerIso",
[ALGO_NULL_YESPOWER_1_0_1] = "YespowerNull",
[ALGO_URX_YESPOWER_1_0_1] = "YespowerUrx",
[ALGO_LTNCG_YESPOWER_1_0_1] = "YespowerLtncg",
};

bool opt_debug = false;
Expand Down Expand Up @@ -178,7 +176,6 @@ Options:\n\
YespowerIso: IsotopeC\n\
YespowerNull: CranePay, Bellcoin, Veco, SwampCoin\n\
YespowerUrx: UraniumX\n\
YespowerLtncg: LightningCash-Gold\n\
-o, --url=URL URL of mining server\n\
-O, --userpass=U:P username:password pair for mining server\n\
-u, --user=USERNAME username for mining server\n\
Expand Down Expand Up @@ -1198,9 +1195,6 @@ static void *miner_thread(void *userdata)
case ALGO_URX_YESPOWER_1_0_1:
max64 = 499;
break;
case ALGO_LTNCG_YESPOWER_1_0_1:
max64 = 499;
break;
}
}
if (work.data[19] + max64 > end_nonce)
Expand Down Expand Up @@ -1238,12 +1232,6 @@ static void *miner_thread(void *userdata)
);
break;

case ALGO_LTNCG_YESPOWER_1_0_1:
rc = scanhash_urx_yespower(
thr_id, work.data, work.target, max_nonce, &hashes_done
);
break;

default:
/* should never happen */
goto out;
Expand Down
4 changes: 0 additions & 4 deletions miner.h
Original file line number Diff line number Diff line change
Expand Up @@ -152,10 +152,6 @@ extern int scanhash_urx_yespower(int thr_id, uint32_t *pdata,
const uint32_t *ptarget,
uint32_t max_nonce, unsigned long *hashes_done);

extern int scanhash_ltncg_yespower(int thr_id, uint32_t *pdata,
const uint32_t *ptarget,
uint32_t max_nonce, unsigned long *hashes_done);

struct thr_info {
int id;
pthread_t pth;
Expand Down

0 comments on commit eae0dc3

Please sign in to comment.