Skip to content

Commit

Permalink
vanilla algo (Blake256 8 rounds - double sha256)
Browse files Browse the repository at this point in the history
  • Loading branch information
xCoreDev authored and tpruvot committed Jan 26, 2016
1 parent 76a2247 commit 2e16d00
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 3 deletions.
10 changes: 7 additions & 3 deletions README.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@

ccMiner release 1.7.1 (Dec 2015) "Sibcoin & Whirlpool midstate"
ccMiner release 1.7.1 (Jan 2015) "Sibcoin & Whirlpool midstate"
---------------------------------------------------------------

***************************************************************
Expand Down Expand Up @@ -46,6 +46,7 @@ Scrypt-Jane (Chacha)
Sibcoin (sib)
Skein (Skein + SHA)
Woodcoin (Double Skein)
Vanilla (Blake256 8-rounds - double sha256)
Vertcoin Lyra2RE
Ziftrcoin (ZR5)

Expand Down Expand Up @@ -98,8 +99,10 @@ its command line interface and options.
x14 use to mine X14Coin
x15 use to mine Halcyon
x17 use to mine X17
x17 use to mine X17
vanilla use to mine Vanilla (Blake256)
whirlpool use to mine Joincoin
whirlpoolx use to mine Vanilla
whirlpoolx use to mine Vanilla (Whirlpoolx)
zr5 use to mine ZiftrCoin

-d, --devices gives a comma separated list of CUDA device IDs
Expand Down Expand Up @@ -233,10 +236,11 @@ features.

>>> RELEASE HISTORY <<<

Dec. 31th 2015 v1.7.1
Jan. 26th 2015 v1.7.1
Implement sib algo (X11 + Russian Streebog-512/GOST)
Whirlpool speed x2 with the midstate precompute
Small bug fixes about device ids mapping (and vendor names)
Add Vanilla algo (Blake256 8-rounds - double sha256)

Nov. 06th 2015 v1.7
Improve old devices compatibility (x11, lyra2v2, quark, qubit...)
Expand Down
2 changes: 2 additions & 0 deletions algos.h
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ enum sha_algos {
ALGO_X14,
ALGO_X15,
ALGO_X17,
ALGO_VANILLA,
ALGO_WHIRLCOIN,
ALGO_WHIRLPOOL,
ALGO_WHIRLPOOLX,
Expand Down Expand Up @@ -82,6 +83,7 @@ static const char *algo_names[] = {
"x14",
"x15",
"x17",
"vanilla",
"whirlcoin",
"whirlpool",
"whirlpoolx",
Expand Down
4 changes: 4 additions & 0 deletions ccminer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -240,6 +240,7 @@ Options:\n\
x14 X14\n\
x15 X15\n\
x17 X17\n\
vanilla Blake256 (VNL)\n\
whirlcoin Old Whirlcoin (Whirlpool algo)\n\
whirlpool Whirlpool algo\n\
whirlpoolx WhirlpoolX (VNL)\n\
Expand Down Expand Up @@ -778,6 +779,7 @@ static bool submit_upstream_work(CURL *curl, struct work *work)
case ALGO_BLAKE:
case ALGO_BLAKECOIN:
case ALGO_BMW:
case ALGO_VANILLA:
// fast algos require that...
check_dups = true;
default:
Expand Down Expand Up @@ -1744,6 +1746,7 @@ static void *miner_thread(void *userdata)
if (max64 < minmax) {
switch (opt_algo) {
case ALGO_BLAKECOIN:
case ALGO_VANILLA:
minmax = 0x80000000U;
break;
case ALGO_BLAKE:
Expand Down Expand Up @@ -1824,6 +1827,7 @@ static void *miner_thread(void *userdata)
switch (opt_algo) {

case ALGO_BLAKECOIN:
case ALGO_VANILLA:
rc = scanhash_blake256(thr_id, &work, max_nonce, &hashes_done, 8);
break;
case ALGO_BLAKE:
Expand Down
3 changes: 3 additions & 0 deletions util.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1966,6 +1966,9 @@ void print_hash_tests(void)
s3hash(&hash[0], &buf[0]);
printpfx("S3", hash);

blake256hash(&hash[0], &buf[0], 8);
printpfx("vanilla", hash);

wcoinhash(&hash[0], &buf[0]);
printpfx("whirlpool", hash);

Expand Down

0 comments on commit 2e16d00

Please sign in to comment.