miner.h


Log

Author Commit Date CI Message
Kano 6b62c402 2013-08-14T10:42:52 API/miner.php add some % fields
Con Kolivas c8aac741 2013-08-13T06:09:42 Only perform the bin2hex on nonce2 data if it's required for stratum submission, thereby removing the last conversion of that type from stratum work generation.
Con Kolivas 87ae66c7 2013-08-13T05:49:32 Create a work data template when receiving stratum notification, allowing a simple memcpy of the merkle root avoiding more hex2bin conversions on each work generation.
Con Kolivas 34bc106d 2013-08-13T04:57:04 Export the workpadding char in miner.h
Con Kolivas 11bcf2b3 2013-08-12T11:40:17 Rename work gbt_coinbase to coinbase to be in line with pool variable name.
Con Kolivas 5237bf35 2013-08-12T11:36:28 Perform merkle bin hex2bin on stratum notify to avoid doing it on each work generation.
Con Kolivas 8bc469e9 2013-08-12T11:16:46 Reuse just the one pool coinbase variable in stratum, avoiding more string functions and storage in gen_stratum_work on each work generation.
Con Kolivas 8c8ef6ff 2013-08-12T10:58:43 Rename pool gbt_coinbase variable to coinbase to combine it with the stratum coinbase data.
Con Kolivas c542e47a 2013-08-12T10:49:38 Use a nonce2 offset variable for both gbt and stratum to consolidate requirements on work generation.
Kano 309cb224 2013-08-12T08:54:11 miner.h inline semaphores increase information on failure
Con Kolivas fb94dfa0 2013-08-12T01:15:22 Cache as much of the gbt coinbase as possible to avoid doing unnecessary hex2bin conversion on every work generation with gbt.
Con Kolivas 9552f54f 2013-08-12T00:11:49 Add the ability to downgrade a write variant of the cglocks.
Con Kolivas 3e84a19c 2013-08-11T15:10:27 Fix --scrypt being required before scrypt intensities on command line or not working at all via config files.
Con Kolivas b423fe9d 2013-08-11T14:06:17 Cache the hex2bin of pool nonce1 in stratum, avoiding hex2bin on each work generation.
Con Kolivas fef649df 2013-08-11T13:47:46 Cache the binary generation of coinbase1 and 2 on stratum, avoiding a hex2bin of coinbase1 and 2 on each work generation.
Con Kolivas 2b171f7f 2013-08-09T15:12:57 Limit intensity range according to whether scrypt is in use or not.
Kano ad1572f7 2013-07-06T20:17:17 size check get_datestamp/get_timestamp and remove unused cgpu->init
Kano 385a70be 2013-07-06T19:15:59 make all statline overflow safe
Con Kolivas 563feac7 2013-06-15T20:15:00 Merge pull request #446 from kanoi/master Rework logging to mostly avoid using varargs
Kano 7eba9634 2013-06-15T22:03:56 remove varargs from logging/quit/in general as much as possible
ckolivas b8a203ab 2013-06-15T21:33:12 Don't yield when downgrading a cg ilock.
Con Kolivas 736dfb40 2013-06-15T12:35:16 Don't yield on grabbing the read lock variant of cglocks.
Con Kolivas cd9ff7f6 2013-06-15T01:28:00 Only display as many device rows as the maximum live existed at any time.
Kano 7ad9132b 2013-06-15T01:02:27 usb lock out use cg locks
Kano ad30d41f 2013-06-14T23:48:03 usb lock out transfers during open/close
Kano 84ffcbc5 2013-06-14T01:09:50 Use mining start time for device MH/U calculations
Con Kolivas 0aeb1b54 2013-06-13T13:28:48 Yield after releasing a lock in case we are on a device with limited CPU resources.
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.