cgminer.c


Log

Author Commit Date CI Message
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.
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.