cgminer.c


Log

Author Commit Date CI Message
Con Kolivas b00c9b5a 2014-03-18T17:15:26 Test block hash as well as block height when solo mining to ensure we haven't been mining on an orphan branch.
Con Kolivas d6a5fd76 2014-03-18T16:13:00 Fix transaction processing for gbt solo.
Con Kolivas 5cc83a30 2014-03-18T12:01:28 Encode height using integer varint format.
Con Kolivas 0ed7592e 2014-03-17T23:11:39 Make new block detection message not show in gbt solo from test_work_current
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 39a37962 2014-03-17T21:10:42 Iterate over transactions twice to malloc only once when copying all the transaction data.
Con Kolivas 44b8b2ba 2014-03-17T00:21:35 Only show merkle hashes for solo mining in debug mode.
Con Kolivas 3177e1cb 2014-03-17T00:06:53 Set correct flag for solo work.
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 04bce101 2014-03-16T23:13:07 Set the diff as a double sdiff from gbt solo data.
Con Kolivas 73932de0 2014-03-16T23:03:17 Move swork.diff out of the stratum work section to be shared as sdiff.
Con Kolivas 53c1ff6c 2014-03-16T22:58:54 Generate a header bin from gbt solo as per the cached stratum one.
Con Kolivas 388e0877 2014-03-16T22:49:25 Store strings similar to stratum's when decoding gbt solo
Con Kolivas f0f66786 2014-03-16T22:24:41 Run parser through detect_stratum after stratum+tcp:// is force added
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 a8a27d02 2014-03-16T18:28:22 Move scriptsig header bin conversion to setup 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 d3f4a083 2014-03-14T21:29:05 Do gbt solo decoding under gbt lock.
Con Kolivas 6c3135ea 2014-03-14T21:26:55 Add more gbt variable decoding from gbt solo information.
Con Kolivas 8a3e92eb 2014-03-14T15:47:09 Store all the transaction data in binary form when using GBT
Con Kolivas 667b07c8 2014-03-13T22:31:14 When setting up solo mining, check validity of bitcoin address against bitcoind
Con Kolivas e14fcd1b 2014-03-12T23:50:08 Make pooled GBT mining use merkle bin optimisations slated for solo mining.
Con Kolivas a57760e1 2014-03-12T23:02:31 Abstract out the merkle bin calculation for gbt solo
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
Con Kolivas 96b25448 2014-03-11T00:24:15 Avoid a memory leak by reusing the ntime field when rolling stratum work.
Con Kolivas 4258bba6 2014-03-09T21:16:22 Default to stratum+tcp:// on any urls that don't have a prefix instead of http.
Con Kolivas cf0c8274 2014-03-08T13:06:50 Correct fix for dev start time being adjusted for stat zeroing.
Con Kolivas 0e31c0ae 2014-03-08T12:46:58 Make per device stats work for average after a stat zeroing.
Con Kolivas ff6a4aba 2014-03-08T12:15:26 Add an hfa-options command line that allows the clockspeed to be chosen per device by name comma separated, with a function that can be expanded with more options in the future.
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 aabb73bf 2014-03-08T09:25:11 Make opt_queue be respected as a maximum value for staged items.
Con Kolivas 139dac06 2014-03-06T11:26:24 Make bxm bits configurable.
Con Kolivas e67b7779 2014-03-06T11:12:54 Move avalon2 options to ~alphabetic position in help.
ckolivas 1d533568 2014-03-03T13:38:06 Forcibly kill everything silently with an exit code of 1 should we fail to cleanly shut down and use a completion timeout for the __kill_work in app_restart.
ckolivas c1ad218f 2014-03-03T13:21:34 Make __kill_work itself also be a completion timeout.
Kano d5b8d73f 2014-03-02T00:13:59 Enable Bitmain Ant S1 code and make it conform to cgminer requirements
Con Kolivas 2b702ce2 2014-02-28T12:43:53 Refresh the log window on pool failure message at startup.
Con Kolivas e37b84f8 2014-02-28T12:40:00 Rework the pool fail to connect at startup to not get stuck indefinitely repeatedly probing pools with new threads and to exit immediately when any key is pressed.
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 f80d19bb 2014-02-28T00:37:55 Increase the work queue at the top end if we've hit the bottom as well.
Con Kolivas a70ea23e 2014-02-28T00:30:08 Set the work generation thread high priority, not the miner threads.
Con Kolivas e61cc7b7 2014-02-28T00:11:52 Increase the opt_queue if we can hit the maximum amount asked for but are still bottoming out.
Con Kolivas 0a6db8a3 2014-02-27T21:43:04 Show only as many digits as are required to display the number of devices.
Con Kolivas b5d17a90 2014-02-27T20:40:06 Null a device driver should thread prepare fail.
Con Kolivas 800a04ec 2014-02-27T20:38:36 Add a function for making all driver functions noops.
ckolivas 8aeb27d9 2014-02-27T17:28:22 Don't try to reinit a device that's disabled.
ckolivas 530e16e8 2014-02-27T17:23:48 Disable a device that fails to prepare.
ckolivas 3ebba278 2014-02-27T17:05:02 Check for lack of thread in watchdog thread for a failed startup.
ckolivas 84364a18 2014-02-27T16:18:56 Add an option to disable dynamic core shedding on hashfast devices.
Con Kolivas f770cc08 2014-02-27T00:01:38 Making the hotplug thread nice+10 makes all threads created from it also low priority.
Con Kolivas 023c186d 2014-02-26T23:52:50 When not honoured, trying to set highprio seems to have the opposite effect making it a harmful choice generically.
ckolivas 70210434 2014-02-25T12:59:58 Allow the drop in MHz per hfa failure to be specified on the command line.
Con Kolivas 41226f18 2014-02-24T19:51:48 Add a --hfa-name command that allows one to specify the unique opname for a hashfast device.
Con Kolivas 3ed3cf33 2014-02-23T17:01:48 Per device last getwork won't work if the device stops asking for work.
Con Kolivas 35263e07 2014-02-23T16:48:50 Correct share work tdiff
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 55c76d40 2014-02-22T15:50:24 Set each miner thread last valid work just before starting its hash loop in case there are delays at startup.
Con Kolivas 279bcb69 2014-02-21T12:04:49 Check for error from setfloatval
Con Kolivas 6c488b16 2014-02-21T11:56:17 Halfdelay cannot be larger than 255.
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
Con Kolivas 020e896f 2014-02-20T21:34:16 Move bitmine options to alphabetic positioning.
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 257fe00a 2014-02-18T22:19:45 Move driver statline padding to cgminer.c, expanding width of maximum displayable statistics and window width to add more info.
Con Kolivas 648be96f 2014-02-18T20:50:45 Prune old stratum shares that we've seen no response for over 2 minutes to avoid memory leaks for pools that don't respond about some shares.
Con Kolivas 6afe3087 2014-02-15T17:36:08 Updated cointerra features.
Con Kolivas cd79fbd4 2014-02-15T16:51:32 Use a unique usb_list function displaying only pertinent information when listing usb devices from the menu.
Con Kolivas 70307957 2014-02-14T21:41:37 Allow hotplug interval to be changed from the USB menu.
Con Kolivas c5694ee8 2014-02-14T21:23:42 Add the ability to whitelist previously blacklisted usb devices from the menu.
Kano 122c1fdd 2014-02-14T15:23:11 cgminer -h crash fix
Con Kolivas 5cda70e7 2014-02-14T08:09:17 Update various copyright dates
Con Kolivas 12554af1 2014-02-13T23:50:33 Add blacklisting as an option to the USB menu.
Con Kolivas 80c781c0 2014-02-13T23:19:03 Add an option to the USB menu to list all known devices.
Con Kolivas 87a1c38d 2014-02-13T23:13:33 Add an option to send a USB reset via the USB menu.
Con Kolivas 40b8eed7 2014-02-13T22:46:37 Add warning for attempting to unplug a usb device that is already removed.
Con Kolivas 20c3fafe 2014-02-13T22:42:59 Add USB Unplug option to USB management device management menu.
Con Kolivas b54cd59c 2014-02-13T22:40:20 Add enable and disable USB device functions to the menu.
Con Kolivas 820cd706 2014-02-13T22:22:56 Add a [U]SB menu item, initially with just statistics per device, adding device number to the device status window display.
Con Kolivas 83231db3 2014-02-12T20:48:46 Merge branch 'master' of github.com:ckolivas/cgminer
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>
kanoi 00099094 2014-02-10T09:53:51 Merge pull request #546 from kanoi/master Allow running cgminer in benchmark mode with a work file --benchfile
Kano 528bd85f 2014-02-10T09:47:42 format fix and bad variable usage fix for --benchfile
Kano b1d00ab7 2014-02-10T08:37:48 Allow running cgminer in benchmark mode with a work file --benchfile
Con Kolivas 812f5302 2014-02-09T09:49:33 ANU frequency is in MHz, not hex.
Con Kolivas 49da1e78 2014-02-08T11:09:11 We shouldn't block on no work situations directly from the getwork scheduler itself.
Con Kolivas a52b37b6 2014-02-08T11:01:52 Revert "Make the pthread cond wait in the getwork scheduler a timed wait in case we miss a wakeup." This reverts commit 47a20fb8e813f427357dd8133f811e45f6892ede. Wrong fix.
Con Kolivas 47a20fb8 2014-02-08T07:42:53 Make the pthread cond wait in the getwork scheduler a timed wait in case we miss a wakeup.
Con Kolivas fa26f8df 2014-02-07T13:28:05 Add debug output when get_work() is blocked for an extended period and add grace time to the device's last valid work to prevent false positives for device failure.
Con Kolivas d6d04562 2014-02-07T08:48:40 Show device info in noffset nonce share above target message.