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

2959 Commits

Author SHA1 Message Date
Con Kolivas
b74b54d95b Check we haven't staged work while waiting for a curl entry before proceeding. 2012-08-23 11:09:09 +10:00
Con Kolivas
86d5377e72 Use atomic ops to never miss a nonce on opencl kernels, including nonce==0, also allowing us to make the output buffer smaller. 2012-08-23 10:48:15 +10:00
Kano
6bf04bc969 Remove compile errors/warnings and document compile/usage in FPGA-README 2012-08-23 10:22:03 +10:00
Luke Dashjr
87f8b15cc0 bitforce-firmware-flash.c by Luke-jr 2012-08-23 10:10:05 +10:00
Con Kolivas
61df3013a8 Ignore the submit_fail flag when deciding whether to recruit more curls or not since we have upper bounds on how many curls can be recruited, this test is redundant and can lead to problems. 2012-08-22 23:03:17 +10:00
Con Kolivas
d24ac1d95b Merge pull request #304 from kanoi/minerphp
miner.php allow 'coin' is custom pages
2012-08-22 05:58:08 -07:00
Kano
857784ae86 API-README update cgminer version number 2012-08-22 11:34:32 +10:00
Kano
f66cdc08b2 API-README fix groups P: example mistake 2012-08-22 11:25:02 +10:00
Kano
43942bce24 API-README add COIN and other edits 2012-08-22 11:19:15 +10:00
ckolivas
f63aeab1fe gpu->hit should be reset on new work as well. 2012-08-22 10:33:40 +10:00
ckolivas
edd9b81622 Do not add time to dynamic opencl calculations over a getwork. 2012-08-22 10:07:20 +10:00
Kano
9cd7d6ba22 miner.php allow 'coin' is custom pages 2012-08-21 23:23:03 +10:00
Con Kolivas
1e41eef3bd Bump version number to 2.7.1 2012-08-21 23:14:04 +10:00
Con Kolivas
154337f34c Update NEWS. 2012-08-21 23:13:45 +10:00
Con Kolivas
226f628eee Update windows build instructions courtesy of sharky. 2012-08-21 23:07:59 +10:00
Con Kolivas
9de3a264fc Increase max curls to number of mining threads + queue * 2, accounting for up and downstream comms. 2012-08-21 22:51:34 +10:00
Con Kolivas
3ab5dba67e Queue enough requests to get started. 2012-08-21 22:50:09 +10:00
Con Kolivas
3ebe8e8c77 Revert "Scale maximum number of curls up according to work submission rate."
This reverts commit 1dff48e759.

Did  not increase staged work even though it decreased queues.
2012-08-21 22:09:11 +10:00
Con Kolivas
3ceb57b8f6 There is no point trying to clone_work in get_work() any more since we clone on every get_work_thread where possible. 2012-08-21 21:54:33 +10:00
Con Kolivas
787e40a7cc There is no point subtracting 1 from maxq in get_work_thread. 2012-08-21 21:53:35 +10:00
Con Kolivas
1dff48e759 Scale maximum number of curls up according to work submission rate. 2012-08-21 21:50:20 +10:00
Con Kolivas
56be75228e Roll back to 45f0ac7b48 2012-08-21 21:22:26 +10:00
Con Kolivas
c1886c9c99 Assume we need a full allotment of work after lp and make clone_work clone_lpwork only. 2012-08-21 21:13:14 +10:00
Con Kolivas
82fa6e25d5 There is no point running through clone_work from get_work() now that cloning is done from the get_work_thread. 2012-08-21 21:11:22 +10:00
Con Kolivas
caa266ca3b Make opt_queue a function of mining threads in clone_work as well. 2012-08-21 21:10:23 +10:00
Con Kolivas
652efc6939 opt_queue should be a function of the number of mining threads. 2012-08-21 21:08:17 +10:00
Con Kolivas
45f0ac7b48 Merge branch 'master' of github.com:ckolivas/cgminer 2012-08-21 19:47:58 +10:00
Con Kolivas
8ed381f78a Only set lagging flag once there are no staged work items. 2012-08-21 19:47:30 +10:00
Con Kolivas
100ee55a94 Merge pull request #303 from kanoi/minerphp
miner.php allow page title to be defined in myminer.php
2012-08-21 02:32:55 -07:00
Con Kolivas
f5ac84b804 select_pool does not switch back to the primary once lagging is disabled. 2012-08-21 19:32:05 +10:00
Kano
adcd7ed76a miner.php allow page title to be defined in myminer.php 2012-08-21 19:27:12 +10:00
Con Kolivas
5e2c1323a9 Merge pull request #300 from kanoi/api
miner.php format new Work Utility and Diff1 Shares
2012-08-21 00:29:05 -07:00
Con Kolivas
af32fb9a3d Merge pull request #301 from kanoi/minerphp
API new command 'coin' with mining information
2012-08-21 00:28:50 -07:00
ckolivas
f71d635f0f Free work before retrying in get_work_thread. 2012-08-21 17:02:11 +10:00
Con Kolivas
3b234da43f Merge pull request #302 from luke-jr/bugfix_ftdi_alloca
Bugfix: bitforce: Allocate enough space for FTDI description pointers
2012-08-20 19:49:36 -07:00
Con Kolivas
b3cfe47222 Increment total work counter under mutex lock. 2012-08-20 22:24:28 +10:00
Con Kolivas
e8daf1d8f2 Increment the queued count after the curl is popped in case there's a delay waiting on curls and we think we've queued work when in fact we're waiting on curls. 2012-08-20 16:19:28 +10:00
Kano
b3e9858c9f API new command 'coin' with mining information 2012-08-20 16:07:20 +10:00
Con Kolivas
e5ed708493 Do the dynamic timing in opencl code over a single pass through scanhash to make sure we're only getting opencl times contributing to the measured intervals. 2012-08-20 16:02:32 +10:00
Con Kolivas
08948e02f3 Increase curl reaping time to 5 minutes since comms between curl requests can be 2 mins apart with lots of rolltime. 2012-08-20 16:02:32 +10:00
Con Kolivas
51d485e236 No need for extra variable in hash_push. 2012-08-20 16:02:32 +10:00
Con Kolivas
c01284fb07 Remove short options -r and -R to allow them to be reused and remove readme entries for deprecated options. 2012-08-20 11:58:05 +10:00
Con Kolivas
272ba4ed89 Avoid attempting to recursively lock the console mutex by disabling warnings in gpu_fanpercent when fanspeed monitoring fails on windows. Debugged by luke-jr. 2012-08-20 11:52:15 +10:00
Con Kolivas
8fc701dd76 Deprecate the opt_fail_pause parameter, leaving a null placeholder for existing configurations. 2012-08-20 11:18:37 +10:00
Con Kolivas
35cb7fd101 Don't pause after failed getwork, set lagging flag and reassess. 2012-08-20 11:16:38 +10:00
Con Kolivas
69d8c339aa Add message to share if it's a resubmit. 2012-08-20 11:08:56 +10:00
Con Kolivas
b622e97e3e We should not be pausing in trying to resubmit shares. 2012-08-20 11:03:28 +10:00
Con Kolivas
a9278ce944 Get rid of the extending fail pause on failed connects since we discard work after a period. 2012-08-20 11:00:10 +10:00
Con Kolivas
34b8dcb7bc get_work always returns true so turn it into a void function. 2012-08-20 10:58:12 +10:00
Con Kolivas
260b1c87c0 get_work never returns false so get rid of fail pause loop. 2012-08-20 10:54:59 +10:00