Log

Author Commit Date CI Message
ckolivas 3fce32f4 2012-10-17T10:33:22 Use 3 significant digits when suffix string is used and values are >1000.
ckolivas 68f9af28 2012-10-17T09:35:29 Get rid of unused warning for !scrypt.
ckolivas bb4bec98 2012-10-17T09:34:32 Use select on stratum send to make sure the socket is writeable.
Con Kolivas 2aa5163b 2012-10-16T22:04:05 Cope with dval being zero in suffix_string and display a single decimal place when significant digits is not specified but the value is greater than 1000.
Con Kolivas 54d2999d 2012-10-16T21:20:02 Pad out the suffix string function with zeroes on the right.
Con Kolivas 99adf397 2012-10-16T19:47:31 Failure to calloc in bin2hex is a fatal failure always so just check for that failure within the function and abort, simplifying the rest of the code.
Con Kolivas b3d42589 2012-10-16T19:22:48 Provide locking around the change of the stratum curl structures to avoid possible races.
ckolivas 53c3cce6 2012-10-16T15:27:06 Bump opencl kernel version numbers.
ckolivas 775a2728 2012-10-16T15:10:22 Remove atomic ops from opencl kernels given rarity of more than once nonce on the same wavefront and the potential increased ramspeed requirements to use the atomics.
ckolivas 5fcc8612 2012-10-16T14:56:50 Clear the pool idle flag in stratum when it comes back to life.
Con Kolivas 7adb7a30 2012-10-15T23:10:24 Display correct share hash and share difficulty with scrypt mining.
Con Kolivas 04c7a21d 2012-10-15T17:36:44 Use explicit host to BE functions in scrypt code instead of hard coding byteswap everywhere.
Con Kolivas 57aac504 2012-10-15T17:29:33 Show work target diff for scrypt mining.
Con Kolivas 25c39c96 2012-10-15T12:31:57 Ease the checking on allocation of padbuffer8 in the hope it works partially anyway on an apparently failed call.
Con Kolivas e5babfa2 2012-10-15T11:40:32 Watch for buffer overflows on receiving data into the socket buffer.
Con Kolivas d4f8a0b2 2012-10-15T10:29:44 Round target difficulties down to be in keeping with the rounding of detected share difficulties.
Con Kolivas 7450b25e 2012-10-14T12:07:27 Dramatically simplify the dynamic intensity calculation by oversampling many runs through the opencl kernel till we're likely well within the timer resolution on windows.
Con Kolivas 2a9b3e33 2012-10-14T09:54:04 String alignment to 4 byte boundaries and optimisations for bin<->hex conversions.
Con Kolivas 1c22c0e8 2012-10-14T08:37:54 In opencl_free_work, make sure to still flush results in dynamic mode.
Con Kolivas bd377f76 2012-10-14T03:35:01 Align static arrays to 4 byte boundaries to appease ARM builds for stratum.
Con Kolivas a63fc8c2 2012-10-12T18:06:00 Bump version to 2.8.3
Con Kolivas b976261c 2012-10-12T18:05:40 Update documentation.
Con Kolivas 13676ef1 2012-10-12T18:00:14 Left align values that are suffix_string generated.
Con Kolivas f22fe761 2012-10-12T17:36:48 Share_diff should not be converting the work data to hex.
Con Kolivas 6cebabea 2012-10-12T15:40:18 Update readme describing difficulty displayed on log lines.
Con Kolivas fc72ad55 2012-10-12T14:57:42 Off by one error.
Con Kolivas 9ccfcee6 2012-10-12T14:55:52 Prevent overflows of the port char array in extract_sockaddr.
Con Kolivas 7c7e5116 2012-10-12T14:53:16 Disable stratum detection with scrypt.
Con Kolivas c3bdb359 2012-10-12T14:52:14 Use the suffix string function when displaying device hashrates.
Con Kolivas 660a0ffe 2012-10-12T14:46:55 Correct variables used in get_statline
Con Kolivas a10e3294 2012-10-12T14:41:13 Be consistent with the get_statline function.
Con Kolivas 911b1788 2012-10-12T14:40:02 Use the suffix string function for displaying hashrate with 4 significant digits.
Con Kolivas 420fdf32 2012-10-12T14:17:29 Display the actual share diff next to the pool required diff, using a suffix creation function to prevent values of >1000 being shown in their entirety.
Con Kolivas 55396f53 2012-10-12T11:35:20 Fix 4 * 0 being 0 that would break dynamic intensity mode.
Con Kolivas d15c70f8 2012-10-12T11:30:35 Fix wrong byteswap macro being used on mingw32 which was breaking target generation on stratum.
Con Kolivas a977fa47 2012-10-11T20:46:04 Fix lack of htobe64 on mingw32.
Con Kolivas ccaf7314 2012-10-11T20:33:45 Bump version to 2.8.2
Con Kolivas 78f2be16 2012-10-11T20:33:26 Update NEWS.
Con Kolivas 4fbc570f 2012-10-11T20:30:47 Reinstate the history on dynamic intensity mode to damp fluctuations in intensity but use an upper limit on how much the value can increase at any time to cope with rare overflows.
Con Kolivas d211f8e0 2012-10-11T19:52:40 Create a fix-protocol option which prevents cgminer from switching to stratum if it's detected.
Con Kolivas 5ed6e9d5 2012-10-11T19:31:24 Simplify target generation code.
ckolivas 7f522ef8 2012-10-11T14:23:09 Add support for client.get_version for stratum.
ckolivas ca962ee5 2012-10-11T10:46:45 Use a 64 bit unsigned integer on the diff target to generate the hex target.
Con Kolivas a533f106 2012-10-11T00:08:45 Update reconnect message to show whole address including port.
Con Kolivas 5226a399 2012-10-11T00:06:44 Look for null values and parse correct separate array entries for url and port with client reconnect commands for stratum.
Con Kolivas 7c04a00e 2012-10-10T23:56:24 The command for stratum is client.reconnect, not mining.reconnect.
Con Kolivas ef6ad423 2012-10-10T23:46:49 Only copy the stratum url to the rpc url if an rpc url does not exist.
Con Kolivas 783af876 2012-10-10T23:41:29 Implement rudimentary mining.reconnect support for stratum.
Con Kolivas 974f65c6 2012-10-10T23:22:24 Ignore the value of stratum_active on calling initiate_stratum and assume we're always trying to reinitiate it, and set the active flag to false in that function.
Con Kolivas 07605fad 2012-10-10T23:07:33 stratum auth can be unset if we fail to authorise on subsequent calls to auth_stratum which undoes the requirement of setting it in one place so set it in pool_active.
Con Kolivas 80d43557 2012-10-08T22:59:50 Remove free that could segfault.
Con Kolivas e0864a61 2012-10-08T22:48:06 Bump version to 2.8.1
Con Kolivas 295469ca 2012-10-08T22:47:08 Update news.
Con Kolivas 7d6bcab8 2012-10-08T22:15:30 Use the stratum url as the rpc url advertised if we switch to it.
Con Kolivas 2b6e3676 2012-10-08T22:10:15 Count an invalid nonce count as a hardware error on opencl.
Con Kolivas 662ab1ef 2012-10-08T21:34:46 Count each stratum work item as local work.
Con Kolivas 2023e53f 2012-10-08T13:48:18 Cope with one stratum pool being the only active pool when it dies by sleeping for 5 seconds before retrying to get work from it instead of getting work indefinitely.
Con Kolivas ef822a25 2012-10-08T11:08:04 Detect stratum outage based on either select timing out or receiving an empty buffer and properly re-establish connection by disabling the stratum_active flag, coping with empty buffers in parse_stratum.
Con Kolivas f25c34bf 2012-10-07T19:00:10 Bump version to 2.8.0
Con Kolivas 1614da68 2012-10-07T18:59:43 Update NEWS and README.
Con Kolivas b41de69c 2012-10-07T18:22:35 Fix various modminer warnings on mingw.
Con Kolivas 2c80e16c 2012-10-07T13:58:34 Fix sign warning on windows build for bitforce.
Con Kolivas 1afb794c 2012-10-07T13:56:28 Cast socketfail to integer since SOCKET is an unsigned int on windows.
Con Kolivas 0a902071 2012-10-07T13:22:17 Merge branch 'master' into stratum
Con Kolivas 735d77f3 2012-10-07T12:59:02 Use strtod not strtol for bitforce temp backup.
Con Kolivas 947a67ea 2012-10-07T12:52:48 Cope with broken drivers returning nonsense values for bitforce temperatures.
Con Kolivas 8faeeccf 2012-10-07T11:56:01 Bump version to 2.7.7
Con Kolivas cc3b693c 2012-10-07T12:25:19 Minor warning fixes.
Con Kolivas 8dcdf81f 2012-10-07T10:38:42 Update NEWS.
Con Kolivas fefdb715 2012-10-07T10:26:42 Fix unused warnings on ming build.
Con Kolivas aa35fbcc 2012-10-07T10:21:20 Fix sign warning in ocl.c
Con Kolivas 58bba40a 2012-10-07T10:19:52 fds need to be zeroed before set in modminer.
Con Kolivas 40b747ba 2012-10-07T10:00:02 Put scrypt warning on separate line to avoid 0 being shown on windows as bufsize.
Con Kolivas 461b7c6d 2012-10-06T15:12:05 Display correct pool number when block is found.
Con Kolivas 2ff16103 2012-10-06T14:58:26 Prevent corrupt values returned from the opencl code from trying to read beyond the end of the buffer by masking the value to a max of 15.
Con Kolivas 0097757d 2012-10-05T21:36:59 Merge pull request #316 from kanoi/icarus Icarus catch more USB errors and close/reopen the port / api.c DEBUG message bug
Con Kolivas 8a650a67 2012-10-05T21:36:50 Merge pull request #315 from kanoi/api API-README update cgminer verison number
Con Kolivas 53658fbb 2012-10-05T21:36:39 Merge pull request #314 from kanoi/main hashmeter fix stats kh/s on 32bit windows
Con Kolivas 8a32f381 2012-10-06T14:33:51 Use the stratum thread to detect when a stratum pool has died based on no message for 2 minutes.
Con Kolivas 0cddd1ab 2012-10-06T12:17:46 Only set the stratum auth flag once and once the stratum thread is started, use that to set/unset the stratum active flag.
Con Kolivas 7a01578c 2012-10-06T10:14:30 Only hand off to stratum from getwork if we succeed in initiating the protocol.
Con Kolivas 8893f7ab 2012-10-06T01:13:52 Target should only be 32 bytes copied.
Con Kolivas 687fed1d 2012-10-05T19:03:28 Use a static array for work submission data instead of stack memory.
Con Kolivas c4aa8d26 2012-10-05T19:02:10 Clear the buffer data before sprinting to it.
Con Kolivas f0901e0a 2012-10-05T18:08:33 Clear work stratum strings before setting them and add them to debug output.
Con Kolivas ef63ea31 2012-10-05T12:45:07 Drop stratum connect failed message to verbose level only since it's a regular probing message.
Con Kolivas fa444294 2012-10-05T12:41:59 TCP Keepalive in curl is only in very recent versions and not required with regular messages on stratum anyway.
Con Kolivas a8d69302 2012-10-05T12:37:29 Move stratum sockets to curl infrastructure with locking around send+recv to begin support for proxies and ssl.
Con Kolivas 591c4334 2012-10-05T09:41:23 Make detect stratum fail if a proxy has been set up.
Con Kolivas 51c499a5 2012-10-05T00:08:49 Stratum does not currently have any proxy support so do not try to switch to stratum if a proxy has been specified.
Con Kolivas deb0a9b6 2012-10-04T23:18:33 Windows doesn't work with MSG_PEEK on recv so move to a continuously updating buffer for incoming messages.
Con Kolivas 77c5a006 2012-10-04T21:00:32 Alloca is unreliable on windows so use static arrays in util.c stratum code.
Con Kolivas c113534f 2012-10-04T15:35:28 Begin support for mingw stratum build. Conflicts: configure.ac
Con Kolivas 3c85498d 2012-10-04T09:38:05 Add space to reject reason.
Con Kolivas b4450bb8 2012-10-04T09:17:28 Parse the reject reason where possible from stratum share submission.
Con Kolivas 512d2440 2012-10-04T08:52:56 Pass json error value to share result function to be able to parse reject reason in stratum.
Con Kolivas 2fae9064 2012-10-03T21:10:30 Don't try to parse unneeded parameters in response to mining.subscribe.
Con Kolivas 9698858a 2012-10-03T18:19:31 Remove the sshare hash entry if we failed to send it.
Con Kolivas 3cb373d6 2012-10-03T12:01:29 Change notify message to info level to avoid spamming repeatedly when a pool is down.
Con Kolivas 284b786d 2012-10-03T11:18:08 Check the stratum pool difference has not changed compared to the work diff when testing whether a share meets the target or not and retarget if necessary.