cgminer.c


Log

Author Commit Date CI Message
Con Kolivas 18023022 2013-04-05T18:31:20 Rneame avalon_api to avalon_drv.
Con Kolivas 71bae003 2013-04-05T14:52:07 First draft of port of avalon driver to new cgminer queued infrastructure.
Con Kolivas e9a65bba 2013-04-05T11:18:08 Only update hashrate calculation with the log interval.
Con Kolivas 97a91723 2013-04-05T11:01:20 Update the total_tv_end only when we show the log to prevent failure to update logs.
James Z.M. Gao c9ae7150 2013-04-04T22:59:10 Compile CPU mining for win32 and win64
Con Kolivas 5f567345 2013-04-03T02:13:05 Merge branch 'master' of github.com:ckolivas/cgminer
Con Kolivas b3e734e7 2013-04-03T02:12:00 Show share hash as little endian as needed.
Con Kolivas 76712c15 2013-04-01T15:53:43 Merge pull request #414 from kanoi/bflsc work queues - remove new but unnecessary functions + generic work structure flags for BFLSC (and usable by other drivers if needed)
Kano ea327f7b 2013-04-01T13:10:15 work queues - remove new but unnecessary functions
Con Kolivas ea4cf57d 2013-03-31T15:25:46 Merge pull request #413 from kanoi/bflsc find_work() to find work in devices work queue + usbutils extra message requirements + functions for handling work queues
Con Kolivas e95813c8 2013-04-01T09:22:58 Make hashmeter frequency for hash_queued_work match sole_work.
Kano 131e2004 2013-04-01T00:35:50 functions for handling work queues
Kano b3ae0f16 2013-03-31T21:54:32 find_work() to find work in devices work queue
Con Kolivas 6c418f45 2013-03-21T15:11:38 Remove increasingly irrelevant discarded work from status lines.
Con Kolivas 886df16d 2013-03-21T15:06:14 Remove increasingly irrelevant queued and efficiency values from status and move WU to status line.
Con Kolivas 1a19729a 2013-03-21T14:56:44 Allow cgminer to start if usb hotplug is enabled but no devices yet exist.
Con Kolivas 1ed86dec 2013-03-18T14:36:10 If the hashmeter is less than the log interval and being updated by the watchdog, don't update the hashrate.
Con Kolivas 072ffbba 2013-03-17T16:28:29 Update the hashmeter at most 5 times per second.
Con Kolivas 13e19de4 2013-03-17T10:15:24 Calculate work utility for devices that support target diffs of greater than 1, and update scrypt code to use it.
Con Kolivas d7d630b8 2013-03-16T08:56:37 Set default GPU threads to 1 for scrypt.
Con Kolivas 21a36f48 2013-03-16T00:04:30 Connect backup stratum pools if the primary pool cannot deliver work.
Con Kolivas e10a7041 2013-03-15T00:23:05 Merge pull request #406 from kanoi/bflsc USB device list - convert some common error numbers to messages + nDevs required for -n with usb
Con Kolivas 8d27ecf9 2013-03-15T17:57:36 Merge branch 'master' of github.com:ckolivas/cgminer
Con Kolivas 5a2c2a7a 2013-03-15T17:56:55 Update the hashmeter once per second but only display the extra logs every opt_log_inteval.
Kano 28f515e9 2013-03-15T06:22:22 nDevs required for -n with usb
Kano b21747b9 2013-03-15T00:02:17 USB modify -n and --usb-dump to only show known devices or use new --usb-list-all option to see all
Con Kolivas e9a9a515 2013-03-14T04:48:35 Merge pull request #404 from kanoi/bflsc cgminer -n to include a USB device list
Con Kolivas b6e3d5b4 2013-03-14T22:34:53 Make pool adding while running asynchronous, using the pool test thread functionality.
Kano 1c04d140 2013-03-13T23:24:34 cgminer -n to include a USB device list
Con Kolivas ffc8681f 2013-03-12T18:07:17 Merge pull request #403 from kanoi/bflsc USB add --usb options to limit USB device selection v0.1 + --usb-dump display brief dump if value = 0
Con Kolivas b5b3ca49 2013-03-12T22:44:41 Convert gbt_lock to a cg_lock.
Con Kolivas b8ed231f 2013-03-12T22:40:23 Add intermediate variants of cglocks that can be up or downgraded to read or write locks and use them for stratum work generation.
Con Kolivas 26ddd1fd 2013-03-12T22:31:45 Move the stratum and GBT data to be protected under a new cg_lock data_lock.
Con Kolivas fd87825b 2013-03-12T22:17:08 Convert the ch_lock to cg_lock.
Con Kolivas 0bbaaa97 2013-03-12T22:07:06 Convert the control_lock to a cg_lock.
Con Kolivas 74164a3a 2013-03-12T22:00:44 Remove unused qd_lock.
Kano 6d629d68 2013-03-11T11:52:05 do usb_initialise() after the started message so we see it
Kano 3f50e878 2013-03-11T10:58:28 USB add --usb options to limit USB device selection v0.1
Con Kolivas 5412323e 2013-03-09T15:12:41 Fix memory leak with share submission on GPU work structures as discovered by twobitcoins.
Kano f24fab3f 2013-03-09T11:47:36 Show pool number in switch message
Con Kolivas e0196a33 2013-03-09T11:33:50 Don't start testing any pools with the watchpool thread if any of the test threads are still active.
Con Kolivas 81c02123 2013-03-09T09:56:36 Set pool died on failed testing to allow idle flag and time to be set.
Con Kolivas 6c77e9a8 2013-03-09T09:39:19 Perform pool_resus on all pools that are found alive with the test pool threads.
Con Kolivas d932a36c 2013-03-09T09:34:01 Use pool_unworkable in select_balanced as well.
Con Kolivas 90a1114a 2013-03-09T09:31:40 Differentiate pool_unusable from pool_unworkable.
Con Kolivas 3b84131f 2013-03-09T09:07:20 Keep a connection open on higher priority stratum pools to fail back to them.
Con Kolivas f3ce5777 2013-03-09T08:51:51 Rename threads according to what pool they're associated with as well.
Con Kolivas 9b34d821 2013-03-09T08:10:57 Set the wrong bool in pool_active
Con Kolivas de289443 2013-03-08T20:52:54 Revert "Rollback breakage to 81567e515707891837f52bc3aac7d5916dfff5a2" This reverts commit a8863995dee7bcd089e1aa9a3b86cd5c749d0d65. This should work now...
ckolivas 8c878075 2013-03-08T15:32:10 Start the stratum thread only if we successfully init and authorise it, otherwise unset the init flag.
ckolivas e746ed64 2013-03-08T15:18:10 Make the initialisation of the stratum thread more robust allowing the watchpool thread safe access to it after the stratum thread is started.
Con Kolivas d7c4be30 2013-03-07T21:41:01 Only set stratum auth once to prevent multiple threads being started.
Con Kolivas 3db4d6f0 2013-03-07T21:07:15 Display select return value on select fail in stratum thread.
Con Kolivas a8863995 2013-03-07T19:00:47 Rollback breakage to 81567e515707891837f52bc3aac7d5916dfff5a2
Con Kolivas a5d35e82 2013-03-07T18:44:40 Only bypass unusable pools if they're not the selected ones.
Con Kolivas 1468feb0 2013-03-07T18:13:25 Find the first usable pool in preference to the current pool in select_pool for work.
Con Kolivas ade8c6c7 2013-03-07T18:00:15 Add a pool_unusable function which checks if a pool is stratum but not active to use within switch_pools.
Con Kolivas 81567e51 2013-03-07T17:00:23 Perform pool resus on pools that were not set as the initial pool at startup.
Con Kolivas c7c21e6c 2013-03-07T16:56:03 Revert "Clear the pool idle flag only on the pool chosen at startup, allowing it to be cleared by the watchpool thread for the other pools." This reverts commit 370e8fc8626fd370fedbea53f433cf89c8195a59.
Con Kolivas 370e8fc8 2013-03-07T16:49:16 Clear the pool idle flag only on the pool chosen at startup, allowing it to be cleared by the watchpool thread for the other pools.
Con Kolivas e501db14 2013-03-07T16:45:25 Allow pools to be resuscitated on first startup by the watchpool thread.
Con Kolivas 52216625 2013-03-07T16:39:49 Check all pools simultaneously at startup switching to the first alive one to speed up startup.
Con Kolivas 12553004 2013-03-07T14:40:48 Do not continue work from a stratum pool where the connection has been interrupted.
Con Kolivas bba99bd8 2013-03-07T13:39:00 Show mechanism of stratum interruption if select times out.
Con Kolivas 011ea640 2013-03-07T12:42:44 Make stratum connection interrupted message higher priority to be visible at normal logging levels.
Con Kolivas 96ae17a4 2013-03-06T15:51:33 Merge pull request #398 from kanoi/bflsc API use control_lock when switching pools + Setup BFLSC support + API add 'Network Difficulty' to 'coin'
Kano 0eafc8b9 2013-03-07T07:40:05 API add 'Network Difficulty' to 'coin'
Kano 540f3e89 2013-03-07T00:00:31 Setup BFLSC support
ckolivas 386ea2df 2013-03-06T14:34:17 Instead of keeping track of when the last work item was generated to keep stratum connections open, keep them open if any shares have been submitted awaiting a response.
Con Kolivas 82fce466 2013-03-05T02:47:19 Merge pull request #395 from kanoi/bflsc configure - set USE_USBUTILS when usbutils is required and use it in the code
Kano 2f6660e8 2013-03-05T18:33:43 configure - set USE_USBUTILS when usbutils is required and use it in the code
Con Kolivas 016f065f 2013-03-05T11:16:20 Clear last pool work on switching pools if the current pool supports local work generation or we are in failover only mode.
Kano 120e9a07 2013-03-04T22:46:34 make rw locks: mining_thr_lock and devices_lock
Kano be8cadbc 2013-03-04T17:26:11 Hotplug - allow setting interval via --hotplug or API
Kano 97cb77d1 2013-03-04T14:06:15 curses - fix - put a dev_width inside #ifdef
Kano e35e8ae1 2013-03-04T09:45:07 Implement and use usb_cleanup() on shutdown or restart
Kano c14f2ec6 2013-03-03T19:33:20 API V1.25 - add 'Last Valid Work' time for each device
Kano cc3869e5 2013-03-03T16:38:02 api -> drv
Con Kolivas 357294a7 2013-03-02T17:22:42 Merge branch 'usb-dev'
Con Kolivas 2c3a946c 2013-03-02T16:01:37 Update a pool's last work time when the work is popped as well as staged.
Con Kolivas 5c32a47b 2013-03-01T14:29:20 Merge pull request #375 from luke-jr/bugfix_cfgwrite_fnleak Free filename entry for writing config file when done with it
Con Kolivas 52995e28 2013-03-01T14:28:02 Merge pull request #389 from kanoi/bflsc BFL stop 1st init command if no device + Update diff stale: total and pools when stratum throws away shares
Kano 42a01e7b 2013-03-01T16:49:08 Update diff stale: total and pools when stratum throws away shares
Con Kolivas b2b0d10a 2013-02-28T23:37:06 Merge branch 'master' into usb-dev
Con Kolivas b4cac54a 2013-02-28T23:35:31 Keep stratum connections open for 2 minutes after the last work item was staged to allow stray shares to be submitted on pool switching.
Con Kolivas 5abcf06b 2013-02-25T10:44:54 Merge branch 'master' into usb-dev
Con Kolivas d9d5a1a0 2013-02-25T09:15:20 Speed up watchdog interval and therefore display updates to 2 seconds.
Con Kolivas 5a3b3749 2013-02-25T08:59:11 Update copyright dates.
Con Kolivas 6bf79626 2013-02-23T13:59:37 Merge branch 'master' into usb-dev
Con Kolivas d16d4928 2013-02-22T21:41:47 Fix --benchmark generating valid work for cgminer.
ckolivas 6a0882f0 2013-02-22T16:55:39 Use the sessionid as passed on stratum connect to attempt to resume a connection once and then clear it if it fails, to use a new connection.
ckolivas 68d69109 2013-02-22T12:55:01 Move to storing the nonce1 in the work struct instead of the sessionid for the now defunct first draft mining.resume protocol.
Con Kolivas fce54349 2013-02-18T14:14:10 Add a get_queued function for devices to use to retrieve work items from the queued hashtable.
ckolivas f910476d 2013-02-17T00:10:59 Merge branch 'usb-dev' into queued_work
ckolivas 22a50a5a 2013-02-17T00:10:36 Merge branch 'usb-dev' of github.com:ckolivas/cgminer into usb-dev
Con Kolivas 4fdd45af 2013-02-16T03:51:33 Merge pull request #387 from luke-jr/bugfix_20130215b Bugfix: Duplicate stratum sessionid when copying work, to avoid double-free
Luke Dashjr 0847d458 2013-02-16T06:46:00 Bugfix: Duplicate stratum sessionid when copying work, to avoid double-free
Kano 4266245a 2013-02-16T14:15:17 Merge remote-tracking branch 'conman/master' into bflsc
Con Kolivas fda6d46e 2013-02-16T14:09:44 Add the choice of hash loop to the device driver, defaulting to hash_sole_work if none is specified.
Con Kolivas 254e25ac 2013-02-16T14:03:40 Add comments.