miner.h


Log

Author Commit Date CI Message
Con Kolivas 3b2e095f 2014-03-22T10:30:50 Provide a cg_uilock to unlock the intermediate variant of cglocks.
Con Kolivas 10f5961b 2014-03-22T10:26:59 Use the one curl instance for all gbt solo operations, protecting its use with a bool set under gbt lock.
Con Kolivas bea3c9e3 2014-03-18T22:51:18 Fix missing htobe16 on windows and meaningless >u32 string warning.
Con Kolivas 756852e4 2014-03-17T21:59:16 Add block detection via getblockcount polling in gbt solo and update gbt template every 60 seconds.
Con Kolivas ff82f319 2014-03-17T11:30:38 Update solo coinbase regularly and submit as gbt work
Con Kolivas 8d5d971b 2014-03-16T23:53:35 Generate gbt solo work emulating stratum work construction.
Con Kolivas 73932de0 2014-03-16T23:03:17 Move swork.diff out of the stratum work section to be shared as sdiff.
Con Kolivas 6826525b 2014-03-16T22:37:06 Avoid allocing and freeing stratum strings that should be fixed length.
Con Kolivas a95e9e57 2014-03-16T22:21:49 Remove unnecessary header length calculation for stratum header binary and only binary convert the correct length of the header.
Con Kolivas 159587ba 2014-03-16T22:11:33 Share more fields between stratum and gbt
Con Kolivas 8f5a81eb 2014-03-16T21:53:42 Share coinbase_len variable b/w stratum and gbt and setup more gbt solo parameters.
Con Kolivas d0c4650d 2014-03-16T21:46:07 Generate a valid coinbase and set nonce2offset for gbt solo
Con Kolivas 77f52e63 2014-03-16T18:26:32 Create our own custom scriptsig base.
Con Kolivas 69d2ee81 2014-03-15T23:37:47 Add helper functions for creating script signature templates and beging building template.
Con Kolivas a57760e1 2014-03-12T23:02:31 Abstract out the merkle bin calculation for gbt solo
Con Kolivas 8a3e92eb 2014-03-14T15:47:09 Store all the transaction data in binary form when using GBT
Con Kolivas 98b4216c 2014-03-11T23:27:36 Implement efficient merkle tree base from solo GBT information.
Kano 4a8056b4 2014-03-15T00:34:49 Merge branch 'drill'
Con Kolivas a84f71de 2014-03-14T09:46:34 Keep track of when the last restart and work updates were triggered and provide helper functions for knowing the time since then.
Angus Gratton 47a42f97 2014-03-06T10:36:39 Drillbit: --drillbit-auto parameter for tweakable custom tuning of ASIC speeds
Angus Gratton 29a83d88 2014-02-24T14:34:12 Drillbit: Add --drillbit-autotune option for device to dynamically alter clock speed
kanoi 3422b22a 2014-03-09T23:45:16 Merge pull request #559 from kanoi/master antminer updates
Kano f6f6f3cb 2014-03-09T15:42:34 ants1 - move local cgpu variables to info structure
Con Kolivas be95fa90 2014-03-08T10:52:11 Roll the ntime for work within the hfa driver for firmware we know doesn't do it internally as an optimisation.
Con Kolivas 2de81355 2014-03-08T10:35:45 Export the roll_work function to be usable by driver code and make it compatible with rolling stratum work.
Con Kolivas ba845cf8 2014-03-07T18:59:19 Disable mistakenly enabled lock tracking.
kanoi 6cd6a1a2 2014-03-02T14:11:26 Merge pull request #557 from kanoi/master Ant S1 Driver
Kano d5b8d73f 2014-03-02T00:13:59 Enable Bitmain Ant S1 code and make it conform to cgminer requirements
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.
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.