Con Kolivas
|
ab0cc58cb4
|
Merge branch 'master' into usb-dev
|
2013-02-15 23:15:11 +11:00 |
|
Con Kolivas
|
0f7ab3670c
|
Only continue submitting shares with mining.resume support on stratum when the session id matches.
|
2013-02-15 23:11:13 +11:00 |
|
Con Kolivas
|
be4705a003
|
Provide support for mining.resume with stratum, currently re-authorising after successful resumption pending finalising of the protocol process.
|
2013-02-15 23:05:29 +11:00 |
|
Con Kolivas
|
4cde791e9f
|
Provide basic framework for restarting stratum depending on whether resume support exists or not.
|
2013-02-15 21:31:44 +11:00 |
|
Con Kolivas
|
c29df9760f
|
Abstract out the setting up of the stratum curl socket.
|
2013-02-15 21:03:39 +11:00 |
|
Con Kolivas
|
16c7c983ae
|
Free sessionid in clean_work and remove redundant setting of strings to NULL since the whole work struct is zeroed.
|
2013-02-15 20:27:07 +11:00 |
|
Con Kolivas
|
8fdf6d5c64
|
Only clear stratum shares mandatorily on stratum dropouts when the pool does not support resume.
|
2013-02-15 18:34:54 +11:00 |
|
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.
|
2013-02-15 17:48:13 +11:00 |
|
Con Kolivas
|
7e8019acdd
|
Do as much outside of mutex locking of sshare_lock as possible.
|
2013-02-15 16:13:24 +11:00 |
|
Con Kolivas
|
7551b88d00
|
Remove last reference to struct work used outside the sshare_lock in submit_work_thread
|
2013-02-15 16:09:36 +11:00 |
|
Con Kolivas
|
ebb99e5a8d
|
Unlock the sshare_lock in submit_work_thread when all references to work and sshare are complete.
|
2013-02-15 16:05:21 +11:00 |
|
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.
|
2013-02-15 15:36:29 +11:00 |
|
Con Kolivas
|
c851f39598
|
Store session id for stratum if the pool supports it for future mining.resume support.
|
2013-02-15 14:46:30 +11:00 |
|
Con Kolivas
|
040cf6d3b8
|
Merge pull request #385 from kanoi/hotplug
API.java allow partial reads
|
2013-02-14 13:28:36 -08:00 |
|
Kano
|
00be617ce1
|
API.java allow partial reads
|
2013-02-15 01:36:50 +11:00 |
|
Con Kolivas
|
48c841318e
|
Merge pull request #384 from kanoi/hotplug
debug_cb buffer type warning
|
2013-02-12 22:48:54 -08:00 |
|
Con Kolivas
|
77d1496b58
|
Merge branch 'usb-dev' of github.com:ckolivas/cgminer into usb-dev
|
2013-02-13 17:47:43 +11:00 |
|
Kano
|
c432c655f7
|
debug_cb buffer type warning
|
2013-02-13 14:50:55 +11:00 |
|
Con Kolivas
|
a691cc5574
|
Merge pull request #383 from kanoi/hotplug
MMQ rewrite the last of the old scanhash loop and drastically reduce CPU
|
2013-02-12 17:06:40 -08:00 |
|
Kano
|
b9968156ba
|
MMQ rewrite the last of the old scanhash loop and drastically reduce CPU
|
2013-02-13 11:15:20 +11:00 |
|
Con Kolivas
|
20b5ebbc95
|
hash_sole_work can be static
|
2013-02-11 15:28:41 +11:00 |
|
Con Kolivas
|
266d31271a
|
Make the numbuf larger to accept larger scrypt parameters.
|
2013-02-10 15:07:49 +11:00 |
|
Con Kolivas
|
c28e2238c6
|
Merge branch 'master' into usb-dev
|
2013-02-10 13:29:25 +11:00 |
|
Con Kolivas
|
775a1abc06
|
Keep the unique id of each work item across copy_work to prevent multiple work items having the same id.
|
2013-02-10 13:28:06 +11:00 |
|
Con Kolivas
|
61a3e1b1d1
|
Merge pull request #382 from kanoi/hotplug
USB tidy up requests + Hotplug
|
2013-02-09 02:36:27 -08:00 |
|
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.
|
2013-02-09 21:12:03 +11:00 |
|
Con Kolivas
|
81b84d4f7b
|
Provide a noop thread_enable function for drivers that don't support it.
|
2013-02-09 19:59:36 +11:00 |
|
Con Kolivas
|
b884d11a23
|
Provide a noop thread_shutdown function for drivers that don't support it.
|
2013-02-09 19:56:45 +11:00 |
|
Con Kolivas
|
2c28eefc45
|
Provide a noop hw_error function for drivers that don't support it.
|
2013-02-09 19:54:54 +11:00 |
|
Con Kolivas
|
210537198c
|
Provide a noop prepare_work for drivers that don't support it.
|
2013-02-09 19:52:00 +11:00 |
|
Con Kolivas
|
b9f5b48c08
|
Provide a noop thread_init for drivers that don't support it.
|
2013-02-09 19:50:07 +11:00 |
|
Con Kolivas
|
8e12a05b47
|
Provide a noop can_limit_work for devices that don't support it.
|
2013-02-09 19:48:11 +11:00 |
|
Con Kolivas
|
5b22f092d9
|
Provide a noop thread_prepare function for drivers that don't use thread_prepare.
|
2013-02-09 19:36:38 +11:00 |
|
Con Kolivas
|
5d581cb5d7
|
Use blank_get_statline_before for GPU devices that don't support adl monitoring.
|
2013-02-09 19:27:57 +11:00 |
|
Con Kolivas
|
2c3c9e5b55
|
Provide a noop get_stats function for drivers that don't support it.
|
2013-02-09 19:25:24 +11:00 |
|
Con Kolivas
|
de48ccca0e
|
Provide a blank get_statline for drivers that don't support it.
|
2013-02-09 19:22:13 +11:00 |
|
Con Kolivas
|
b3d9477eb7
|
Provide a blank get_statline_before function for drivers that don't have one.
|
2013-02-09 18:18:52 +11:00 |
|
Con Kolivas
|
f2380eab4c
|
Fill drivers missing reinit_device with a noop version.
|
2013-02-09 15:10:10 +11:00 |
|
Kano
|
5d986852b2
|
add 'count' to cumstomsummarypage 'calc'
|
2013-02-08 10:01:22 +11:00 |
|
Kano
|
530e3b0172
|
hotplug use get_thread() where appropriate
|
2013-02-08 02:38:37 +11:00 |
|
Kano
|
6fb32f7b5d
|
convert sleep(const) to nmsleep()
|
2013-02-08 02:32:27 +11:00 |
|
Kano
|
b9c19a9353
|
remove empty #ifdef
|
2013-02-08 02:20:04 +11:00 |
|
Kano
|
bc5755233c
|
call a separate get_devices() with locking, as required
|
2013-02-08 02:12:09 +11:00 |
|
Kano
|
1c69417def
|
usbutils - avoid free cgusb twice
|
2013-02-08 01:44:43 +11:00 |
|
Kano
|
983fe2b0c0
|
usbutils hotplug v0.1
|
2013-02-08 01:42:36 +11:00 |
|
Kano
|
296eab26b4
|
Report USB nodev as ZOMBIE on the screen
|
2013-02-08 01:34:48 +11:00 |
|
Con Kolivas
|
3c91b292a2
|
Merge branch 'master' into usb-dev
|
2013-02-07 18:02:38 +11:00 |
|
Con Kolivas
|
5f8d53b84a
|
Change file modes.
|
2013-02-07 17:55:02 +11:00 |
|
Con Kolivas
|
47db8e99be
|
Bump version to 2.10.5
|
2013-02-07 16:41:39 +11:00 |
|
Con Kolivas
|
b8e20d078e
|
News update.
|
2013-02-07 16:40:31 +11:00 |
|