Con Kolivas
|
fce5434975
Add a get_queued function for devices to use to retrieve work items from the queued hashtable.
|
13 years ago |
ckolivas
|
f910476daa
Merge branch 'usb-dev' into queued_work
|
13 years ago |
ckolivas
|
22a50a5a0f
Merge branch 'usb-dev' of github.com:ckolivas/cgminer into usb-dev
|
13 years ago |
Con Kolivas
|
a7859bb416
Merge pull request #386 from luke-jr/bugfix_20130215a
|
13 years ago |
Con Kolivas
|
4fdd45af6b
Merge pull request #387 from luke-jr/bugfix_20130215b
|
13 years ago |
Luke Dashjr
|
0847d45867
Bugfix: Duplicate stratum sessionid when copying work, to avoid double-free
|
13 years ago |
Luke Dashjr
|
7473c3dc94
Bugfix: Missing pool_no parameter to applog for no-stratum-sessionid debug message
|
13 years ago |
Con Kolivas
|
fda6d46e95
Add the choice of hash loop to the device driver, defaulting to hash_sole_work if none is specified.
|
13 years ago |
Con Kolivas
|
254e25ac7f
Add comments.
|
13 years ago |
Con Kolivas
|
c80c65eac0
Add a driver specific flush_work for queued devices that may have work items already queued to abort working on them on the device and discard them.
|
13 years ago |
Con Kolivas
|
294cda2eb2
Flush queued work on a restart from the hash database and discard the work structs.
|
13 years ago |
Con Kolivas
|
e8e88beff1
Create a central point for removal of work items completed by queued device drivers.
|
13 years ago |
Con Kolivas
|
95b2020263
Create a fill_queue function that creates hashtables of as many work items as is required by the device driver till it flags the queue full.
|
13 years ago |
Con Kolivas
|
5e3253a7cf
Create the hash queued work variant for use with devices that are fast enough to require a queue.
|
13 years ago |
Con Kolivas
|
649f2939f7
Update copyright year.
|
13 years ago |
Con Kolivas
|
0b83313161
Fix tv_lastupdate being made into tv_end and update the hashmeter on cycle, not opt_log_interval.
|
13 years ago |
Con Kolivas
|
e414cd055c
Fix tv_lastupdate being made into tv_end and update the hashmeter on cycle, not opt_log_interval.
|
13 years ago |
Con Kolivas
|
ab0cc58cb4
Merge branch 'master' into usb-dev
|
13 years ago |
Con Kolivas
|
0f7ab3670c
Only continue submitting shares with mining.resume support on stratum when the session id matches.
|
13 years ago |
Con Kolivas
|
be4705a003
Provide support for mining.resume with stratum, currently re-authorising after successful resumption pending finalising of the protocol process.
|
13 years ago |
Con Kolivas
|
4cde791e9f
Provide basic framework for restarting stratum depending on whether resume support exists or not.
|
13 years ago |
Con Kolivas
|
c29df9760f
Abstract out the setting up of the stratum curl socket.
|
13 years ago |
Con Kolivas
|
16c7c983ae
Free sessionid in clean_work and remove redundant setting of strings to NULL since the whole work struct is zeroed.
|
13 years ago |
Con Kolivas
|
8fdf6d5c64
Only clear stratum shares mandatorily on stratum dropouts when the pool does not support resume.
|
13 years ago |
Con Kolivas
|
f60637c3f9
Try resubmitting stratum shares every 5 seconds for up to 2 minutes if the pool session id exists and matches on failure to submit.
|
13 years ago |
Con Kolivas
|
7e8019acdd
Do as much outside of mutex locking of sshare_lock as possible.
|
13 years ago |
Con Kolivas
|
7551b88d00
Remove last reference to struct work used outside the sshare_lock in submit_work_thread
|
13 years ago |
Con Kolivas
|
ebb99e5a8d
Unlock the sshare_lock in submit_work_thread when all references to work and sshare are complete.
|
13 years ago |
Con Kolivas
|
1bf1f4a217
Add timestamps to stratum_share structs as they're generated and copy the stratum sessionid if it exists to stratum work generated.
|
13 years ago |
Con Kolivas
|
c851f39598
Store session id for stratum if the pool supports it for future mining.resume support.
|
13 years ago |