miner.h


Log

Author Commit Date CI Message
Kano 97a13df4 2013-12-23T06:58:26 Merge remote-tracking branch 'drill/master' into drill
Con Kolivas 24d65294 2013-12-22T14:29:38 Minimise risk of nonce2 overflow with small nonce2 lengths by always encoding the work little endian, and increasing the maximum size of nonce2 to 8 bytes.
Angus Gratton 85aebc41 2013-12-11T19:29:10 Merge remote-tracking branch 'upstream/master' into merge_385
Con Kolivas 6f43e454 2013-12-09T13:54:54 Remove more unused GPU code.
Angus Gratton 73343f38 2013-12-09T11:39:03 Merge remote-tracking branch 'upstream' into merge_upstream Conflicts: usbutils.c
Con Kolivas 7ae878aa 2013-12-08T12:44:45 Initialise usb locks within usbutils.c instead of exporting them.
Con Kolivas d7c5667a 2013-12-08T12:44:45 Initialise usb locks within usbutils.c instead of exporting them.
Angus Gratton e933a560 2013-11-30T22:03:26 Merge remote-tracking branch 'upstream' into merge_383 Conflicts: usbutils.c usbutils.h
Con Kolivas 6a91027f 2013-11-30T10:14:44 Use sync usb transfers in lowmem mode.
Con Kolivas 443f26b6 2013-11-20T23:07:02 Provide a function to discard queued work based on age.
Angus Gratton 998a368f 2013-11-15T09:41:01 Merge remote-tracking branch 'upstream' into new_protocol Conflicts: cgminer.c configure.ac miner.h
Con Kolivas 4494292a 2013-11-14T13:08:35 Provide a function for setting the work ntime.
Con Kolivas 28137c8e 2013-11-10T20:07:36 Merge branch 'master' into nogpu Conflicts: configure.ac
Kano f792b1be 2013-11-10T11:18:37 Configure source for a new BaB driver
Angus Gratton 278f157e 2013-11-10T09:12:39 Merge remote-tracking branch 'upstream/master' into new_protocol
Con Kolivas b0573a07 2013-11-09T23:23:01 Merge branch 'master' into nogpu
ckolivas a02dc6f4 2013-11-07T11:01:22 Add a get and queue helper work function.
Con Kolivas 2b621b6b 2013-11-09T11:19:12 Remove GPU mining code.
Angus Gratton f066ca68 2013-11-05T10:19:11 Merge branch 'master' of github.com:ckolivas/cgminer into new_protocol Conflicts: configure.ac miner.h usbutils.c usbutils.h
Con Kolivas f4cf0939 2013-11-05T08:36:54 Add a wr_trylock wrapper for pthread rw lock write trylock.
Angus Gratton dbfb4a29 2013-11-04T14:42:54 Add capacity for command line --drillbit-options (modelled on klondike driver)
Con Kolivas 8e1ec8bd 2013-11-03T00:52:15 Store how many work items are worked on per pool.
Con Kolivas ab1e9404 2013-11-03T00:47:43 Make each pool store its on reference for what the most current block is and fine tune management of block change in shared pool failover strategies using the information.
Con Kolivas 448b1fae 2013-11-02T22:25:45 Rationalise use of current_hash to a single hex string the length of the previous block and display only the first non zero hex chars of the block in the status window.
Con Kolivas 6e63eebf 2013-11-02T12:32:11 Add missing endian swap functions for 64bits.
Con Kolivas 759bd39f 2013-11-02T11:04:06 Avoid the extra generation of a byte flipped hash2 in struct work and directly use the LE work hash.
Con Kolivas 61297399 2013-11-01T21:45:47 Provide a copy_work_noffset function for copying a work struct but changing its ntime.
Con Kolivas ac5b12e1 2013-10-31T17:15:42 Allow arbitrary diffs to be tested against nonces via a test_nonce_diff function.
Con Kolivas 25d4f167 2013-10-31T16:37:07 Add the ability to add uint8 and uint16 entities to api data.
Con Kolivas c4542f2b 2013-10-31T12:29:59 Merge branch 'master' into hfa Conflicts: Makefile.am api.c configure.ac miner.h
Con Kolivas ac7dc468 2013-10-28T14:27:57 Use the existing device_data for knc state data.
Vitalii Demianets 53570ae8 2013-10-02T03:49:47 KnC driver: knc-spi-fpga ASIC driver This driver talks to KnCMiner controller via SPI Protocol specification is available at https://github.com/KnCMiner/jupiter-hw-docs/blob/master/fpga_spi.md
Henrik Nordstrom 1e51336f 2013-06-09T16:35:02 Silence warning if MAX/MIN is already defined
Con Kolivas 2d67bb06 2013-10-26T16:22:13 Merge branch 'master' into hashfast
Con Kolivas f9d3d008 2013-10-25T20:11:24 Merge pull request #509 from roybadami/master Improvements to support for BitBurner boards
Angus Gratton f5c69237 2013-10-25T16:19:48 Merge branch 'master' of github.com:ckolivas/cgminer into new_protocol Conflicts: usbutils.c
Con Kolivas f29f6121 2013-10-25T14:35:56 Merge branch 'master' into hashfast
Con Kolivas 316e6d61 2013-10-25T14:29:43 Put an entry into the work struct telling drivers how much they can roll the ntime themselves.
Con Kolivas d342bcbe 2013-10-25T11:56:32 Provide a mechanism for informing drivers of updated work templates for stratum and gbt mining.
Angus Gratton bbf8a00c 2013-10-25T10:50:03 Hashing with new protocol
Con Kolivas 5ea6a8ea 2013-10-23T22:45:56 Merge branch 'master' into hashfast Conflicts: Makefile.am
Con Kolivas d2719e31 2013-10-23T20:38:15 Implement a cglock_destroy function.
Con Kolivas de4ad515 2013-10-23T20:37:10 Implement a rwlock_destroy function.
Con Kolivas 6bd5139c 2013-10-23T20:34:50 Implement a mutex_destroy function.
Roy Badami c69a130d 2013-10-19T18:42:20 Improvements to support for BitBurner boards --bitburner-fury-options allows avalon-options to be overridden for BitBurner Fury Boards, facilitating simultanous use of BitBurner XX and BitBurner Fury boards More sensible defaults for BitBurner boards, so cgminer should do something sensible without any command line args
Con Kolivas f5baf9f5 2013-10-18T19:12:13 Merge branch 'master' into hashfast Conflicts: usbutils.h
ckolivas 680f014c 2013-10-18T14:58:33 Simplify queued hashtable by storing unqueued work separately in a single pointer.
Kano c9adb192 2013-10-18T00:54:37 allow __work_complete() access
Kano 3fc7ff45 2013-10-16T01:54:54 miner.h allow devices to tv_stamp work
Kano 514b3c42 2013-10-17T19:45:20 API add 'MHS %ds' to 'summary'
Kano d3d3fc13 2013-10-17T16:14:45 Optional lock tracking and stats via the API
Kano 55e233d5 2013-10-17T19:45:20 API add 'MHS %ds' to 'summary'
Kano c2073f09 2013-10-17T16:14:45 Optional lock tracking and stats via the API
Kano ecacb24a 2013-10-16T01:54:54 miner.h allow devices to tv_stamp work
Con Kolivas 9b5c5349 2013-10-13T16:41:53 Merge branch 'master' into hashfast Conflicts: api.c configure.ac miner.h usbutils.c usbutils.h
Con Kolivas d3c215fd 2013-10-12T09:53:21 Provide a lower level __bin2hex function that does not allocate memory itself.
Con Kolivas 835ad824 2013-10-12T09:32:07 Convert the bitfury driver to use the hash_driver_work version of hash_work.
Con Kolivas 58008a37 2013-10-12T09:05:58 Add a hash_driver_work function to allow for drivers that wish to do their own work queueing and management.
Con Kolivas b5379760 2013-10-11T23:06:40 Make pthread conditional timeouts handle all bulk usb transfer timeouts performing libusb_cancel_transfer, disabling timeouts within libusb itself.
Con Kolivas ef8efd6c 2013-10-08T00:01:26 Minimise the time between dropping the read devlock and grabbing the write devlock to avoid tons of logging spam in the interim.
Con Kolivas 7318ecee 2013-10-07T23:34:01 Make the devlock a cglock in usbutils and only grab the write lock for fundamental changes allowing us to send and receive transfers concurrently without lock contention.
Con Kolivas 8c0ea19e 2013-10-05T09:31:36 Submitting an ntime offset nonce needs to be done on a copy of the work instead of the original so abstract out shared components as much as possible, minimising strdups in copy_work and make submit_work_async work take copied work, cleaning up code in the process.
Con Kolivas b6a97de6 2013-10-04T21:39:42 Provide a way for drivers to submit work that it has internally rolled the ntime value by returning the amount it has ntime rolled to be added.
ckolivas 6cd7f0f1 2013-10-04T12:00:41 Remove unmaintained broken ztex driver.
Kano 51418f79 2013-10-03T23:19:18 Klondike update code to current git
Con Kolivas 585d4af4 2013-10-07T23:32:01 Store statistics on how often we have to cancel async bulk transfers and add a debug message whenever we do.
Con Kolivas 023ca6a1 2013-10-07T17:17:20 Remove devlock lock contention statistics since transfers are all done under read lock now.
Con Kolivas 59ff31d8 2013-10-07T17:11:33 Make the devlock a cglock in usbutils and only grab the write lock for fundamental changes allowing us to send and receive transfers concurrently without lock contention.
Con Kolivas 3b266594 2013-10-07T14:57:08 Merge branch 'master' into libusbx Conflicts: api.c miner.h usbutils.c
Con Kolivas dbef95f7 2013-10-05T09:31:36 Submitting an ntime offset nonce needs to be done on a copy of the work instead of the original so abstract out shared components as much as possible, minimising strdups in copy_work and make submit_work_async work take copied work, cleaning up code in the process.
Con Kolivas 4c79252d 2013-10-04T21:39:42 Provide a way for drivers to submit work that it has internally rolled the ntime value by returning the amount it has ntime rolled to be added.
ckolivas 052e4348 2013-10-04T12:00:41 Remove unmaintained broken ztex driver.
Kano dc85abd9 2013-10-03T23:19:18 Klondike update code to current git
Con Kolivas bfdf3af1 2013-10-03T12:05:48 Store statistics on how often we have to cancel async bulk transfers and add a debug message whenever we do.
Con Kolivas 3eece618 2013-09-30T21:50:06 Get statistics on how long usb reads and writes wait on the devlock.
Con Kolivas b3ceb7e2 2013-09-30T21:50:06 Get statistics on how long usb reads and writes wait on the devlock.
Con Kolivas f49a3c76 2013-09-30T08:43:29 Merge branch 'master' into hashfast Conflicts: Makefile.am api.c cgminer.c configure.ac miner.h usbutils.c usbutils.h
Con Kolivas 01e3c878 2013-09-29T15:16:25 We should only yield once in cg_wunlock
Con Kolivas 5683a114 2013-09-29T15:14:06 Provide a function to downgrade a cglock from a write lock to an intermediate variant.
Con Kolivas 5e1ebd50 2013-09-29T13:54:16 Deuglify use of _PARSE_COMMANDS macro expansions.
Con Kolivas 1ef38f82 2013-09-29T12:28:43 Separate out asic fpga and opencl drivers in the driver parse commands macro for use individually as needed.
ckolivas fbf46c41 2013-09-28T15:14:28 Put avalon last in the sequence of adding drivers to prevent it trying to claim similar chip devices on startup.
ckolivas 6d747123 2013-09-28T15:11:06 Use macro expansion to iterate over all device drivers without needing to explicitly code in support in all places. Pass a hotplug bool to the detect() function to prevent opencl trying to hogplug GPUs.
ckolivas 741b7430 2013-09-28T14:00:18 Forward declare all device drivers in miner.h avoiding the need to export them everywhere else.
ckolivas 2903028e 2013-09-28T11:45:58 Use macro expansion to generate extern device_drv prototypes.
ckolivas 88751974 2013-09-28T10:25:48 Create a macro list of drivers to enable easier addition of further drivers.
Con Kolivas b606a603 2013-09-26T21:20:59 Use submit_tested_work in bitfury driver to avoid unnecessarily re-testing the work for validity.
Con Kolivas 76e688ae 2013-09-26T21:14:14 Store the hash2 array in struct work for further reuse.
Con Kolivas 39c52b1f 2013-09-26T20:58:47 Use the test_nonce function within submit_nonce and store the uint32 corresponding to hash2 37 for further use.
Con Kolivas 759e82bb 2013-09-25T15:30:54 Add in first draft for a serialised work model sending/receiving data for BF1 devices.
Con Kolivas 68a7e210 2013-09-24T20:59:10 Create basic placeholders for bitfury driver code.
Con Kolivas 118f9038 2013-09-22T20:18:18 Merge branch 'master' into hashfast
Con Kolivas 466d3bec 2013-09-21T22:49:28 Provide a --disable-libcurl config option to build support for stratum mining only.
Con Kolivas 78932aa1 2013-09-19T10:38:08 Provide basic structure for a hashfast driver.
Con Kolivas a76b09e4 2013-09-13T13:51:15 Find the greatest common denominator in quotas and use the smallest number of consecutive work items per pool in quota load balance mode to smooth hashrate across pools with large quotas. Give excess quota to priority pool 0 instead of pool 0.
Con Kolivas 7c19984f 2013-09-07T12:12:24 Use quotas for load-balance pool strategy.
Con Kolivas 0121b75a 2013-09-07T11:33:07 Provide a mechanism for setting a pool quota to be used by load-balance.
Con Kolivas b783d94c 2013-09-05T23:14:53 Extract any proxy url and port to be used by sockaddr if possible using extract_sockaddr.
Kano 76185ede 2013-09-01T00:23:26 API mcast add a description option with miner.php
ckolivas 0f42fd3f 2013-08-29T11:10:13 Remove unused HAVE_LISBUSB macro and use USE_USBUTILS everywhere.