miner.h


Log

Author Commit Date CI Message
Con Kolivas c2b64240 2014-03-01T14:31:11 Export the api_add_int16 function.
Con Kolivas dbc4dcda 2014-03-01T14:25:26 Add api_add_int16 to API functions.
Con Kolivas 5bae526b 2014-02-28T12:20:33 Use an early_quit function for shutting down when we have not successfully initialised that does not try to clean up.
Con Kolivas 19d0efd7 2014-02-23T20:31:04 The list_for_each_cgpu macro will dereference when there are no mining threads yet.
Con Kolivas db8c31c8 2014-02-23T20:21:36 Make hfa hotplug inherit some parameters from a previous instance if the serial number exists and is matching, avoiding dropping the clock on all devices.
Con Kolivas 3ed3cf33 2014-02-23T17:01:48 Per device last getwork won't work if the device stops asking for work.
Con Kolivas e69f8447 2014-02-23T15:38:59 Provide a helper function for determining time between valid share and getwork per device.
Con Kolivas 4aceffc9 2014-02-23T15:35:39 Store last_getwork time on a per-device basis.
Con Kolivas 832146ac 2014-02-21T11:52:19 Allow any arbitrary frequency to be specified for ANU devices and try to find the nearest frequency when initialising it, reporting if the frequency is not exactly as requested.
Con Kolivas b3b1ddff 2014-02-21T07:52:38 Merge branch 'avalon2' of https://github.com/xiangfu/cgminer into xiangfu-avalon2 Conflicts: api.c configure.ac
Zefir Kurtisi 60534e57 2013-12-24T00:33:42 Initial import of Bitmine.ch A1 SPI driver This initial driver was designed around an FPGA based emulator board which provides 2 chained chips with 4 hashing engines each, running at 10% of the A1's nominal speed. Driver has been tested on RasPi. Signed-off-by: Zefir Kurtisi <zefir.kurtisi@gmail.com>
Con Kolivas cbe32574 2014-02-15T17:14:40 Add le16toh defines for platforms that may be missing it.
Con Kolivas 492636a8 2014-02-14T21:36:58 Prevent recursive loop in __is_in_use linked list walking.
Con Kolivas cfa0f6bc 2014-02-14T19:52:35 Use a bool in struct cgpu to know when a usb device has been blacklisted, avoiding blacklisting it more than once.
Con Kolivas bac9d6f3 2014-02-13T21:13:20 Reuse the cgpu temp entry for avalon and bitfury devices, changing avalon to a damped value.
Con Kolivas 69d67af1 2014-02-12T20:46:44 Add driver for cointerra devices.
Xiangfu 7c5b0b84 2014-02-11T14:00:04 Add Avalon2 (2U size machine) support Signed-off-by: Xiangfu <xiangfu@openmobilefree.net>
Con Kolivas 6ff2b7bd 2014-02-05T22:22:04 Add ability to enter ANU frequency as a multiple of 25 from 150-500.
Con Kolivas 5542761f 2014-02-01T23:36:25 Add the ability to display a hexadecimal 32 bit unsigned integer to the API.
Con Kolivas 13baf076 2014-01-31T22:16:11 Export the flush_queue function for use by drivers.
Con Kolivas 88fe54d9 2014-01-31T10:37:59 Add a call to a driver specific zero stats function when zero stats is called to allow each driver to reset its own stats as well if desired.
Con Kolivas 1eb7f30a 2014-01-25T17:01:59 Store when the last getwork was retrieved and display it in the API summary.
Kano 37213bec 2014-01-24T21:15:15 Add bab-options
ckolivas c2a4d94b 2014-01-24T17:07:39 Make submit_tested_work return a bool about whether it meets the work target or not.
ckolivas 302d087f 2014-01-24T15:38:53 Provide a helper function for determining dev runtime and use it in the hashmeters used.
Kano e869b43b 2014-01-24T21:15:15 Add bab-options
Con Kolivas 4b9d03b5 2014-01-23T22:03:39 Merge branch 'master' of github.com:ckolivas/cgminer
Con Kolivas 295c1c74 2014-01-23T22:02:58 Clear pool work on a stratum reconnect message.
Kano 7acf38b3 2014-01-05T21:34:43 api add data type AVG float 3 decimal
Kano 828e80ed 2013-12-31T15:29:09 Add minion driver into cgminer
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.
Henrik Nordstrom 1e51336f 2013-06-09T16:35:02 Silence warning if MAX/MIN is already defined
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
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.