1
0
mirror of https://github.com/GOSTSec/sgminer synced 2025-01-10 14:58:01 +00:00
Commit Graph

487 Commits

Author SHA1 Message Date
Con Kolivas
3a9fd06c42 Revert "total_queued should always be >= total_staged"
This reverts commit 5a861bf1e4.

No good.
2011-07-19 09:30:17 +10:00
Con Kolivas
cdc72daed9 Some servers regularly return empty responses. Drop the message from ERR to INFO. 2011-07-19 09:26:23 +10:00
Con Kolivas
5a861bf1e4 total_queued should always be >= total_staged 2011-07-19 09:23:04 +10:00
Con Kolivas
44c975be65 Long timeouts are causing reset connections and longpoll can recover if the connection needs to be restarted, so remove the timeout settings. 2011-07-19 01:39:22 +10:00
Con Kolivas
19b80d6db3 Curl's global init can trample dynamically allocated data so do it before anything else. 2011-07-19 00:14:58 +10:00
Con Kolivas
1d27c119b6 Don't let total_queued go below zero. 2011-07-18 22:02:10 +10:00
Con Kolivas
8220af8806 Avoid queueing extra work if there's work staged as well. 2011-07-18 20:22:16 +10:00
Con Kolivas
c3e569ed9b Copied the data to longpoll_block too early so the longpoll message will rarely be received.
Submit longpoll's converted work after we've flushed requests since that will blank the current_block for stage_thread to see.
2011-07-18 13:16:15 +10:00
Con Kolivas
f0006522ae Bump version to 1.2.8 2011-07-18 12:07:35 +10:00
Con Kolivas
0477667f79 Update docs. 2011-07-18 12:05:24 +10:00
Con Kolivas
5e7c37aebb Make it clear what the sha algorithm is for. 2011-07-18 12:02:37 +10:00
Con Kolivas
5affc3b5ab Merge pull request #17 from ycros/osx
Fix suseconds_t for OSX.
2011-07-17 19:00:24 -07:00
Ycros
1f3074d2ff Fix configure.ac for 64bit OSX builds 2011-07-18 11:49:27 +10:00
Con Kolivas
e532ac354a Only clear the longpoll block data if we successfully received a longpoll, and do it before converting the longpoll data to work to avoid the staging thread believing it got the new work before the longpoll. 2011-07-18 11:37:33 +10:00
Ycros
31d98cf167 Fix suseconds_t for OSX. 2011-07-18 11:37:16 +10:00
Con Kolivas
01eb4c599d Minimise impact on GUIs by dropping priority and policy in gpu mining threads if dynamic mode is enabled. 2011-07-18 11:36:54 +10:00
Con Kolivas
08cf074206 News. 2011-07-18 11:31:21 +10:00
Con Kolivas
0aa9887300 Add an sse4 algorithm to CPU mining. 2011-07-18 11:27:58 +10:00
Con Kolivas
0c49935250 Fix CPU mining with other algorithms not working. 2011-07-18 11:05:37 +10:00
Con Kolivas
a7707a26cb Rename the poclbm file to ensure a new binary is built since. 2011-07-18 10:42:24 +10:00
Con Kolivas
fc184625d2 We now are guaranteed to have one fresh work item after a block change and we should only discard staged requests. 2011-07-18 10:33:31 +10:00
Con Kolivas
d53ee8e71b Don't waste the work we retrieve from a longpoll. 2011-07-18 10:19:22 +10:00
Con Kolivas
0c253734e1 Provide a control lock around global bools to avoid racing on them. 2011-07-18 10:12:38 +10:00
Con Kolivas
8d8e0669f6 News. 2011-07-18 00:13:03 +10:00
Con Kolivas
1c070475c3 Cycling over 1026 nonces is a remnant of old code not relevant now and can just lead to repeat submission of the same block increasing rejects.
Remove it.
2011-07-17 23:38:29 +10:00
Con Kolivas
b6ac9f185e Revert "Make sure not to try and submit work for nonces higher than already submitted in current work item."
This reverts commit a2dd410e36.

Incorrect fix. Missed real shares that are accepted.
2011-07-17 20:06:43 +10:00
Con Kolivas
1d45b7f475 Revert "Don't miss first work item."
This reverts commit 57f5893f4a.

Start reverting. This fix didn't help.
2011-07-17 20:06:25 +10:00
Con Kolivas
57f5893f4a Don't miss first work item. 2011-07-17 19:36:17 +10:00
Con Kolivas
a2dd410e36 Make sure not to try and submit work for nonces higher than already submitted in current work item.
This reduces rejects substantially.
2011-07-17 19:33:53 +10:00
Con Kolivas
b198badcf4 The poclbm kernel needs to be updated to work with the change to 4k sized output buffers. 2011-07-17 14:42:44 +10:00
Con Kolivas
6e30c0701c longpoll seems to work either way with post or get but some servers prefer get so change to httpget. 2011-07-17 14:39:53 +10:00
Con Kolivas
65b2aff8d0 Add SS description to readme. 2011-07-17 13:55:43 +10:00
Con Kolivas
a0e799b326 News. 2011-07-16 23:33:17 +10:00
Con Kolivas
c4aefa35d7 Bump version number. 2011-07-16 23:32:44 +10:00
Con Kolivas
eb91b03e22 Show last 8 characters of the share submitted. 2011-07-16 23:31:32 +10:00
Con Kolivas
b7c6d85192 Further update news. 2011-07-16 18:12:57 +10:00
Con Kolivas
96cc141ba2 Display URL connected to and user connected as in status. 2011-07-16 17:43:04 +10:00
Con Kolivas
3e032b8a8d Display current block and when it was started in status line. 2011-07-16 12:48:15 +10:00
Con Kolivas
a1339d723f Only pthread_join the mining threads if they exist as determined by pthread_cancel. 2011-07-16 11:06:58 +10:00
Con Kolivas
3cb7ef2b07 Create a unique get work queue instead of faking it all to thread 0. 2011-07-16 10:46:50 +10:00
Con Kolivas
0a9db84d26 Make it clear the restart message is going to the watchdog thread. 2011-07-16 10:33:01 +10:00
Con Kolivas
8203cc67eb Check the current block description hasn't been blanked pending the real new current block data. 2011-07-16 10:28:59 +10:00
Con Kolivas
18af4e6272 Re-enable signal handlers once the custom sighandler has been hit to make it possible to still kill cgminer. 2011-07-16 10:13:49 +10:00
Con Kolivas
f762da01eb Update news. 2011-07-16 02:57:55 +10:00
Con Kolivas
70edd0d36f Disable restarting of CPU mining threads pending further investigation. They may not need it and are easily killed off. 2011-07-16 02:55:43 +10:00
Con Kolivas
75e1d0166c Update NEWS infromation. 2011-07-16 02:53:04 +10:00
Con Kolivas
009e8f31c5 Shorten the code path in the kernel even more. 2011-07-16 02:37:54 +10:00
Con Kolivas
274022f260 Message too verbose. Simplify it. 2011-07-16 02:07:52 +10:00
Con Kolivas
55695066b6 Display appropriate messages with/without longpoll to make it clear if stalls happen that cgminer is waiting on more work. 2011-07-16 01:57:04 +10:00
Con Kolivas
3785e50d3f Add new block data to status line. 2011-07-16 01:47:58 +10:00