Tanguy Pruvot
8db5a0bc9e
blake: change dynamic round system
...
blakecoin was conflicting with lyra2, set the rounds more properly
9 years ago
Tanguy Pruvot
ab5cc7162e
refactor: create bench.cpp and algos.h
...
Also enhance multi-thread benchmark synchro. with pthread barriers
9 years ago
Tanguy Pruvot
c2214091ae
benchmark: free last memory leaks on algo switch
...
remains my original lyra2 implementation to fix... (cuda_lyra2.cu)
I guess some kind of memory overflow force the driver to allocate
memory... but was unable to free it without device reset.
9 years ago
Tanguy Pruvot
4e1e03b891
benchmark: store all algos results + cuda fixes
...
Note: lyra2, lyra2v2 and script seems to have problems
to coexist with other algos... to run after some of them...
moved lyra2 first and skip scrypt/jane for the moment...
Only stored in memory for now.. to display a table after the bench
ccminer -a auto --benchmark
Results may be exported later to a json file...
9 years ago
Tanguy Pruvot
934555994d
benchmark: allow -a auto to bench all algos at once
9 years ago
Tanguy Pruvot
42789f1a0d
whirlpool: allow stratum compat with new coins
...
make a difference between whirlpool and whirlcoin algos (stratum)
Look like the old SHA merkleroot method doesnt work on recent coins
Doesn't affect solo mining, only pools using stratum+tcp:// protocol
9 years ago
Tanguy Pruvot
5f12943de5
whirlpool: add algo free function + vstudio
9 years ago
Tanguy Pruvot
b641bfdf8b
diff: rename functions like cpuminer-multi
...
more proper, intuitive...
9 years ago
Tanguy Pruvot
3f589cc4db
restore the whirlpool algo
9 years ago
Tanguy Pruvot
2ebcd1fbd5
neoscrypt: handle both getwork data sizes FTC/ORB
...
only affect solo mining, this patch should handle more weird cases
also set getblocktemplate param type to an empty object (ORB)
9 years ago
Tanguy Pruvot
8fb92415fb
stratum: prevent multiple bloc notifications on yaamp
...
yaamp always notify clean jobs,
was not correct for my "new bloc" detection system...
9 years ago
Tanguy Pruvot
e1c4b3042c
algos: add functions to free allocated resources
...
Will be used later for algo switching
not really tested yet...
9 years ago
Tanguy Pruvot
8ec5dd7d8e
Handle the getwork typo in neoscrypt wallets
...
allow solo mining neoscrypt coins... (FTC/UFO)
9 years ago
Tanguy Pruvot
ec054db317
Show shares diff on longpoll pools too
...
and remove unused remains of old difficulty functions
9 years ago
Tanguy Pruvot
41707760f5
stratum: force exit on pool auth failure
...
the miner was stuck instead of exiting after the retries...
9 years ago
Tanguy Pruvot
fade2b74b5
diff: cleanup after windows test
9 years ago
Tanguy Pruvot
5308898d1c
start v1.7, apply new prototypes to all algos
9 years ago
Tanguy Pruvot
4babf37256
Add --show-diff parameter and fix pool net diff
...
which display submitted block and net difficulty and is able
to detect shares above net diff (solved blocs)
Note: only made on lyra2v2 and zr5 algos
TODO: compute the found diff on all algos...
require changes in all scan hash "kernel" function parameters
to be continued...
9 years ago
Tanguy Pruvot
cd64f9b0e7
Add a new cuda-schedule parameter
...
0: cudaDeviceScheduleAuto
1: cudaDeviceScheduleSpin
2: cudaDeviceScheduleYield
4: cudaDeviceScheduleBlockingSync
Also set the best one (4) for luffa algo by default...
9 years ago
Tanguy Pruvot
6e64383b32
klaus small fixes
9 years ago
Tanguy Pruvot
9a13624c2e
check abort_flag in threads loops
...
This flag was added recently (scrypt) from cudaminer code,
and i missed some...
and prevent multiple calls to proper_exit(), one is enough...
9 years ago
Tanguy Pruvot
629d987177
Allow to load remote config files with curl
...
different samples of use:
ccminer -c http://127.0.0.1/ccminer.json
or dynamically from a web application :
ccminer -c http://127.0.0.1/ccminer/config.php?h=linux
Signed-off-by: Tanguy Pruvot <tanguy.pruvot@gmail.com>
9 years ago
Tanguy Pruvot
64e997e9d6
prepare release 1.6.6
9 years ago
Tanguy Pruvot
01f3183c31
bmw algo for MDT, with midstate
...
which could be extracted from json too
replace a satcoin by another one ;)
Signed-off-by: Tanguy Pruvot <tanguy.pruvot@gmail.com>
9 years ago
Tanguy Pruvot
e3548f46f3
drop animecoin support
...
no more really minable... just minable in french
9 years ago
Tanguy Pruvot
736f916da3
Restore default timeout (300s) for normal use
...
Was only useful to reduce pool switching problems but
some pools require a longer value.
9 years ago
Tanguy Pruvot
c9ef0b6b39
affinity: allow more than 8 cores values (and hexa)
9 years ago
Tanguy Pruvot
53cd591956
lyra2v2, bmw256 and cubehash256 cleanup + diff fix
9 years ago
Tanguy Pruvot
4b04ca8027
lyra2v2: aliases and readme
9 years ago
Tanguy Pruvot
d4e191610e
Import and adapt lyra2v2
...
not tested on windows and with SM <= 5
9 years ago
Tanguy Pruvot
3788fef9fd
Restore whirlpoolx algo
9 years ago
Tanguy Pruvot
21630d5fbc
affinity: do not default to win32
9 years ago
Tanguy Pruvot
e2f73614c0
link the no-extranonce option to the cmdline
10 years ago
Tanguy Pruvot
d923f0c1b2
solo: improve getmininginfo
10 years ago
Tanguy Pruvot
c5df142124
Add c11 algo (x11 variant)
...
Used by Chaincoin and Flaxscript
10 years ago
Tanguy Pruvot
15293d063f
remove pluck algo
...
Supcoin seems.... dead and the algo was not supported on all devices
10 years ago
Tanguy Pruvot
25a78c96b5
nvml: allow to keep modified clocks + vendors
...
--keep-clocks option prevent reset clocks on exit...
10 years ago
Tanguy Pruvot
7c5087d01c
nvml: add --plimit and --pstate parameters
...
--pstate 0 is an alternative to clocks values to set the device in P0
mode, 1 will set appl. clocks to default P1 clocks, 2 to default P2..
--plimit 150W really works on the 9xx and allow to limit/reduce the gpu usage
Note: nvml interface is only available on linux and windows x64
Signed-off-by: Tanguy Pruvot <tanguy.pruvot@gmail.com>
10 years ago
Tanguy Pruvot
f73f5f6a2e
nvml: use the right nvmlDeviceGetPciInfo_v2 api
...
so... pciutils branch is no more required on windows :p
10 years ago
Tanguy Pruvot
7661f73317
prepare the 1.6.5 release
10 years ago
Tanguy Pruvot
cb9d51c026
x64: link nvml api to allow app. clocks and P0
...
_WIN32 is also defined on x64 builds...
+ fix compat/getopt dos2unix (there was mixed CRLF)
10 years ago
Tanguy Pruvot
9aac7ca713
simplify diff factor and multiplier
10 years ago
Tanguy Pruvot
576884b199
refactor: move pool functions in pools.cpp
...
ccminer.cpp begins to be too big...
10 years ago
Tanguy Pruvot
79ee0ec264
zr5: some pok cleanup...
...
rename the var and only show warnings with --debug
10 years ago
Tanguy Pruvot
2907a7c678
zr5: add support for pok mining (getwork)
...
I dont store txs on biggest transactions to reduce memory usage.
In this case, the pok bool is not enabled for the bloc...
Signed-off-by: Tanguy Pruvot <tanguy.pruvot@gmail.com>
10 years ago
Tanguy Pruvot
39238f077d
diff: import bitcoin bignum class for conversions
...
BIGNUM is defined in OpenSSL...
10 years ago
Tanguy Pruvot
5636e2be5e
remove double reference to luffa algo
...
doomcoin is dead but the luffa algo is still used (Joincoin)..
keep doom as alias for compat... rename functions...
10 years ago
Tanguy Pruvot
d25b42e41b
Add diff-multiplier (-m) option
...
Remove -v and -m short params specific to heavycoin
Add --diff-multiplier (-m) and rename --diff to --diff-factor (-f)
--diff is kept for compat, but no more in help
This prevent using weird values like -f 0.0000125
10 years ago
Tanguy Pruvot
555504bd98
some changes related to wait stats
10 years ago
Tanguy Pruvot
2ea4635ef7
windows: scan time debug log was casted to 64bits int
10 years ago