Browse Source

vanilla algo (Blake256 8 rounds - double sha256)

2upstream
xCoreDev 9 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 @@
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)
Sibcoin (sib) Sibcoin (sib)
Skein (Skein + SHA) Skein (Skein + SHA)
Woodcoin (Double Skein) Woodcoin (Double Skein)
Vanilla (Blake256 8-rounds - double sha256)
Vertcoin Lyra2RE Vertcoin Lyra2RE
Ziftrcoin (ZR5) Ziftrcoin (ZR5)
@ -98,8 +99,10 @@ its command line interface and options.
x14 use to mine X14Coin x14 use to mine X14Coin
x15 use to mine Halcyon x15 use to mine Halcyon
x17 use to mine X17 x17 use to mine X17
x17 use to mine X17
vanilla use to mine Vanilla (Blake256)
whirlpool use to mine Joincoin whirlpool use to mine Joincoin
whirlpoolx use to mine Vanilla whirlpoolx use to mine Vanilla (Whirlpoolx)
zr5 use to mine ZiftrCoin zr5 use to mine ZiftrCoin
-d, --devices gives a comma separated list of CUDA device IDs -d, --devices gives a comma separated list of CUDA device IDs
@ -233,10 +236,11 @@ features.
>>> RELEASE HISTORY <<< >>> RELEASE HISTORY <<<
Dec. 31th 2015 v1.7.1 Jan. 26th 2015 v1.7.1
Implement sib algo (X11 + Russian Streebog-512/GOST) Implement sib algo (X11 + Russian Streebog-512/GOST)
Whirlpool speed x2 with the midstate precompute Whirlpool speed x2 with the midstate precompute
Small bug fixes about device ids mapping (and vendor names) Small bug fixes about device ids mapping (and vendor names)
Add Vanilla algo (Blake256 8-rounds - double sha256)
Nov. 06th 2015 v1.7 Nov. 06th 2015 v1.7
Improve old devices compatibility (x11, lyra2v2, quark, qubit...) Improve old devices compatibility (x11, lyra2v2, quark, qubit...)

2
algos.h

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

4
ccminer.cpp

@ -240,6 +240,7 @@ Options:\n\
x14 X14\n\ x14 X14\n\
x15 X15\n\ x15 X15\n\
x17 X17\n\ x17 X17\n\
vanilla Blake256 (VNL)\n\
whirlcoin Old Whirlcoin (Whirlpool algo)\n\ whirlcoin Old Whirlcoin (Whirlpool algo)\n\
whirlpool Whirlpool algo\n\ whirlpool Whirlpool algo\n\
whirlpoolx WhirlpoolX (VNL)\n\ whirlpoolx WhirlpoolX (VNL)\n\
@ -778,6 +779,7 @@ static bool submit_upstream_work(CURL *curl, struct work *work)
case ALGO_BLAKE: case ALGO_BLAKE:
case ALGO_BLAKECOIN: case ALGO_BLAKECOIN:
case ALGO_BMW: case ALGO_BMW:
case ALGO_VANILLA:
// fast algos require that... // fast algos require that...
check_dups = true; check_dups = true;
default: default:
@ -1744,6 +1746,7 @@ static void *miner_thread(void *userdata)
if (max64 < minmax) { if (max64 < minmax) {
switch (opt_algo) { switch (opt_algo) {
case ALGO_BLAKECOIN: case ALGO_BLAKECOIN:
case ALGO_VANILLA:
minmax = 0x80000000U; minmax = 0x80000000U;
break; break;
case ALGO_BLAKE: case ALGO_BLAKE:
@ -1824,6 +1827,7 @@ static void *miner_thread(void *userdata)
switch (opt_algo) { switch (opt_algo) {
case ALGO_BLAKECOIN: case ALGO_BLAKECOIN:
case ALGO_VANILLA:
rc = scanhash_blake256(thr_id, &work, max_nonce, &hashes_done, 8); rc = scanhash_blake256(thr_id, &work, max_nonce, &hashes_done, 8);
break; break;
case ALGO_BLAKE: case ALGO_BLAKE:

3
util.cpp

@ -1966,6 +1966,9 @@ void print_hash_tests(void)
s3hash(&hash[0], &buf[0]); s3hash(&hash[0], &buf[0]);
printpfx("S3", hash); printpfx("S3", hash);
blake256hash(&hash[0], &buf[0], 8);
printpfx("vanilla", hash);
wcoinhash(&hash[0], &buf[0]); wcoinhash(&hash[0], &buf[0]);
printpfx("whirlpool", hash); printpfx("whirlpool", hash);

Loading…
Cancel
Save