Tanguy Pruvot
a7905e6802
some changes to prepare 1.8 and VS2015 support
...
also move vstudio specific cpuminer-config.h in compat/
9 years ago
Tanguy Pruvot
1b124720fe
fix vote default value for suprnova
9 years ago
Tanguy Pruvot
b6a2c5c2ec
handle option --shares-limit like sgminer --shares
...
--shares alone was confusing imo, but it also works on command line
Allowed in multi pool settings too...
9 years ago
Tanguy Pruvot
dcbcf6ba7e
stratum: improve and add new methods for pool benchmark/stats
...
will allow to submit some device benchmark data to compute algo
power usage and profitability.
Introduce two new methods mining.get_algo and mining_get_stats
These methods will be used with yiimp stratum with a special benchmark option
Note: only the first card is handled for the moment.
also add stratum mining.ping support (like cgminer 4.7.1+) and prevent disconnect
on unknown methods, reply it is unsupported.
9 years ago
Tanguy Pruvot
838f108dd4
decred: last vote bit should not be changed
9 years ago
Tanguy Pruvot
446e1abd66
decred: keep first protocol without the vote arg
...
argh... suprnova again...
9 years ago
alexis78
be1f64446a
vanilla: sync with MrM4D, remove SSE2 midstate computation
...
was not useful and hard to read...
9 years ago
Tanguy Pruvot
054af6526c
decred: link the --vote parameter
...
without param or 0 = no vote, valid choices will start to 1..
stratum + getwork
9 years ago
Tanguy Pruvot
5a69056ee5
blake2s cleanup
9 years ago
Tanguy Pruvot
7ffe65c262
blake2s algo
...
Signed-off-by: Tanguy Pruvot <tanguy.pruvot@gmail.com>
9 years ago
Tanguy Pruvot
24f452adf6
decred: missed --help
9 years ago
Tanguy Pruvot
d58490911a
decred: remove some useless double flip
9 years ago
Tanguy Pruvot
35738cec23
api: add stales and pools algo/name
...
+ remove hardcoded stales check on suprnova...
9 years ago
Tanguy Pruvot
e1fd687b9b
count pool stales + suprnova workaround
...
there was a weird job id problem not seen on yiimp stratum
9 years ago
Tanguy Pruvot
099195e39d
decred: use given extradata...
9 years ago
Tanguy Pruvot
f2f11b2331
getwork: fix reggression with normal work size
9 years ago
Tanguy Pruvot
7a62bf37fa
decred: a bit more clean...
9 years ago
Tanguy Pruvot
a823cca7f9
decred: allow custom extranonce sizes
...
the extranonce is already placed after header in job.coinbase
9 years ago
Tanguy Pruvot
4944e1a098
mrM4D vnl, with some changes
9 years ago
Tanguy Pruvot
7c9ec8629f
decred: handle a second nonce
9 years ago
Tanguy Pruvot
6cd53a2305
decred: quick fix for low net diff (testnet)
9 years ago
Tanguy Pruvot
b0617ba0fc
Revert "decred: prepare full stratum support"
...
This reverts commit 4e769915d8
.
proper v1.7.3 for yiimp
9 years ago
Tanguy Pruvot
4e769915d8
decred: prepare full stratum support
9 years ago
Tanguy Pruvot
7d4c48d1d8
1.7.3 stratum test
9 years ago
Tanguy Pruvot
7fd2df5ba9
stratum: missing bloc height notif + range
9 years ago
Tanguy Pruvot
9bb9af49b2
decred: stratum tests with extranonce field
...
This implementation doesnt compute the merkle root, but allow
to mine on yiimp with the help of decred extradata fields.
Signed-off-by: Tanguy Pruvot <tanguy.pruvot@gmail.com>
9 years ago
Tanguy Pruvot
fc27c25436
windows builds cleanup
9 years ago
Tanguy Pruvot
6e95407dcf
decred algo for longpoll/getwork
...
Signed-off-by: Tanguy Pruvot <tanguy.pruvot@gmail.com>
9 years ago
xCoreDev
2e16d00f63
vanilla algo (Blake256 8 rounds - double sha256)
9 years ago
Tanguy Pruvot
e75b26feb4
sib coin algo (X11 + Streebog)
...
Signed-off-by: Tanguy Pruvot <tanguy.pruvot@gmail.com>
9 years ago
Tanguy Pruvot
a4404bc325
Add advanced resume options for conditional mining
...
only available for single pool, in multi, max-xxx rotates the pool
9 years ago
Tanguy Pruvot
be73cd1ae0
improve the device mapping and a possible segfault
...
when using -n, work_restart array was not allocated
9 years ago
Tanguy Pruvot
e4476a5eee
reduce crashes on debug tests
9 years ago
Tanguy Pruvot
2247605d23
quark: add support for SM 2 devices
...
todo: use nonce vectors for the second branch
GPU #0 : Gigabyte GTX 460, 261.26 kH/s
accepted: 2/2 (diff 0.046), 254.36 kH/s yay!!!
Signed-off-by: Tanguy Pruvot <tanguy.pruvot@gmail.com>
9 years ago
Tanguy Pruvot
21115b7fc6
scrypt: link texture-cache parameter
9 years ago
Tanguy Pruvot
e50556b637
various changes, cleanup for the release
...
small fixes to handle better the multi thread per gpu
explicitly report than quark is not compatible with SM 2.1 (compact shuffle)
9 years ago
Tanguy Pruvot
1e3db41a8d
multialgo: clear hashrate stats on switch
9 years ago
Tanguy Pruvot
e9b88b45e4
prepare the 1.7 release
9 years ago
Tanguy Pruvot
d3e2088398
basic pool algo switch (without free barrier)
...
not really proper but should works for 2 "small" algos.
just put the "algo" param in each pools config
9 years ago
Tanguy Pruvot
113e22de2e
blake: prevent empty scan ranges with multiple gpus
...
in some cases, an empty scan range was possible in benchmark..
9 years ago
Tanguy Pruvot
61ff92b5b4
never interrupt global benchmark with found nonces
...
fix some algo weird hashrates (like blake)
and reset device between algos, for better accuracy
but this reset doesnt seems enough to bench all algos correctly...
to test on linux, could be a driver issue...
heavy: fix first alloc and indent with tabs...
9 years ago
Tanguy Pruvot
47f309ffb4
ifdef some unused kernels on SM5+
...
no need to build both (mine and sm variants)
and put global hashrate to 0 while waiting...
9 years ago
Tanguy Pruvot
2673b3aeff
stratum: hide timeout warnings while waiting
...
this timeout is not important, we reconnect after
9 years ago
Tanguy Pruvot
e12d666d36
pool switch: add thr_id param to handle a future barrier
...
Switching to a pool with a different algo will require a barrier
to free ressources, like what was made in the global benchmark.
add also the algo in pool structure...
9 years ago
Tanguy Pruvot
dec6dbed77
api: add best share diff and last share time
...
best share diff require --show-diff
shown in the "pool" command
9 years ago
Tanguy Pruvot
e90ade048a
ndevs: get vendor names on windows too
...
ccminer -n 2>NUL
GPU #0 : SM 5.2 GeForce GTX 970
GPU #1 : SM 5.0 Gigabyte GTX 750 Ti
GPU #2 : SM 5.2 ASUS GTX 970
note: nvml destroy is made in proper_exit function
9 years ago
Tanguy Pruvot
59a6cd133b
nvapi: x86 can also get sub vendor ids
9 years ago
Tanguy Pruvot
c3d10db873
algos: move cmdline algo/alias parser in a func
9 years ago
Tanguy Pruvot
5a08c21355
diff: store solved blocs count, update the api
...
Also show the real target diff on pools for the algos with a factor (lyra)
require the --show-diff parameter, may be used as default in the final 1.7
9 years ago
Tanguy Pruvot
9dfa757dc7
warn on cuda errors + various small changes
...
The full benchmark can now be launched with "ccminer --benchmark"
add a new helper function which log a warning with last cuda error
(not shown with the quiet option) : CUDA_LOG_ERROR();
it can be used where miner.h is included (.c/.cpp/.cu)
fix x14 (in ccminer.cpp), a break was missing in switch..case
9 years ago