Con Kolivas
|
5412323e26
|
Fix memory leak with share submission on GPU work structures as discovered by twobitcoins.
|
12 years ago |
Kano
|
f24fab3fd4
|
Show pool number in switch message
|
12 years ago |
Con Kolivas
|
e0196a3307
|
Don't start testing any pools with the watchpool thread if any of the test threads are still active.
|
12 years ago |
Con Kolivas
|
81c02123f8
|
Set pool died on failed testing to allow idle flag and time to be set.
|
12 years ago |
Con Kolivas
|
6c77e9a884
|
Perform pool_resus on all pools that are found alive with the test pool threads.
|
12 years ago |
Con Kolivas
|
d932a36c46
|
Use pool_unworkable in select_balanced as well.
|
12 years ago |
Con Kolivas
|
90a1114a46
|
Differentiate pool_unusable from pool_unworkable.
|
12 years ago |
Con Kolivas
|
3b84131f10
|
Keep a connection open on higher priority stratum pools to fail back to them.
|
12 years ago |
Con Kolivas
|
f3ce5777a2
|
Rename threads according to what pool they're associated with as well.
|
12 years ago |
Con Kolivas
|
9b34d82154
|
Set the wrong bool in pool_active
|
12 years ago |
Con Kolivas
|
de28944328
|
Revert "Rollback breakage to 81567e515707891837f52bc3aac7d5916dfff5a2"
This reverts commit a8863995de .
This should work now...
|
12 years ago |
ckolivas
|
8c87807519
|
Start the stratum thread only if we successfully init and authorise it, otherwise unset the init flag.
|
12 years ago |
ckolivas
|
e746ed6412
|
Make the initialisation of the stratum thread more robust allowing the watchpool thread safe access to it after the stratum thread is started.
|
12 years ago |
Con Kolivas
|
d7c4be30ba
|
Only set stratum auth once to prevent multiple threads being started.
|
12 years ago |
Con Kolivas
|
3db4d6f0eb
|
Display select return value on select fail in stratum thread.
|
12 years ago |
Con Kolivas
|
a8863995de
|
Rollback breakage to 81567e5157
|
12 years ago |
Con Kolivas
|
a5d35e822a
|
Only bypass unusable pools if they're not the selected ones.
|
12 years ago |
Con Kolivas
|
1468feb0d3
|
Find the first usable pool in preference to the current pool in select_pool for work.
|
12 years ago |
Con Kolivas
|
ade8c6c79c
|
Add a pool_unusable function which checks if a pool is stratum but not active to use within switch_pools.
|
12 years ago |
Con Kolivas
|
81567e5157
|
Perform pool resus on pools that were not set as the initial pool at startup.
|
12 years ago |
Con Kolivas
|
c7c21e6c37
|
Revert "Clear the pool idle flag only on the pool chosen at startup, allowing it to be cleared by the watchpool thread for the other pools."
This reverts commit 370e8fc862 .
|
12 years ago |
Con Kolivas
|
370e8fc862
|
Clear the pool idle flag only on the pool chosen at startup, allowing it to be cleared by the watchpool thread for the other pools.
|
12 years ago |
Con Kolivas
|
e501db143d
|
Allow pools to be resuscitated on first startup by the watchpool thread.
|
12 years ago |
Con Kolivas
|
5221662557
|
Check all pools simultaneously at startup switching to the first alive one to speed up startup.
|
12 years ago |
Con Kolivas
|
12553004c5
|
Do not continue work from a stratum pool where the connection has been interrupted.
|
12 years ago |
Con Kolivas
|
bba99bd88c
|
Show mechanism of stratum interruption if select times out.
|
12 years ago |
Con Kolivas
|
011ea64096
|
Make stratum connection interrupted message higher priority to be visible at normal logging levels.
|
12 years ago |
Kano
|
0eafc8b9fe
|
API add 'Network Difficulty' to 'coin'
|
12 years ago |
Kano
|
540f3e89bc
|
Setup BFLSC support
|
12 years ago |
ckolivas
|
386ea2dffb
|
Instead of keeping track of when the last work item was generated to keep stratum connections open, keep them open if any shares have been submitted awaiting a response.
|
12 years ago |
Kano
|
2f6660e83f
|
configure - set USE_USBUTILS when usbutils is required and use it in the code
|
12 years ago |
Con Kolivas
|
016f065f69
|
Clear last pool work on switching pools if the current pool supports local work generation or we are in failover only mode.
|
12 years ago |
Kano
|
120e9a072d
|
make rw locks: mining_thr_lock and devices_lock
|
12 years ago |
Kano
|
be8cadbc46
|
Hotplug - allow setting interval via --hotplug or API
|
12 years ago |
Kano
|
97cb77d18a
|
curses - fix - put a dev_width inside #ifdef
|
12 years ago |
Kano
|
e35e8ae135
|
Implement and use usb_cleanup() on shutdown or restart
|
12 years ago |
Kano
|
c14f2ec642
|
API V1.25 - add 'Last Valid Work' time for each device
|
12 years ago |
Kano
|
cc3869e5ce
|
api -> drv
|
12 years ago |
Con Kolivas
|
2c3a946cf9
|
Update a pool's last work time when the work is popped as well as staged.
|
12 years ago |
Kano
|
42a01e7b37
|
Update diff stale: total and pools when stratum throws away shares
|
12 years ago |
Con Kolivas
|
b4cac54a7e
|
Keep stratum connections open for 2 minutes after the last work item was staged to allow stray shares to be submitted on pool switching.
|
12 years ago |
Con Kolivas
|
d9d5a1a0b6
|
Speed up watchdog interval and therefore display updates to 2 seconds.
|
12 years ago |
Con Kolivas
|
5a3b374962
|
Update copyright dates.
|
12 years ago |
Con Kolivas
|
d16d4928f7
|
Fix --benchmark generating valid work for cgminer.
|
12 years ago |
ckolivas
|
6a0882f05b
|
Use the sessionid as passed on stratum connect to attempt to resume a connection once and then clear it if it fails, to use a new connection.
|
12 years ago |
ckolivas
|
68d691093c
|
Move to storing the nonce1 in the work struct instead of the sessionid for the now defunct first draft mining.resume protocol.
|
12 years ago |
Con Kolivas
|
fce5434975
|
Add a get_queued function for devices to use to retrieve work items from the queued hashtable.
|
12 years ago |
Luke Dashjr
|
0847d45867
|
Bugfix: Duplicate stratum sessionid when copying work, to avoid double-free
|
12 years ago |
Con Kolivas
|
fda6d46e95
|
Add the choice of hash loop to the device driver, defaulting to hash_sole_work if none is specified.
|
12 years ago |
Con Kolivas
|
254e25ac7f
|
Add comments.
|
12 years ago |