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

997 Commits

Author SHA1 Message Date
Con Kolivas
67ebf45c19 Avoid applog under cg_wlock. 2013-04-15 11:44:19 +10:00
Con Kolivas
8d22ca1ac1 Put spacing around locking code for clarity. 2013-04-15 11:42:16 +10:00
Con Kolivas
3209c113d1 Avoid applog under pool_lock. 2013-04-15 11:34:21 +10:00
Con Kolivas
51fbcfed6d Avoid more recursive locks. 2013-04-15 11:25:48 +10:00
Con Kolivas
b948669a4f Avoid applog while ch_lock is held. 2013-04-15 11:13:48 +10:00
Con Kolivas
29f0ac77da Avoid recursive locks in fill_queue. 2013-04-15 10:30:12 +10:00
Con Kolivas
c17a175e17 Merge branches 'avalon-dev' and 'master' of github.com:ckolivas/cgminer 2013-04-10 18:39:50 +10:00
Con Kolivas
64ec06628f Merge pull request #417 from kanoi/bflsc
cgminer.c -S help to only say Icarus + usbutils more stats for bflsc
2013-04-10 01:31:32 -07:00
ckolivas
7231f7f92d Fix warning on 32bit. 2013-04-10 10:59:38 +10:00
Con Kolivas
220eb85818 Rationalise and simplify the share diff and block solve detection to a common site. 2013-04-08 21:52:00 +10:00
Con Kolivas
5c7a32fde8 Rationalise and simplify the share diff and block solve detection to a common site. 2013-04-08 21:26:10 +10:00
Con Kolivas
d86f7b7741 Fix warning with no curses built in. 2013-04-07 02:19:01 +11:00
Con Kolivas
e9b6ff8f6a Fix warning with no curses built in. 2013-04-07 01:46:16 +11:00
Con Kolivas
7783ab5631 Only get extra work in fill_queue if we don't have any unqueued work in the list. 2013-04-06 16:38:00 +11:00
Con Kolivas
97bad1eef6 Only get extra work in fill_queue if we don't have any unqueued work in the list. 2013-04-06 13:01:42 +11:00
Kano
8959f8d0ae cgminer.c -S help to only say Icarus 2013-04-05 20:06:03 +11:00
Con Kolivas
180230220f Rneame avalon_api to avalon_drv. 2013-04-05 18:31:20 +11:00
Con Kolivas
71bae003bc First draft of port of avalon driver to new cgminer queued infrastructure. 2013-04-05 14:52:07 +11:00
Con Kolivas
e9a65bba40 Only update hashrate calculation with the log interval. 2013-04-05 11:18:08 +11:00
Con Kolivas
97a9172370 Update the total_tv_end only when we show the log to prevent failure to update logs. 2013-04-05 11:01:20 +11:00
James Z.M. Gao
c9ae715019 Compile CPU mining for win32 and win64 2013-04-04 22:59:10 +08:00
Con Kolivas
5f567345ba Merge branch 'master' of github.com:ckolivas/cgminer 2013-04-03 02:13:05 +11:00
Con Kolivas
b3e734e7e1 Show share hash as little endian as needed. 2013-04-03 02:12:00 +11:00
Con Kolivas
76712c15fd Merge pull request #414 from kanoi/bflsc
work queues - remove new but unnecessary functions + generic work structure flags for BFLSC (and usable by other drivers if needed)
2013-04-01 15:53:43 -07:00
Kano
ea327f7ba2 work queues - remove new but unnecessary functions 2013-04-01 13:10:15 +11:00
Con Kolivas
ea4cf57d94 Merge pull request #413 from kanoi/bflsc
find_work() to find work in devices work queue + usbutils extra message requirements + functions for handling work queues
2013-03-31 15:25:46 -07:00
Con Kolivas
e95813c8f6 Make hashmeter frequency for hash_queued_work match sole_work. 2013-04-01 09:22:58 +11:00
Kano
131e20042a functions for handling work queues 2013-04-01 00:35:50 +11:00
Kano
b3ae0f168e find_work() to find work in devices work queue 2013-03-31 21:54:32 +11:00
Con Kolivas
6c418f45b1 Remove increasingly irrelevant discarded work from status lines. 2013-03-21 15:11:38 +11:00
Con Kolivas
886df16d01 Remove increasingly irrelevant queued and efficiency values from status and move WU to status line. 2013-03-21 15:06:14 +11:00
Con Kolivas
1a19729aaa Allow cgminer to start if usb hotplug is enabled but no devices yet exist. 2013-03-21 14:56:44 +11:00
Con Kolivas
1ed86decf3 If the hashmeter is less than the log interval and being updated by the watchdog, don't update the hashrate. 2013-03-18 14:36:10 +11:00
Con Kolivas
072ffbba42 Update the hashmeter at most 5 times per second. 2013-03-17 16:29:51 +11:00
Con Kolivas
13e19de4d5 Calculate work utility for devices that support target diffs of greater than 1, and update scrypt code to use it. 2013-03-17 10:15:24 +11:00
Con Kolivas
d7d630b86c Set default GPU threads to 1 for scrypt. 2013-03-16 08:56:37 +11:00
Con Kolivas
21a36f4840 Connect backup stratum pools if the primary pool cannot deliver work. 2013-03-16 00:04:30 +11:00
Con Kolivas
e10a7041d8 Merge pull request #406 from kanoi/bflsc
USB device list - convert some common error numbers to messages + nDevs required for -n with usb
2013-03-15 00:23:05 -07:00
Con Kolivas
8d27ecf987 Merge branch 'master' of github.com:ckolivas/cgminer 2013-03-15 17:57:36 +11:00
Con Kolivas
5a2c2a7a85 Update the hashmeter once per second but only display the extra logs every opt_log_inteval. 2013-03-15 17:56:55 +11:00
Kano
28f515e91d nDevs required for -n with usb 2013-03-15 06:22:22 +11:00
Kano
b21747b978 USB modify -n and --usb-dump to only show known devices or use new --usb-list-all option to see all 2013-03-15 00:02:17 +11:00
Con Kolivas
e9a9a51547 Merge pull request #404 from kanoi/bflsc
cgminer -n to include a USB device list
2013-03-14 04:48:35 -07:00
Con Kolivas
b6e3d5b4fa Make pool adding while running asynchronous, using the pool test thread functionality. 2013-03-14 22:34:53 +11:00
Kano
1c04d14067 cgminer -n to include a USB device list 2013-03-13 23:24:34 +11:00
Con Kolivas
ffc8681f91 Merge pull request #403 from kanoi/bflsc
USB add --usb options to limit USB device selection v0.1 + --usb-dump display brief dump if value = 0
2013-03-12 18:07:17 -07:00
Con Kolivas
b5b3ca4911 Convert gbt_lock to a cg_lock. 2013-03-12 22:44:41 +11:00
Con Kolivas
b8ed231f64 Add intermediate variants of cglocks that can be up or downgraded to read or write locks and use them for stratum work generation. 2013-03-12 22:40:23 +11:00
Con Kolivas
26ddd1fd20 Move the stratum and GBT data to be protected under a new cg_lock data_lock. 2013-03-12 22:31:45 +11:00
Con Kolivas
fd87825bf9 Convert the ch_lock to cg_lock. 2013-03-12 22:17:08 +11:00