Tanguy Pruvot
214f392778
xmr: default settings with card attributes
2017-01-15 01:42:25 +01:00
Tanguy Pruvot
94aa6b8e91
ccminer: allow 192 car. for the username
2017-01-14 18:55:36 +01:00
Tanguy Pruvot
0dd022779b
power monitoring thread + some api changes
...
based on alexis monitoring thread idea, but which only use one thread
note: other api changes will come soon, related to that
2017-01-10 02:26:28 +00:00
Tanguy Pruvot
242aa4144b
scanlog: remember sharediff for multiple nonces
...
rpc2: handle properly secondary nonce(s) + api ping time fix
be sure to fully recompile, structures are changed
2017-01-09 18:40:00 +01:00
Tanguy Pruvot
93adb56c8e
handle cryptonight light variant
...
Signed-off-by: Tanguy Pruvot <tanguy.pruvot@gmail.com>
2017-01-09 18:30:59 +01:00
Tanguy Pruvot
066a569357
import xmr, to finish
...
todo: fix jh cuda and wrong decimal diff (0xffff problem ?)
2017-01-07 01:40:59 +01:00
Tanguy Pruvot
2bbccc5ff4
wildkeccak, basic stratum port of rpc 2.0
...
scratchpad delete fix and redownload, reduce rejects
(work in progress)
2017-01-06 08:55:15 +01:00
Tanguy Pruvot
f84c83afe5
nvml: force 64bits types for mem sizes
...
size_t can be a bit... imprevisible on x86
2016-09-28 00:31:13 +02:00
Tanguy Pruvot
5a0b779434
api: use the new throughput2intensity func
2016-09-27 23:20:28 +02:00
Tanguy Pruvot
9eead77027
diff: show by default, rework shares diff storage
...
This will allow later more gpu candidates.
Note: This is an unfinished work, we keep the previous behavior for now
To finish this, all algos solutions should be migrated and submitted nonces attributes stored.
Its required to handle the different share diff per nonce and fix the possible solved count error (if 1/2 nonces is solved).
2016-09-27 09:03:24 +02:00
Tanguy Pruvot
65cd430d76
cuda: throughput2intensity function to show default
2016-09-27 00:20:48 +02:00
Tanguy Pruvot
683dc0e149
VeltorCoin Streebog based algo (veltor)
...
also known as "Thor's Riddle"... yes sure ;)
Credits to ocminer who found and "implemented" it.
Note: tested "ok" on x64 and CUDA 6.5 x86, not on 7.5 and 8.0 x86
PS: Don't have the time for a more proper CUDA implementation of Streebog
2016-08-18 18:47:37 +02:00
Tanguy Pruvot
d8e518ac3d
sia: support for nanopool http protocol
...
-o http://xxxx:port -u <addr> -p <worker>
Signed-off-by: Tanguy Pruvot <tanguy.pruvot@gmail.com>
2016-08-09 22:55:53 +02:00
Tanguy Pruvot
b31fb5316b
sia: cuda impl. and suprnova getwork over stratum
...
Signed-off-by: Tanguy Pruvot <tanguy.pruvot@gmail.com>
2016-08-06 12:56:35 +02:00
Tanguy Pruvot
5703a74e22
lbry algo (stratum only)
...
Signed-off-by: Tanguy Pruvot <tanguy.pruvot@gmail.com>
2016-07-13 09:44:13 +02:00
Tanguy Pruvot
dbb9507d2b
api: change unit of device mem to MB
...
without that, no way to read sizes > 4GB on x86 binaries
2016-07-10 13:12:16 +02:00
Tanguy Pruvot
bdc441ebd0
nvapi: link some more apis, pascal boost table
...
these informations are shown with ccminer -D -n
2016-06-24 10:06:54 +02:00
Tanguy Pruvot
85c212eaad
implement x11evo algo
...
Signed-off-by: Tanguy Pruvot <tanguy.pruvot@gmail.com>
2016-05-31 20:05:15 +02:00
Tanguy Pruvot
a7905e6802
some changes to prepare 1.8 and VS2015 support
...
also move vstudio specific cpuminer-config.h in compat/
2016-05-28 06:27:41 +02:00
Tanguy Pruvot
4a8e3d9aaa
increase the max password len to 384
...
and handle the benchmark yiimp guest user for stats
2016-05-18 23:09:54 +02:00
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...
2016-05-17 22:07:21 +02:00
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.
2016-05-15 18:18:45 +02:00
Tanguy Pruvot
7ffe65c262
blake2s algo
...
Signed-off-by: Tanguy Pruvot <tanguy.pruvot@gmail.com>
2016-03-13 16:50:32 +01:00
Tanguy Pruvot
e1fd687b9b
count pool stales + suprnova workaround
...
there was a weird job id problem not seen on yiimp stratum
2016-02-24 01:33:55 +01:00
Tanguy Pruvot
4944e1a098
mrM4D vnl, with some changes
2016-02-19 11:31:00 +01:00
Tanguy Pruvot
6e95407dcf
decred algo for longpoll/getwork
...
Signed-off-by: Tanguy Pruvot <tanguy.pruvot@gmail.com>
2016-02-11 07:10:46 +01:00
Tanguy Pruvot
e75b26feb4
sib coin algo (X11 + Streebog)
...
Signed-off-by: Tanguy Pruvot <tanguy.pruvot@gmail.com>
2015-12-31 19:11:48 +01:00
Tanguy Pruvot
e9b88b45e4
prepare the 1.7 release
2015-11-02 17:52:24 +01:00
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...
2015-10-24 09:58:25 +02:00
Tanguy Pruvot
dec6dbed77
api: add best share diff and last share time
...
best share diff require --show-diff
shown in the "pool" command
2015-10-22 15:11:16 +02:00
Tanguy Pruvot
c3d10db873
algos: move cmdline algo/alias parser in a func
2015-10-15 08:49:40 +02:00
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
2015-10-14 20:21:14 +02:00
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
2015-10-12 08:46:13 +02:00
Tanguy Pruvot
8fbfe2cfda
add gpulog() function helper, simple and multi-threads
...
when using multiple cpu threads per gpu, use the T prefix, ex:
[2015-10-11 09:52:49] GPU #0 : app clocks set to P0 (3600/1228)
vs
[2015-10-11 09:52:51] GPU T0: MSI GTX 960, 5953.35 kH/s
Only thr_id is required, the function take care of the dev id
2015-10-11 10:46:05 +02:00
Tanguy Pruvot
58c0bb5c02
intensity: fix typo and drop old function
2015-10-11 08:39:07 +02:00
Tanguy Pruvot
c6dcc5e5cf
benchmark: show mem and default throughput in results
...
and prepare a new function to get the default intensity
also, take care of multiple threads per gpu...
2015-10-11 04:38:28 +02:00
Tanguy Pruvot
c7cfe0e2ca
Fix windows linkage, C/C++ mismatch
2015-10-11 00:55:22 +02:00
Tanguy Pruvot
ab5cc7162e
refactor: create bench.cpp and algos.h
...
Also enhance multi-thread benchmark synchro. with pthread barriers
2015-10-11 00:10:27 +02:00
Tanguy Pruvot
b641bfdf8b
diff: rename functions like cpuminer-multi
...
more proper, intuitive...
2015-10-06 23:37:13 +02:00
Tanguy Pruvot
3f589cc4db
restore the whirlpool algo
2015-10-06 23:37:07 +02:00
Tanguy Pruvot
e1c4b3042c
algos: add functions to free allocated resources
...
Will be used later for algo switching
not really tested yet...
2015-09-25 07:51:57 +02:00
Tanguy Pruvot
ec054db317
Show shares diff on longpoll pools too
...
and remove unused remains of old difficulty functions
2015-09-24 13:23:24 +02:00
Tanguy Pruvot
5308898d1c
start v1.7, apply new prototypes to all algos
2015-09-23 15:42:17 +02:00
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...
2015-09-23 14:44:59 +02:00
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...
2015-09-17 23:45:03 +02:00
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>
2015-08-24 08:44:34 +02:00
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>
2015-08-22 15:01:51 +02:00
Tanguy Pruvot
e3548f46f3
drop animecoin support
...
no more really minable... just minable in french
2015-08-22 12:35:22 +02:00
Tanguy Pruvot
d4e191610e
Import and adapt lyra2v2
...
not tested on windows and with SM <= 5
2015-08-18 09:27:11 +02:00
Tanguy Pruvot
3788fef9fd
Restore whirlpoolx algo
2015-08-15 06:53:40 +02:00