Log

Author Commit Date CI Message
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.
Con Kolivas ac0c813f 2012-10-03T10:33:11 Bit error in target calculation for stratum.
Con Kolivas 310239b8 2012-10-03T10:20:54 Revert "Parse reject reason from the stratum json error code if there is one." This reverts commit c6a3d065fa6c19191af3709fc5b138faf0c0fafb. Segfaults. Needs work.
Con Kolivas 3d982dfb 2012-10-03T09:49:01 Set work_block in gen_stratum_work for when work is reused to avoid thinking it's all stale.
Con Kolivas 74c11945 2012-10-03T09:42:20 Offset the current block detection to the prev block hash.
Con Kolivas c6a3d065 2012-10-03T08:55:02 Parse reject reason from the stratum json error code if there is one.
Con Kolivas 9e0e6150 2012-10-03T01:14:35 We should be testing for id_val, not id in parse stratum response.
Con Kolivas fdaabf59 2012-10-03T00:35:08 Make target on stratum scale to any size by clearing sequential bits according to diff.
Con Kolivas a8a8ed62 2012-10-02T16:01:32 Correct target calculation in gen_stratum_work.
Con Kolivas 925d0192 2012-10-02T14:12:34 If a share result has an error code but still has an id, it is likely a reject, not an error.
Con Kolivas 1b7aa48c 2012-10-02T11:46:48 Initiate stratum the first time in pool_active only, allowing us to switch to it on getting a failed getwork and detecting the presence of stratum on the url at that time.
Con Kolivas d122a789 2012-10-02T10:19:45 Use 5 second timeout on sock full for now as a temporary workaround.
Con Kolivas d851bf3d 2012-10-02T10:10:52 Revert "Don't wait on select when first detecting stratum, just receive one line." This reverts commit 496af92afd3e2cfe0d507e7199bc35b17ecee766. Not quite right.
Con Kolivas 496af92a 2012-10-02T10:06:37 Don't wait on select when first detecting stratum, just receive one line.
Con Kolivas 210bc9be 2012-10-02T10:02:25 If no stratum url is set by the end of the detect stratum routine, copy the sockaddr url.
Con Kolivas 78aafcec 2012-10-02T09:26:18 Make all buffers slightly larger to prevent overflow.
Con Kolivas bbb092e0 2012-10-02T09:08:47 Make the stratum recv buffer larger than the recvsize.
Con Kolivas df91df35 2012-10-02T02:03:52 Userpass needs to be copied to user and pass earlier to allow stratum authorisation to work with it.
Con Kolivas 2941febd 2012-10-02T00:00:55 Store a sockaddr url of the stripped url used in determining sockaddr to not confuse it with the stratum url and fix build warnings.
Con Kolivas 2ccb6d78 2012-10-01T23:19:34 Decrease the queued count with stratum work once it's staged as well.
Con Kolivas 601d1aca 2012-10-01T23:15:50 Allow the stratum retry to initiate and auth stratum in pool_alive to make sure the stratum thread is started.
Con Kolivas 4a7ce9dd 2012-10-01T22:21:43 Avoid duplicating pool->rpc_url and setting pool->stratum_url twice to itself.
Con Kolivas eaf7ed0d 2012-10-01T22:13:20 Detect if a getwork based pool has the X-Stratum header on startup, and if so, switch to the stratum based pool.
Con Kolivas b495a51b 2012-10-01T18:50:32 Comment update.
Con Kolivas 2aacd89a 2012-10-01T18:46:33 Minor message change.
Con Kolivas 90b18937 2012-10-01T18:43:24 Create a work item from a "clean" request from stratum allowing the new block to be detected and the appropriate block change message to be given.
Con Kolivas b97a33a5 2012-10-01T14:44:44 Use statically allocated stratum strings in struct work to cope with the inability to safely deallocate dynamically allocated ram.
Con Kolivas e93f679a 2012-09-30T23:44:27 Use the current pool when deciding whether to reuse work from a stratum source rather than the work's previous pool.
Con Kolivas 6174c806 2012-09-30T23:36:05 Copy the stratum url to the rpc url to avoid none being set.
Con Kolivas b5617734 2012-09-30T23:10:43 Provide locking around stratum send operations to avoid races.
Con Kolivas 8baac0d6 2012-09-30T23:03:45 Submit shares from stratum through the abstracted submit share function detecting what message they belong to and showing the data from the associated work, and then deleting it from the hash.
Con Kolivas fa4c9bf6 2012-09-30T22:40:41 Use a more robust mechanism to obtain a \n terminated string over a socket.
Con Kolivas 2de95151 2012-09-30T20:24:24 Abstract out share submit as a function to be useable by stratum.
Con Kolivas 739cba28 2012-09-30T19:19:46 Rename parse_stratum to parse_method as it is only for stratum messages that contain methods.
Con Kolivas b871f69f 2012-09-30T19:13:50 Display stratum as mechanism in status line when current pool is running it.
Con Kolivas 9180a557 2012-09-30T19:11:22 Count each stratum notify as a getwork equivalent.
Kano c2b1504e 2012-09-30T17:44:36 Icarus USB write failure is also a comms error
Kano 6d6692ce 2012-09-30T17:38:27 api.c DEBUG message has no paramter
Kano aaaa8a52 2012-09-30T17:37:01 Icarus catch more USB errors and close/reopen the port
Con Kolivas 6593b893 2012-09-30T16:47:06 Correct nonce submitted with share.
Con Kolivas 41acd23d 2012-09-29T23:59:55 Extranonce2 should be added before coinbase2.
Con Kolivas fb987fd2 2012-09-29T19:15:58 We should be hashing the binary coinbase, not the hex one.
Con Kolivas 61360952 2012-09-29T17:44:19 Fix endianness of nonce submitted for stratum.
Con Kolivas aa6aa29c 2012-09-29T17:06:48 Check that stratum is already active in initiate_stratum to avoid de-authorising ourselves by subscribing again.
Con Kolivas fab9ff3c 2012-09-29T16:10:44 Revert "Free stratum buffers added to the work struct when freeing work ram." This reverts commit 13fdff6531a6586dadebff913d85252577fb5bb7. Not always allocated... needs some more thought.