miner.h


Log

Author Commit Date CI Message
ckolivas 065d4aab 2013-06-09T13:29:38 Fix build.
ckolivas 9b2e517f 2013-06-09T12:20:04 Use cgsem structures instead of the flaky pings in the work queue to start mining threads and remove the unused thr_info_freeze function.
ckolivas b59c3380 2013-06-06T13:08:00 Implement cgminer specific cgsem semaphores to imitate unnamed semaphore behaviour on osx which does not support them.
ckolivas 05123bf4 2013-06-05T15:50:30 Temporarily fix apple not having semtimedop by ignoring the timeout value.
Con Kolivas 727184d6 2013-06-03T11:09:36 Change the --device parameter parsing and configuration to use ranges and comma separated values.
Con Kolivas cc04d3ab 2013-05-30T11:01:29 Use a counting semaphore to signal the usb resource thread that it has work to do.
Con Kolivas 876e7e58 2013-05-29T00:01:54 Merge branch 'icarus-dev' into usbdev Conflicts: usbutils.h
Con Kolivas 6972ec62 2013-05-28T23:33:32 Execute driver shutdown sequence during kill_work.
Kano 2f94ec80 2013-05-27T23:30:18 usb separate thread for resource locking and modified windows locking code
Con Kolivas 269a8de9 2013-05-27T15:43:22 First pass rewriting serialdev into direct usb dev for avalon driver.
Con Kolivas 44736b30 2013-05-26T20:59:40 Make submit_nonce return a bool for whether it's a valid share or not.
Kano c9cc7445 2013-05-20T02:52:07 miner.h remove unused device_file and add device_data
Kano 8fe40e98 2013-05-20T02:46:58 miner.h icarus no long uses fd
Con Kolivas 000c01dc 2013-05-19T21:28:53 Create a logwin_update function which mandatorily updates the logwin and use it when input is expected to prevent display refresh delays.
Con Kolivas 01fca3e7 2013-05-19T21:28:53 Create a logwin_update function which mandatorily updates the logwin and use it when input is expected to prevent display refresh delays.
Con Kolivas 3a2008ac 2013-05-19T11:25:45 Use a persistent single separate thread for stratum share submission that uses workqueues since all stratum sends are serialised.
Con Kolivas 1a7a87c2 2013-05-11T20:29:48 Use a discrete device target for scrypt that dynamically changes to ensure we still report a work utility even if no shares are submitted such as in solo mining.
Con Kolivas 2fb6637b 2013-05-11T19:51:43 Make set_work_target a function to set a specified char as target for use elsewhere.
Con Kolivas 68196588 2013-05-09T11:39:09 Make raw sockets compile on windows
Con Kolivas 31aa4f6c 2013-05-08T21:59:58 Use raw sockets without curl for stratum communications.
Con Kolivas 009008ad 2013-04-26T12:00:44 Fix BFLSC building.
Con Kolivas f4b27907 2013-04-22T14:35:43 Remove all CPU mining code.
Con Kolivas 4597c0a1 2013-04-22T09:35:48 Provide endian_flipX functions to avoid special casing big endian in cgminer.c
Con Kolivas 8d81f1d2 2013-04-22T09:28:06 Provide a flip128 helper to simplify big endian flipping.
Con Kolivas c351f8d8 2013-04-22T09:23:13 Use flip helpers to simplify code for calculation of midstate.
Con Kolivas 62a1403b 2013-04-21T19:41:54 Move util.c exports to util.h
James Z.M. Gao 7ada22a4 2013-04-19T09:13:36 define le32toh if needed
Con Kolivas 6b714dd4 2013-04-18T14:47:46 Increment hardware error count from the one site.
Con Kolivas dbab07a1 2013-04-15T20:30:02 Only reset an avalon device with no results when there are no results consecutively.
Con Kolivas 220eb858 2013-04-08T21:26:10 Rationalise and simplify the share diff and block solve detection to a common site.
Con Kolivas 5c7a32fd 2013-04-08T21:26:10 Rationalise and simplify the share diff and block solve detection to a common site.
Con Kolivas 293b94c7 2013-04-07T01:39:20 Add API support for Avalon.
Con Kolivas 7783ab56 2013-04-06T13:01:42 Only get extra work in fill_queue if we don't have any unqueued work in the list.
Con Kolivas 97bad1ee 2013-04-06T13:01:42 Only get extra work in fill_queue if we don't have any unqueued work in the list.
Con Kolivas 67be00e4 2013-04-06T02:25:48 Create an array of 4 lots of work for avalon and cycle through them.
Con Kolivas 67c5da49 2013-04-05T21:01:42 Members of cgpu_info for avalon are not meant to be in the union.
Con Kolivas 71bae003 2013-04-05T14:52:07 First draft of port of avalon driver to new cgminer queued infrastructure.
James Z.M. Gao c9ae7150 2013-04-04T22:59:10 Compile CPU mining for win32 and win64
Kano f080db5f 2013-04-02T09:50:05 generic work structure flags for BFLSC (and usable by other drivers if needed)
Kano ea327f7b 2013-04-01T13:10:15 work queues - remove new but unnecessary functions
Kano 73616fb8 2013-04-01T00:38:19 miner.h missing extern
Kano 131e2004 2013-04-01T00:35:50 functions for handling work queues
Kano b3ae0f16 2013-03-31T21:54:32 find_work() to find work in devices work queue
Kano 956d4440 2013-03-21T15:25:10 avalon usbutils requirements
Con Kolivas 13e19de4 2013-03-17T10:15:24 Calculate work utility for devices that support target diffs of greater than 1, and update scrypt code to use it.
Kano b21747b9 2013-03-15T00:02:17 USB modify -n and --usb-dump to only show known devices or use new --usb-list-all option to see all
Con Kolivas b6e3d5b4 2013-03-14T22:34:53 Make pool adding while running asynchronous, using the pool test thread functionality.
Con Kolivas ffc8681f 2013-03-12T18:07:17 Merge pull request #403 from kanoi/bflsc USB add --usb options to limit USB device selection v0.1 + --usb-dump display brief dump if value = 0
Con Kolivas b5b3ca49 2013-03-12T22:44:41 Convert gbt_lock to a cg_lock.
Con Kolivas b8ed231f 2013-03-12T22:40:23 Add intermediate variants of cglocks that can be up or downgraded to read or write locks and use them for stratum work generation.
Con Kolivas 26ddd1fd 2013-03-12T22:31:45 Move the stratum and GBT data to be protected under a new cg_lock data_lock.
Con Kolivas fd87825b 2013-03-12T22:17:08 Convert the ch_lock to cg_lock.
Con Kolivas 0bbaaa97 2013-03-12T22:07:06 Convert the control_lock to a cg_lock.
ckolivas 18fc2df4 2013-03-11T13:23:51 Implement cg_lock write biased rwlocks.
Kano 3f50e878 2013-03-11T10:58:28 USB add --usb options to limit USB device selection v0.1
Con Kolivas 5412323e 2013-03-09T15:12:41 Fix memory leak with share submission on GPU work structures as discovered by twobitcoins.
Con Kolivas e0196a33 2013-03-09T11:33:50 Don't start testing any pools with the watchpool thread if any of the test threads are still active.
Con Kolivas c618d868 2013-03-09T09:43:40 Remove unused pthread_t typedefs from struct pool.
ckolivas e746ed64 2013-03-08T15:18:10 Make the initialisation of the stratum thread more robust allowing the watchpool thread safe access to it after the stratum thread is started.
Con Kolivas 96ae17a4 2013-03-06T15:51:33 Merge pull request #398 from kanoi/bflsc API use control_lock when switching pools + Setup BFLSC support + API add 'Network Difficulty' to 'coin'
Kano 0eafc8b9 2013-03-07T07:40:05 API add 'Network Difficulty' to 'coin'
Kano 540f3e89 2013-03-07T00:00:31 Setup BFLSC support
Kano 419083a7 2013-03-06T21:19:02 API use control_lock when switching pools
ckolivas 386ea2df 2013-03-06T14:34:17 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.
Kano 2f6660e8 2013-03-05T18:33:43 configure - set USE_USBUTILS when usbutils is required and use it in the code
Kano 120e9a07 2013-03-04T22:46:34 make rw locks: mining_thr_lock and devices_lock
Kano be8cadbc 2013-03-04T17:26:11 Hotplug - allow setting interval via --hotplug or API
Kano c14f2ec6 2013-03-03T19:33:20 API V1.25 - add 'Last Valid Work' time for each device
Con Kolivas b2b0d10a 2013-02-28T23:37:06 Merge branch 'master' into usb-dev
Con Kolivas b4cac54a 2013-02-28T23:35:31 Keep stratum connections open for 2 minutes after the last work item was staged to allow stray shares to be submitted on pool switching.
Con Kolivas 6bf79626 2013-02-23T13:59:37 Merge branch 'master' into usb-dev
ckolivas 68d69109 2013-02-22T12:55:01 Move to storing the nonce1 in the work struct instead of the sessionid for the now defunct first draft mining.resume protocol.
Con Kolivas fce54349 2013-02-18T14:14:10 Add a get_queued function for devices to use to retrieve work items from the queued hashtable.
Kano 4266245a 2013-02-16T14:15:17 Merge remote-tracking branch 'conman/master' into bflsc
Con Kolivas fda6d46e 2013-02-16T14:09:44 Add the choice of hash loop to the device driver, defaulting to hash_sole_work if none is specified.
Con Kolivas 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.
Con Kolivas e8e88bef 2013-02-16T12:28:50 Create a central point for removal of work items completed by queued device drivers.
Con Kolivas 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.
Con Kolivas 5e3253a7 2013-02-16T11:54:05 Create the hash queued work variant for use with devices that are fast enough to require a queue.
Con Kolivas ab0cc58c 2013-02-15T23:15:11 Merge branch 'master' into usb-dev
Con Kolivas 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.
Con Kolivas 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.
Con Kolivas c851f395 2013-02-15T14:46:30 Store session id for stratum if the pool supports it for future mining.resume support.
Con Kolivas 61a3e1b1 2013-02-09T02:36:27 Merge pull request #382 from kanoi/hotplug USB tidy up requests + Hotplug
Con Kolivas 5d581cb5 2013-02-09T19:27:57 Use blank_get_statline_before for GPU devices that don't support adl monitoring.
Kano bc575523 2013-02-08T02:12:09 call a separate get_devices() with locking, as required
Kano 983fe2b0 2013-02-02T09:51:47 usbutils hotplug v0.1
Con Kolivas 0244998e 2013-02-04T11:23:20 Merge branch 'master' into usb-dev
Con Kolivas d644fdf1 2013-02-04T11:19:12 Cache the coinbase length to speed up stratum work generation.
Con Kolivas 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.
Con Kolivas 5d122cad 2013-02-03T23:41:41 Provide wrappers for grabbing of thr value under the mining_thr_lock.
Kano 7abf30b2 2013-02-03T22:51:05 distinguish between drv and it's id enum now called drv_id
Kano 61ec1fe9 2013-01-30T15:02:25 mutex all access to mining_thr
Kano 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
Kano 7fbc3770 2013-01-22T21:46:21 USB move usbdev info that needs to stay around into usbinfo
Kano c1eae36f 2013-01-15T01:13:00 API stats - include pool network bytes + in miner.php
Kano 34bcc1c6 2013-01-14T11:30:11 USB automatically handle losing the device and report nodev in the API
Kano 0b3d8c89 2013-01-10T11:08:12 API zero - zero statistics - all or bestshare - with optional on screen summary
Kano f9e04a3c 2013-01-06T21:00:38 device_drv - allow .name to be changed before add_cgpu()
Kano 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