cgminer.c


Log

Author Commit Date CI Message
Con Kolivas 2191ce0c 2014-04-10T20:13:55 Merge spondoolies driver patch
Con Kolivas e64611a2 2014-04-06T14:12:15 Do not do thread shutdown unless thread init succeeded
Con Kolivas 0494dda7 2014-04-06T14:02:36 Remove unnecessary check for thread_prepare function
Con Kolivas dcb78274 2014-04-03T21:59:08 Decay the per device hashrates when only the watchdog is calling the hashmeter
Con Kolivas 54f54825 2014-04-03T21:09:01 Fix parsing of config files failing on custom parsing
Con Kolivas 3b3e9790 2014-04-03T21:01:31 Fix warning
Con Kolivas 67b8165a 2014-04-03T20:44:45 Document the HXF support
Con Kolivas af5643fb 2014-04-03T20:11:06 Disable toggling display by default and offer a --widescreen option to have all the information on an extra wide display.
Con Kolivas 573010d2 2014-04-03T16:22:41 Use OPT_WITH_CBARG for all custom parsing functions to allow their values to be written generically when writing the config file from the menu.
Con Kolivas d90ef45f 2014-04-03T14:34:33 Define strings to store special option parsing parameters leaving no OPT_WITH_ARG missing args
Con Kolivas 5091e2e7 2014-04-03T13:35:30 Correct the writing of special case options to the config file
Con Kolivas 98147d9e 2014-04-03T13:08:13 Provide support for writing anu freq from menu write option
Con Kolivas 64e74824 2014-04-03T13:00:43 Generalise a lot more of the command line options simplifying the write config function and making it write far more values unaided
Con Kolivas 260bab9f 2014-04-03T12:46:59 Use the general opt_set_charp functions for setting api parameters
Con Kolivas bc548022 2014-04-03T12:31:13 Json escape any strings written to the config file
Con Kolivas ee21d3ba 2014-04-03T12:29:40 Store standard charp options when writing config files
Con Kolivas b2feda76 2014-04-03T11:21:58 Add support for all the integer range options when writing the config file from the menu
Con Kolivas d4cf700e 2014-04-03T11:18:02 Remove the --device and --remove-disabled options which don't work in a meaningful way any more
Con Kolivas 96a5c526 2014-04-03T11:09:33 Make the bxf bits configurable on the command line
Con Kolivas 51b22594 2014-04-03T00:16:49 Provide a --btc-sig option to optionally add a custom signature to the solo mining coinbsae
Con Kolivas c481f2c9 2014-04-02T23:09:48 Compact gbt solo extra data and store the length, allowing it to be variable, leaving room for a signature
Con Kolivas fe61a86e 2014-03-30T20:36:49 Fix getwork share submission
Con Kolivas fe566402 2014-03-30T10:34:45 Put WU on the hashrate status to compact lines further
Con Kolivas e0c66a02 2014-03-29T11:54:46 Clean up various curl build issues
Con Kolivas af605c5e 2014-03-29T11:40:47 Merge pull request #570 from kanoi/master allow url based config files
Kano c7d68866 2014-03-29T10:13:17 allow url based config files
Con Kolivas df7dcab4 2014-03-28T23:58:28 Make it possible to enable/disable the status window from switching via the display menu
Con Kolivas cf6b5e99 2014-03-28T23:45:24 We should not update the tv hashmeter time unless we're updating the hashrates
Con Kolivas bf1e8766 2014-03-28T17:25:21 Remove displayed space
Con Kolivas e24fb75d 2014-03-28T17:22:28 Left align the displayed unique id
Con Kolivas f38baff4 2014-03-28T17:08:04 Display a unique identifier instead of a number if the device has one
Con Kolivas d2208157 2014-03-28T16:47:26 Use an alternating status display to return to a compact width of 80 characters, allowing more information to be displayed.
Con Kolivas 57a23aaf 2014-03-28T09:53:01 No need for looking for khash hashrates in summary any more
Con Kolivas de131284 2014-03-28T09:51:54 Revert a fake fix
Con Kolivas b8757dcd 2014-03-28T09:41:45 Fix two potential minor mem leaks
Con Kolivas ebffd6d1 2014-03-28T09:21:46 Fix memory leaks in setup and generate work for gbt solo.
Con Kolivas 2bdcc9d1 2014-03-28T08:33:46 Fix off by one malloc size error
Con Kolivas 70d88f63 2014-03-28T08:32:25 Fix memory leak in update_gbt_solo
ckolivas 6385e68d 2014-03-26T07:19:47 Put sanity check on decay_time to prevent updates with no time
Con Kolivas b7015b3f 2014-03-25T21:45:21 Use the extra status screen real estate better, displaying rolling 1/5/15min average hashrates as well.
Con Kolivas 934ae21c 2014-03-25T21:34:26 Revamp the ageing crufty hashmeter code to have proper exponential decaying values and store rolling 1/5/15min hashrates.
Con Kolivas b3a173f6 2014-03-25T19:35:48 Increment total_work under control lock.
Con Kolivas 5c71d4fc 2014-03-25T17:44:42 Trivial variable reuse
Con Kolivas 013e5e18 2014-03-23T23:53:37 Minimise the amount of heap memory allocations/frees when submitting gbt shares.
Con Kolivas ea1d9d43 2014-03-23T23:39:23 Make varint in gbt submission a stack object.
Con Kolivas cec48cee 2014-03-23T23:20:56 Fix big endian problems with gbt submissions.
Con Kolivas 6f8dde99 2014-03-23T22:35:01 Fix 32bit overflow on relative diff shown.
Con Kolivas dfcd142f 2014-03-22T14:30:29 Change default solo mining to failing when no btc address is specified.
Con Kolivas 79f1215e 2014-03-22T10:38:23 Use upgrade cglock variants in get_gbt_curl
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 b21cec50 2014-03-22T09:44:31 Only start block detection with gbt solo if setup succeeded
Con Kolivas 4233c2e3 2014-03-22T09:43:18 One less block detection message
Con Kolivas 2266bf0d 2014-03-22T00:09:27 Toss out the curl handle after each solo poll
Con Kolivas 1e6db19c 2014-03-21T23:57:16 Don't reuse any curl handles for solo mining and break out of the lp thread if the pool is removed.
Con Kolivas 09d7aff0 2014-03-21T23:07:11 Make sure to only start the lognpoll thread once on gbt solo.
Con Kolivas a51523ee 2014-03-21T20:55:35 Don't keep RPC connections open for solo mining since bitcoind doesn't like having many persistent connections.
Con Kolivas c6554dc0 2014-03-21T12:27:09 GBT solo pools should be considered localgen pools.
Con Kolivas c73e9e7a 2014-03-20T14:10:20 Always show the address we're solo mining to to avoid confusion for when no address is set.
Con Kolivas f5cc0cf2 2014-03-18T21:12:49 Work with more than one transaction.
Con Kolivas 3a57679e 2014-03-18T19:48:19 Kill gbt solo pools that don't respond to the gbt request 5 times sequentially.
Con Kolivas 680a4755 2014-03-18T19:17:57 Fix ser_number for no remaining val byte.
Con Kolivas 6d8c6e92 2014-03-18T17:28:21 Create a work item and stage it when updating the gbt solo template to allow new block detection and restart code to work.
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 ff82f319 2014-03-17T11:30:38 Update solo coinbase regularly and submit as gbt work
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 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.