Browse Source

vanilla algo (Blake256 8 rounds - double sha256)

master
xCoreDev 8 years ago committed by Tanguy Pruvot
parent
commit
2e16d00f63
  1. 10
      README.txt
  2. 2
      algos.h
  3. 4
      ccminer.cpp
  4. 3
      util.cpp

10
README.txt

@ -1,5 +1,5 @@ @@ -1,5 +1,5 @@
ccMiner release 1.7.1 (Dec 2015) "Sibcoin & Whirlpool midstate"
ccMiner release 1.7.1 (Jan 2015) "Sibcoin & Whirlpool midstate"
---------------------------------------------------------------
***************************************************************
@ -46,6 +46,7 @@ Scrypt-Jane (Chacha) @@ -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)
@ -98,8 +99,10 @@ its command line interface and options. @@ -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
@ -233,10 +236,11 @@ features. @@ -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...)

2
algos.h

@ -38,6 +38,7 @@ enum sha_algos { @@ -38,6 +38,7 @@ enum sha_algos {
ALGO_X14,
ALGO_X15,
ALGO_X17,
ALGO_VANILLA,
ALGO_WHIRLCOIN,
ALGO_WHIRLPOOL,
ALGO_WHIRLPOOLX,
@ -82,6 +83,7 @@ static const char *algo_names[] = { @@ -82,6 +83,7 @@ static const char *algo_names[] = {
"x14",
"x15",
"x17",
"vanilla",
"whirlcoin",
"whirlpool",
"whirlpoolx",

4
ccminer.cpp

@ -240,6 +240,7 @@ Options:\n\ @@ -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\
@ -778,6 +779,7 @@ static bool submit_upstream_work(CURL *curl, struct work *work) @@ -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:
@ -1744,6 +1746,7 @@ static void *miner_thread(void *userdata) @@ -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:
@ -1824,6 +1827,7 @@ static void *miner_thread(void *userdata) @@ -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:

3
util.cpp

@ -1966,6 +1966,9 @@ void print_hash_tests(void) @@ -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);

Loading…
Cancel
Save