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 |
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.
|
12 years ago |
Con Kolivas
|
294cda2eb2
|
Flush queued work on a restart from the hash database and discard the work structs.
|
12 years ago |
Con Kolivas
|
e8e88beff1
|
Create a central point for removal of work items completed by queued device drivers.
|
12 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.
|
12 years ago |
Con Kolivas
|
5e3253a7cf
|
Create the hash queued work variant for use with devices that are fast enough to require a queue.
|
12 years ago |
Con Kolivas
|
649f2939f7
|
Update copyright year.
|
12 years ago |
Con Kolivas
|
0b83313161
|
Fix tv_lastupdate being made into tv_end and update the hashmeter on cycle, not opt_log_interval.
|
12 years ago |
Con Kolivas
|
e414cd055c
|
Fix tv_lastupdate being made into tv_end and update the hashmeter on cycle, not opt_log_interval.
|
12 years ago |
Con Kolivas
|
0f7ab3670c
|
Only continue submitting shares with mining.resume support on stratum when the session id matches.
|
12 years ago |
Con Kolivas
|
be4705a003
|
Provide support for mining.resume with stratum, currently re-authorising after successful resumption pending finalising of the protocol process.
|
12 years ago |
Con Kolivas
|
4cde791e9f
|
Provide basic framework for restarting stratum depending on whether resume support exists or not.
|
12 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.
|
12 years ago |
Con Kolivas
|
8fdf6d5c64
|
Only clear stratum shares mandatorily on stratum dropouts when the pool does not support resume.
|
12 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.
|
12 years ago |
Con Kolivas
|
7e8019acdd
|
Do as much outside of mutex locking of sshare_lock as possible.
|
12 years ago |
Con Kolivas
|
7551b88d00
|
Remove last reference to struct work used outside the sshare_lock in submit_work_thread
|
12 years ago |
Con Kolivas
|
ebb99e5a8d
|
Unlock the sshare_lock in submit_work_thread when all references to work and sshare are complete.
|
12 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.
|
12 years ago |
Con Kolivas
|
20b5ebbc95
|
hash_sole_work can be static
|
12 years ago |
Con Kolivas
|
775a1abc06
|
Keep the unique id of each work item across copy_work to prevent multiple work items having the same id.
|
12 years ago |
Con Kolivas
|
dafc2f775a
|
Abstract out the main hashing loop to allow us to use a separate loop for devices that are fast enough to require queued work.
|
12 years ago |
Con Kolivas
|
81b84d4f7b
|
Provide a noop thread_enable function for drivers that don't support it.
|
12 years ago |
Con Kolivas
|
b884d11a23
|
Provide a noop thread_shutdown function for drivers that don't support it.
|
12 years ago |
Con Kolivas
|
2c28eefc45
|
Provide a noop hw_error function for drivers that don't support it.
|
12 years ago |
Con Kolivas
|
210537198c
|
Provide a noop prepare_work for drivers that don't support it.
|
12 years ago |
Con Kolivas
|
b9f5b48c08
|
Provide a noop thread_init for drivers that don't support it.
|
12 years ago |
Con Kolivas
|
8e12a05b47
|
Provide a noop can_limit_work for devices that don't support it.
|
12 years ago |
Con Kolivas
|
5b22f092d9
|
Provide a noop thread_prepare function for drivers that don't use thread_prepare.
|
12 years ago |
Con Kolivas
|
5d581cb5d7
|
Use blank_get_statline_before for GPU devices that don't support adl monitoring.
|
12 years ago |
Con Kolivas
|
2c3c9e5b55
|
Provide a noop get_stats function for drivers that don't support it.
|
12 years ago |