commit a9d3c1ffdb
Author: Tanguy Pruvot <tanguy.pruvot@gmail.com>
Date: Thu May 21 05:39:24 2015 +0200
multipool: last changes before squashed merge
and fix net diff on wallets.. was longpoll specific
commit a63f0024f3
Author: Tanguy Pruvot <tanguy.pruvot@gmail.com>
Date: Thu May 21 05:02:27 2015 +0200
update api sample for the protocol 1.5
commit adda14b22e
Author: Tanguy Pruvot <tanguy.pruvot@gmail.com>
Date: Thu May 21 04:43:25 2015 +0200
stats: store pool number in scanlog
commit e1a0274b01
Author: Tanguy Pruvot <tanguy.pruvot@gmail.com>
Date: Thu May 21 03:36:15 2015 +0200
api: switchpool and new pool stats variables (API v1.5)
add accepted/rej by pool, wait time on conditional, net diff and rate
also add scantime per pool config option and do some pool cleanup..
commit 1a30450ad2
Author: Tanguy Pruvot <tanguy.pruvot@gmail.com>
Date: Wed May 20 06:39:09 2015 +0200
prevent concurrent pool switching
and limit condtionnal wait messages to the first thread/device
commit e3922c7a33
Author: Tanguy Pruvot <tanguy.pruvot@gmail.com>
Date: Wed May 20 05:39:45 2015 +0200
add some pool rotate options, like pool time-limit
update sample pools.conf for time rotation
commit 312bd90541
Author: Tanguy Pruvot <tanguy.pruvot@gmail.com>
Date: Wed May 20 04:31:19 2015 +0200
do not try to restart threads from threads
Start inconditionally the stratum and longpoll threads,
these threads are just waiting a tq_push() if unused...
so add some checks to know if vars are set for the right pool
commit d4a9428fef
Author: Tanguy Pruvot <tanguy.pruvot@gmail.com>
Date: Wed May 20 01:06:31 2015 +0200
pools: add name and removed attributes
also increase max defined pools to 8
to be tested on windows..
commit d840d683ec
Author: Tanguy Pruvot <tanguy.pruvot@gmail.com>
Date: Tue May 19 22:33:11 2015 +0200
parse json config file pools array
commit d6c29b1f7f
Author: Tanguy Pruvot <tanguy.pruvot@gmail.com>
Date: Tue May 19 03:29:30 2015 +0200
multi-pools: prepare storage/switch of credentials
for the moment:
- allow the storage of multiple -o params (and user/pass)
- allow a failover pool on connection failed
- switch to the next pool with the "seturl" api remote command
- longpoll to stratum switch (reverse to check...)
todo: mix stratum/getwork, new api commands, json config...
commit 2d6b3fddf6
Author: Tanguy Pruvot <tanguy.pruvot@gmail.com>
Date: Fri May 22 08:26:40 2015 +0200
multipool: increase stability, but not 100% perfect
several problems fixed:
- submit to the pool set in work (source pool)
- longpoll curl timeout could be too high and could lock the switch
- mutexes cant be copied on windows (stratum global var to fully remove later)
I linked the -T timeout option to curl and tried to remove all fixed timeout values
commit 6fd935c369
Author: Tanguy Pruvot <tanguy.pruvot@gmail.com>
Date: Fri May 22 11:23:07 2015 +0200
stratum: remove last rpc_ vars in stratum thread
commit ee9c821525
Author: Tanguy Pruvot <tanguy.pruvot@gmail.com>
Date: Sat May 23 03:53:50 2015 +0200
stratum: do not alloc empty merkle tree
commit 69852a2874
Author: Tanguy Pruvot <tanguy.pruvot@gmail.com>
Date: Sat May 23 04:25:12 2015 +0200
stratum: properly free jobs on disconnect
Signed-off-by: Tanguy Pruvot <tanguy.pruvot@gmail.com>
was only made on the wallets with getmininginfo
Todo: double check for all algos/pools
tested ok on x11, lyra2, skein, skein2, zr5 stratum/longpoll
Scrypt-Jane pool net diff seems incorrect, disabled
Neoscrypt could be different also (untested, disabled)...
The core problem was the cuda hefty Thread per block set to high
but took me several hours to find that...
btw... +25% in heavy 12500 with 256 threads per block... vs 128 & 512
if max reg count is set to 80...
Was maybe my fault, but the benchmark mode was
always recomputing from nonce 0.
Also fix blake if -d 1 is used (one thread but second gpu)
stats: do not use thread id as key, prefer gpu id...
There was a different behavior on linux and visual studio
That was making it hard to link functions correctly
That remove some ifdef / extern "C" requirements
note about x86 releases, x86 nvml.dll is not installed on Windows x64!
Displayed data is the average of the last 50 scans in the 5 last minutes
Also move cuda common functions in a new file (cuda.cu)
Signed-off-by: Tanguy Pruvot <tanguy.pruvot@gmail.com>