|
c80c65ea
|
2013-02-16T12:38:53
|
|
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.
|
|
294cda2e
|
2013-02-16T12:35:16
|
|
Flush queued work on a restart from the hash database and discard the work structs.
|
|
e8e88bef
|
2013-02-16T12:28:50
|
|
Create a central point for removal of work items completed by queued device drivers.
|
|
95b20202
|
2013-02-16T12:14:13
|
|
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.
|
|
5e3253a7
|
2013-02-16T11:54:05
|
|
Create the hash queued work variant for use with devices that are fast enough to require a queue.
|
|
649f2939
|
2013-02-16T09:09:44
|
|
Update copyright year.
|
|
e414cd05
|
2013-02-16T09:07:33
|
|
Fix tv_lastupdate being made into tv_end and update the hashmeter on cycle, not opt_log_interval.
|
|
ab0cc58c
|
2013-02-15T23:15:11
|
|
Merge branch 'master' into usb-dev
|
|
0f7ab367
|
2013-02-15T23:11:13
|
|
Only continue submitting shares with mining.resume support on stratum when the session id matches.
|
|
be4705a0
|
2013-02-15T23:05:29
|
|
Provide support for mining.resume with stratum, currently re-authorising after successful resumption pending finalising of the protocol process.
|
|
4cde791e
|
2013-02-15T21:31:44
|
|
Provide basic framework for restarting stratum depending on whether resume support exists or not.
|
|
16c7c983
|
2013-02-15T20:27:07
|
|
Free sessionid in clean_work and remove redundant setting of strings to NULL since the whole work struct is zeroed.
|
|
8fdf6d5c
|
2013-02-15T18:34:54
|
|
Only clear stratum shares mandatorily on stratum dropouts when the pool does not support resume.
|
|
f60637c3
|
2013-02-15T17:48:13
|
|
Try resubmitting stratum shares every 5 seconds for up to 2 minutes if the pool session id exists and matches on failure to submit.
|
|
7e8019ac
|
2013-02-15T16:13:24
|
|
Do as much outside of mutex locking of sshare_lock as possible.
|
|
7551b88d
|
2013-02-15T16:09:36
|
|
Remove last reference to struct work used outside the sshare_lock in submit_work_thread
|
|
ebb99e5a
|
2013-02-15T16:05:21
|
|
Unlock the sshare_lock in submit_work_thread when all references to work and sshare are complete.
|
|
1bf1f4a2
|
2013-02-15T15:36:29
|
|
Add timestamps to stratum_share structs as they're generated and copy the stratum sessionid if it exists to stratum work generated.
|
|
20b5ebbc
|
2013-02-11T15:28:41
|
|
hash_sole_work can be static
|
|
c28e2238
|
2013-02-10T13:29:25
|
|
Merge branch 'master' into usb-dev
|
|
775a1abc
|
2013-02-10T13:28:06
|
|
Keep the unique id of each work item across copy_work to prevent multiple work items having the same id.
|
|
61a3e1b1
|
2013-02-09T02:36:27
|
|
Merge pull request #382 from kanoi/hotplug
USB tidy up requests + Hotplug
|
|
dafc2f77
|
2013-02-09T21:12:03
|
|
Abstract out the main hashing loop to allow us to use a separate loop for devices that are fast enough to require queued work.
|
|
81b84d4f
|
2013-02-09T19:59:36
|
|
Provide a noop thread_enable function for drivers that don't support it.
|
|
b884d11a
|
2013-02-09T19:56:45
|
|
Provide a noop thread_shutdown function for drivers that don't support it.
|
|
2c28eefc
|
2013-02-09T19:54:54
|
|
Provide a noop hw_error function for drivers that don't support it.
|
|
21053719
|
2013-02-09T19:52:00
|
|
Provide a noop prepare_work for drivers that don't support it.
|
|
b9f5b48c
|
2013-02-09T19:50:07
|
|
Provide a noop thread_init for drivers that don't support it.
|
|
8e12a05b
|
2013-02-09T19:48:11
|
|
Provide a noop can_limit_work for devices that don't support it.
|
|
5b22f092
|
2013-02-09T19:36:38
|
|
Provide a noop thread_prepare function for drivers that don't use thread_prepare.
|
|
5d581cb5
|
2013-02-09T19:27:57
|
|
Use blank_get_statline_before for GPU devices that don't support adl monitoring.
|
|
2c3c9e5b
|
2013-02-09T19:25:24
|
|
Provide a noop get_stats function for drivers that don't support it.
|
|
de48ccca
|
2013-02-09T19:22:13
|
|
Provide a blank get_statline for drivers that don't support it.
|
|
b3d9477e
|
2013-02-09T18:18:52
|
|
Provide a blank get_statline_before function for drivers that don't have one.
|
|
f2380eab
|
2013-02-09T15:10:10
|
|
Fill drivers missing reinit_device with a noop version.
|
|
530e3b01
|
2013-02-08T02:38:37
|
|
hotplug use get_thread() where appropriate
|
|
6fb32f7b
|
2013-02-08T02:32:27
|
|
convert sleep(const) to nmsleep()
|
|
bc575523
|
2013-02-08T02:12:09
|
|
call a separate get_devices() with locking, as required
|
|
983fe2b0
|
2013-02-02T09:51:47
|
|
usbutils hotplug v0.1
|
|
296eab26
|
2013-01-31T23:18:12
|
|
Report USB nodev as ZOMBIE on the screen
|
|
3c91b292
|
2013-02-07T18:02:38
|
|
Merge branch 'master' into usb-dev
|
|
38048501
|
2013-02-07T13:51:54
|
|
Do not consider every call to stratum_resumed a pool recovery unless it was actually idle.
|
|
03dff61e
|
2013-02-05T22:00:23
|
|
Merge branch 'master' into usb-dev
|
|
73b7d7b0
|
2013-02-05T21:47:26
|
|
Do not enable the pool disable on reject feature unless explicitly enabled with --disable-rejecting.
|
|
5c1f3b36
|
2013-02-05T21:34:58
|
|
Merge branch 'master' into usb-dev
|
|
f52f02e9
|
2013-01-26T21:57:09
|
|
Stratum disconnect shares - count total against stale
|
|
ffdcaed4
|
2013-02-05T21:10:18
|
|
Use sanity checking to prevent a possible overflow with invalid data being given by the pool for difficulty as reported by luke-Jr.
|
|
0244998e
|
2013-02-04T11:23:20
|
|
Merge branch 'master' into usb-dev
|
|
81025611
|
2013-02-04T11:22:08
|
|
Check for calloc failure for completeness in gen_stratum_work.
|
|
d644fdf1
|
2013-02-04T11:19:12
|
|
Cache the coinbase length to speed up stratum work generation.
|
|
0870ab75
|
2013-02-04T11:06:05
|
|
Cache the header length when generating stratum work to avoid calculating it on every work generation, and to only need one alloc+sprintf, speeding up work generation.
|
|
54029416
|
2013-02-04T10:22:10
|
|
Use heap ram for coinbase in gen_stratum_work, zeroing it before use.
|
|
51d11a28
|
2013-02-04T10:19:12
|
|
Provide a wrapper for aligning lengths of size_t to 4 byte boundaries.
|
|
5d122cad
|
2013-02-03T23:41:41
|
|
Provide wrappers for grabbing of thr value under the mining_thr_lock.
|
|
08ece33f
|
2013-02-03T22:51:51
|
|
Merge branch 'master' of https://github.com/kanoi/cgminer into kanoi-usb
|
|
7abf30b2
|
2013-02-03T22:51:05
|
|
distinguish between drv and it's id enum now called drv_id
|
|
70b5b840
|
2013-02-03T21:33:12
|
|
Merge branch 'master' of https://github.com/kanoi/cgminer into kanoi-usb
|
|
61ec1fe9
|
2013-01-30T15:02:25
|
|
mutex all access to mining_thr
|
|
212f32e5
|
2013-01-29T23:44:09
|
|
Split thr_info array into control_thr and mining_thr pointers so more mining threads can be added later
|
|
7388942b
|
2013-01-26T21:57:09
|
|
Stratum disconnect shares - count total against stale
|
|
0b3d8c89
|
2013-01-10T11:08:12
|
|
API zero - zero statistics - all or bestshare - with optional on screen summary
|
|
bad942e5
|
2013-01-08T14:06:16
|
|
increase device status string length
|
|
f9e04a3c
|
2013-01-06T21:00:38
|
|
device_drv - allow .name to be changed before add_cgpu()
|
|
a4e95cfa
|
2013-01-06T01:00:18
|
|
device_drv missing drv for cpu and incorrect test
|
|
a344deb6
|
2013-01-05T23:47:26
|
|
rename device_api -> device_drv and all related api -> drv and add a device_drv->drv enum for identifying which driver each is
|
|
7724989d
|
2013-01-05T10:40:32
|
|
diffexactone pool diff1 used for share value calculation is ffffffff... not 100000000... :P
|
|
7e2b1e80
|
2013-02-02T11:47:25
|
|
Fix memory leak on stratum share submission.
|
|
4c2f26e2
|
2013-01-02T22:34:05
|
|
zero (most) API stats
|
|
03f626e6
|
2013-01-02T21:51:09
|
|
Remember best share per pool and return in API pools
|
|
ec9b32aa
|
2012-12-31T09:15:17
|
|
Zero the best share string memory when zeroing stats.
|
|
6e2e7d36
|
2012-12-29T10:46:55
|
|
Differentiate socket full from sock full.
|
|
7f46f6e9
|
2012-12-29T10:42:45
|
|
Allow stratum to startup without notify but check it is valid before creating stratum work.
|
|
e1d7ecdd
|
2012-12-29T09:45:40
|
|
Do not try to generate stratum work unless the notify command has succeeded.
|
|
34a6c59a
|
2012-12-27T09:49:22
|
|
Reset total diff1 shares when zeroing stats as well to show correct work utility.
|
|
8958ee42
|
2012-12-26T09:38:58
|
|
Do not give the share submission failure message on planned stratum disconnects.
|
|
944af31b
|
2012-12-26T09:31:41
|
|
Parse anything in the stratum socket if it's full without waiting. Empty the socket even if a connection is not needed in case there are share returns.
|
|
dd4e5159
|
2012-12-25T23:44:26
|
|
Provide a mechanism to zero all the statistics from the menu.
|
|
d3bfee14
|
2012-12-25T23:14:21
|
|
Display the current pool diff in the status line.
|
|
fedf0f11
|
2012-12-25T14:53:44
|
|
Display block diff in status line.
|
|
98151b2e
|
2012-12-25T14:36:08
|
|
Generalise the code for solving a block to enable block solve detection with scrypt mining.
|
|
f0c1782c
|
2012-12-25T14:08:27
|
|
Generate the output hash for scrypt as well and use the one function to set share_diff.
|
|
f86e8931
|
2012-12-24T14:13:28
|
|
Use the flip80 function in regeneratehash and the correct sized hash array.
|
|
93e3c16a
|
2012-12-24T13:49:28
|
|
Stage work outside of the stgd lock to prevent attempted recursive locking in clone_available.
|
|
34879487
|
2012-12-24T13:31:45
|
|
share_diff needs to be performed on a BE version of the output hash to work, leading to false best_share values as spotted by luke-Jr.
|
|
deb9aec0
|
2012-12-24T12:54:09
|
|
Remove the unused sha224 functions.
|
|
432bfd0e
|
2012-12-24T12:39:27
|
|
Use the flip functions in hashtest.
|
|
54e218b6
|
2012-12-24T11:19:33
|
|
Simplify the setting of the nonce data field in work on submitting nonces.
|
|
69dd5aff
|
2012-12-24T10:45:57
|
|
Scrypt code does not enter the hashtest function.
|
|
9fd60bb5
|
2012-12-24T10:34:06
|
|
Merge branch 'master' of github.com:ckolivas/cgminer
|
|
df7370d0
|
2012-12-24T10:26:56
|
|
Go back to cloning available work under staged lock.
|
|
d91dc188
|
2012-12-23T15:44:43
|
|
scrypt_diff uses a uint64_t as well.
|
|
bb64799c
|
2012-12-22T08:37:43
|
|
Correct target for stratum support with scrypt mining.
|
|
b9c7f3d1
|
2012-12-19T21:31:22
|
|
Remove debugging message :P
|
|
a07e0155
|
2012-12-19T20:53:11
|
|
Stop all work from the current pool if it's a stratum pool once it is disconnected since it will be invalid upon reconnecting.
|
|
8dbb3fa2
|
2012-12-19T20:51:22
|
|
Discard all staged work from stratum pools as well as the shares upon disconnection since all the work becomes invalid.
|
|
a7128e00
|
2012-12-19T20:21:32
|
|
Use correct cbreak after 15 second delay when no pool is found alive.
|
|
4f1f5c8e
|
2012-12-19T20:04:22
|
|
Revert "Reset lagging flag after it has been used in the getwork scheduler."
This reverts commit 19267907c038a0d5e94be2b229d1e61b565e371d.
Redundant.
|
|
19267907
|
2012-12-19T14:41:42
|
|
Reset lagging flag after it has been used in the getwork scheduler.
|
|
14457a0b
|
2012-12-19T14:41:29
|
|
Allow stratum to work with scrypt.
|
|
3b910336
|
2012-12-18T22:48:56
|
|
Protect the best_share/best_diff values under control lock.
|