Log

Author Commit Date CI Message
Kano 55a6c929 2012-12-11T15:48:44 API-README update
Kano a58933dc 2012-12-11T15:43:24 api use a dynamic io buffer, truncated before it reaches the current ~64k limit
Kano 440edfc4 2012-12-10T20:14:36 usb display message when device is in use/another cgminer
Con Kolivas 70b62876 2012-12-09T23:58:54 Merge pull request #354 from kanoi/api minor unlikely zero pointer test
Kano 58a7226d 2012-12-10T18:42:32 minor unlikely zero pointer test
Con Kolivas c3fb1bce 2012-12-10T15:40:16 Revert "Selectively discard all work items if a longpoll or stratum restart is received without a new block to work on." This reverts commit 31f75098b51465c885dc36b49b29b2d82dd216e3. Mistake, set in work_block already.
Con Kolivas 69494c12 2012-12-10T15:38:21 BeaverCreek doesn't like BFI INT patching.
Con Kolivas 1922e498 2012-12-10T11:03:50 Only stratum pools that are idle need to be kicked via cnx_needed.
Con Kolivas c70a2658 2012-12-09T15:55:52 Merge pull request #353 from kanoi/api mmq - abbreviate the temperature numbers
Kano f19b03c8 2012-12-10T10:53:11 mmq - abbreviate the temperature numbers
Con Kolivas 0c41b1b2 2012-12-10T10:52:33 Merge branch 'master' of github.com:ckolivas/cgminer
Con Kolivas f3b96b8d 2012-12-10T10:51:40 Do not do any setup if opt_api_listen is disabled in api.c.
Con Kolivas 634958ff 2012-12-09T15:44:20 Merge pull request #352 from kanoi/api usbutils.c uninitialised usbstat for non-primary mmqs
Kano e6efec46 2012-12-10T10:42:02 usbutils.c uninitialised usbstat for non-primary mmqs
Con Kolivas 2b5467c4 2012-12-10T10:32:50 Merge branch 'master' of github.com:ckolivas/cgminer
Con Kolivas c5d9f3ac 2012-12-10T10:32:21 Only set the lagging flag for select_pool() on failed getwork if we're not in opt_fail_only mode.
Con Kolivas 6d848e27 2012-12-09T15:03:43 Merge pull request #351 from denis2342/ztex libztex: in case the selectFpga() failed set the selected fpga to unknown
Denis Ahrens 0559d0bb 2012-12-09T23:56:36 libztex: in case the selectFpga() failed set the selected fpga to unknown after libztex_selectFpga() failed we can not be sure which fpga is now selected. can be the old one or maybe even the new one. so set the selected fpga variable to unknown so that the next call must set it again.
Con Kolivas 43be78cc 2012-12-09T04:41:21 Merge pull request #350 from sharky112065/master Update windows-build.txt
sharky112065 ccbe0e66 2012-12-09T04:33:33 Modified windows-build.txt to update git instructions.
Con Kolivas 40f5362a 2012-12-09T03:20:56 Merge pull request #349 from denis2342/broken_fpga driver-ztex: support for broken fpga on a multifpga board
Con Kolivas 031ba75c 2012-12-09T03:20:23 Merge pull request #348 from denis2342/ztex libztex: removed an unused struct member (ztex->valid)
Denis Ahrens f5a57596 2012-12-09T12:06:42 libztex: use a function for the twice called firmware reset code
Denis Ahrens 9b1d0c9d 2012-12-09T11:39:56 libztex: removed an unused struct member (ztex->valid)
Denis Ahrens 26ef730c 2012-12-09T11:37:02 driver-ztex: support for broken fpga on a multifpga board
Con Kolivas 383b42f2 2012-12-09T17:15:13 Set the pool lagging flag on startup to avoid it being shown initially, and only unset it once the maximum number of staged work items has been reached.
Con Kolivas 8feb3029 2012-12-09T15:38:44 Avoid recursive locking of the stgd lock.
Con Kolivas c59aeb56 2012-12-09T15:29:06 Revert "Wake the getwork scheduler after every restart threads." This reverts commit 5b03e7497db5cc0cab7d2b788168c2d3f2b0fc87. Redundant.
Con Kolivas 31f75098 2012-12-09T15:28:30 Selectively discard all work items if a longpoll or stratum restart is received without a new block to work on.
Con Kolivas 5b03e749 2012-12-09T15:11:49 Wake the getwork scheduler after every restart threads.
Con Kolivas 15e5e36b 2012-12-09T14:13:24 Return value of keep_sockalive is no longer used.
Con Kolivas 8fcc67f3 2012-12-09T13:39:37 Remove dependency on mstcpip.h for windows build by making curl version >= 7.25.0 mandatory on windows builds, and use curl functions for keepalive whenever possible instead.
Con Kolivas 01b9c6df 2012-12-09T08:22:13 Make main() the getwork scheduler once everything is set up, so that all app exits use the kill_work and quit paths.
Con Kolivas b53fa540 2012-12-08T12:38:58 Merge pull request #347 from denis2342/ztex Ztex: more whitespace and style fixes
Denis Ahrens dba00728 2012-12-08T13:09:24 ztex: more style and whitespace fixes
Con Kolivas c1b0143d 2012-12-08T03:58:44 Merge pull request #346 from denis2342/ztex libztex: silenced another warning
Denis Ahrens 44c0f72a 2012-12-08T12:55:26 libztex: silenced another warning
Con Kolivas 68f1b2c4 2012-12-08T22:14:47 Set successful connect to true on auth stratum to allow summary on exit from single stratum pool.
Con Kolivas 30f6840b 2012-12-08T22:08:23 Only consider work stale for stratum of different job_id if it's not a share.
Con Kolivas c63916da 2012-12-08T21:56:57 Increment version preempting changed version signifying different codebase to 2.9
Con Kolivas 67a9af68 2012-12-08T21:53:06 Hash_pop should signal further waiters on its own pthread conditional in case there are multiple waiters.
Con Kolivas 5c4c2d67 2012-12-08T21:45:15 Check the job_id has not changed on stratum work when deciding if the work is stale as might occur across disconnections.
Con Kolivas fcb26532 2012-12-08T21:35:14 Perform pool_resus on getwork pool that generates work in getwork_thread.
Con Kolivas 3d1e9f50 2012-12-08T21:32:49 Set pool lagging message for getwork pool that falls to zero staged in getwork thread.
Con Kolivas 927730ae 2012-12-08T21:27:40 Stage extra work when the primary pool is a getwork pool without rolltime.
Con Kolivas 24de9b86 2012-12-08T21:23:33 Do not try to clean up twice if kill message is given.
Con Kolivas 84b44fd8 2012-12-08T21:21:19 Only recalculate total_staged in getwork thread if required.
Con Kolivas 77ef4c21 2012-12-08T21:19:22 Include the correct config header in libztex and include it before other includes.
Con Kolivas 86c08516 2012-12-08T21:17:49 Merge branch 'master' of github.com:ckolivas/cgminer
Con Kolivas b2805551 2012-12-08T21:13:04 Implement a completely new getwork scheduler. Stage all work from the one thread, making it possible to serialise all requests minimising the number of getworks requested or local work generated. Use a pthread conditional to wake up the thread whenever work is removed to generate enough work to stay above the watermark set by opt_queue. Remove all remnants of the old queueing mechanism, deleting the now defunct queued count.
Con Kolivas 0aefc9b5 2012-12-07T12:54:51 Merge pull request #345 from denis2342/ztex libztex: fixed some warnings and removed some whitespaces
Denis Ahrens b7753e33 2012-12-07T14:11:31 libztex: fixed some warnings and removed some whitespaces
Con Kolivas a24483e7 2012-12-07T03:06:58 Merge pull request #344 from denis2342/ztex libztex: silenced some warnings
Denis Ahrens 69a688f5 2012-12-07T05:02:26 libztex: silenced some warnings
Con Kolivas dd658182 2012-12-07T13:45:03 Remove all references to the now unused workio_cmd structure.
Con Kolivas ed1b5cae 2012-12-07T13:40:26 Remove the old workio command queue thread, replacing it with a kill conditional to exit the program.
Con Kolivas 59ddfd07 2012-12-07T13:32:23 Remove getwork command from workio_cmd queues and do them directly from queue_request.
Con Kolivas c99636f2 2012-12-07T13:21:46 Begin tearing down the old workio command queues by removing submit commands from there and submit them asynchronously via their own threads.
Con Kolivas 5dc25882 2012-12-06T15:42:55 Merge pull request #343 from denis2342/ztex support to upload the mining firmware to all ztex mining boards
Con Kolivas be5316b4 2012-12-07T10:40:13 Update windows build instructions.
Con Kolivas be013e96 2012-12-07T09:36:22 Set pool probed to true on successful authorisation with stratum to avoid it being pinged later with pool_getswork.
Denis Ahrens f7083c00 2012-12-06T16:52:06 driver-ztex: libztex_setFreq() must be called before ztex_releaseFpga()
Denis Ahrens e59f6681 2012-12-06T15:07:04 driver-ztex: changed two pairs of malloc()/memset() to calloc()
Denis Ahrens b48b2cc8 2012-12-06T14:06:30 libztex: Read bitstream file in 2kb blocks with simpler and faster code optimized libztex_configureFpgaLS() like it was done some commits ago to libztex_configureFpgaHS()
Denis Ahrens a4fead54 2012-12-04T14:20:33 Added the binary versions of ztex_ufm1_15d4.ihx and ztex_ufm1_15y1.ihx The files were converted with ihx2bin to make them directly usable to download as mining firmware to the ztex board.
Con Kolivas d4f4c932 2012-12-04T21:57:29 Trivial space removal.
Denis Ahrens 1203f1f6 2012-12-04T05:34:52 libztex: Add firmware download support for ZTEX 1.15d and 1.15x The correct firmware file is automatically determined based on the ZTEX descriptor in the dummy firmware.
Peter Stuge f9673928 2012-12-04T11:30:04 libztex: Factor out local version of libusb_get_string_descriptor_ascii()
Con Kolivas 52de7170 2012-12-04T21:55:29 Shut up some boring old cpu warnings.
Con Kolivas 8ebf4f6e 2012-12-04T21:52:41 Style changes.
Con Kolivas c0cd006f 2012-12-04T21:49:11 Allow pool active to be called on stratum or disabled pools in the watchpool thread if the pool has not been probed.
Denis Ahrens 90b3e6ad 2012-12-04T05:09:23 libztex: Make log messages say bitstream when refering to bitstreams
Denis Ahrens d9479b2c 2012-12-03T08:55:00 libztex: Don't return error when a bitstream was already configured The high speed and low speed configureFpga functions should not return an error when no bitstream needs to be downloaded. These codepaths are not executed for now, because all calls to configureFpga set the force parameter to true. Future commits may change that, allowing cgminer to start mining immediately if each hardware has already been correctly configured with firmware and bitstream(s).
Denis Ahrens b70edef9 2012-12-03T08:53:22 libztex: Read bitstream file in 64kb blocks with simpler and faster code
Denis Ahrens a5b28450 2012-12-02T00:05:20 libztex: Verify that the mining firmware is not a dummy firmware
Denis Ahrens 843e9120 2012-12-01T08:41:25 libztex: Match mining firmware ZTEX descriptor against the dummy firmware The first 8 bytes are matched, which ensures that the mining firmware actually fits the hardware, assuming that the correct dummy firmware is present in the device.
Con Kolivas 52b4bae9 2012-12-04T21:29:49 Combine shared padding into one char.
Denis Ahrens 8d7ad828 2012-12-01T03:29:58 libztex: Start download sequence only after reading in the new firmware The download sequence starts with a reset command, which tells the board that a new firmware is about to be downloaded. The board gets unhappy if no new firmware is actually sent, so only send the reset command AFTER the new firmware has actually been successfully read.
Peter Stuge 584dc5ac 2012-11-30T03:21:12 libztex: Download mining firmware to all devices with dummy firmware When one or more ZTEX devices with dummy firmware are found on startup, the correct firmware is downloaded to each device, and then USB devices are rescanned until all devices have reattached with the mining firmware. This allows to discover and configure all ZTEX devices and start mining directly, without first running the ZTEX Java software to download a firmware to the device.
Con Kolivas e14d1d6e 2012-12-04T00:18:10 Merge pull request #340 from kanoi/main lock the threaded statistics updates
Kano 120fc7af 2012-12-04T19:14:27 lock (most of) the threaded statistics updates
Con Kolivas 0266ac2d 2012-12-03T22:34:12 Merge pull request #342 from kanoi/api README stats don't add up
Kano ea39a3c4 2012-12-04T16:03:55 README stats don't add up
Con Kolivas b96dd780 2012-12-03T16:27:16 Merge pull request #341 from kanoi/usb2 usbutils.c remove compiler warning
Kano 3a91d8eb 2012-12-04T11:21:49 usbutils.c remove compiler warning
ckolivas b86aa20b 2012-12-04T11:06:35 Make need connection return true if a pool is idle.
Con Kolivas 777f0573 2012-12-03T04:19:17 Merge pull request #339 from kanoi/api API lock access to some summary statistics + API add Best Share to summary
Kano e55fe73f 2012-12-03T23:08:11 API add Best Share to summary
Con Kolivas c4b17ae9 2012-12-03T17:54:57 Check on creating new GBT work if the structures are up to date and update them as required rather than regularly.
Con Kolivas 4fbe435f 2012-12-03T17:24:17 Update windows build instructions.
Con Kolivas 401357e6 2012-12-03T16:45:43 Enable backup stratum connections for getwork when the primary pool doesn't have longpoll aka solo mining.
Con Kolivas 289d6807 2012-12-03T16:16:00 Check for correct absence of opt_fail_only in cnx_needed.
Con Kolivas 4b28c859 2012-12-03T15:28:52 Remove unused variable.
Con Kolivas f4d305a9 2012-12-03T15:26:58 The specification for stratum has been elaborated to say that a changed diff applies only to new work so do not retarget when submitting shares.
Con Kolivas 1ad671b0 2012-12-03T15:17:44 Use a variable length string array in submit_upstream_work to cope with massive GBT submissions.
Kano a67e96c3 2012-12-03T11:36:15 API lock access to some summary statistics (and copy them)
Con Kolivas fc5d3a0e 2012-12-03T09:52:46 Suspend stratum connections to backup pools when there is no requirement to potentially grab work from them.
Con Kolivas 16637ac9 2012-12-03T08:14:24 Fix missing export for RenameThread.
Con Kolivas 9a716547 2012-12-02T12:46:01 Merge pull request #338 from denis2342/threadname small patch to add names to threads, should work for linux, freebsd and osx
Con Kolivas 28f251e4 2012-12-02T12:45:23 Merge pull request #336 from kanoi/usb2 mmq usb v0.4 + api usb stats