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

4921 Commits

Author SHA1 Message Date
Con Kolivas
61cb05a963 Add c to ambient temperature display for avalon driver. 2013-08-16 09:55:45 +10:00
Kano
356fcb107a BTB allow up to 1400mV as per firmware limits 2013-08-15 12:00:04 +10:00
Kano
51aaf816ef avalon for timeout allow d='calculate it' and fix uninitialised 2013-08-15 10:57:02 +10:00
Con Kolivas
3fe8948629 Use cloned work when finding avalon results since another thread can discard the work item while it's in use. 2013-08-14 23:05:14 +10:00
Con Kolivas
98e338cc52 Provide a variant of find_work_bymidstate that returns a clone of the found work. 2013-08-14 23:05:13 +10:00
Con Kolivas
853f145eef Bump version number to 3.3.4 2013-08-14 10:49:40 +10:00
Con Kolivas
730d062636 Update NEWS. 2013-08-14 10:49:16 +10:00
kanoi
c9f58230a5 Merge pull request #475 from kanoi/master
API/miner.php add some % fields
2013-08-13 17:45:39 -07:00
Kano
6b62c402fa API/miner.php add some % fields 2013-08-14 10:42:52 +10:00
Con Kolivas
e95ad0479f Nonce2 stratum submission is not working with nonce2 lengths >4, revert the buggy __bin2hex function and use bin2hex. 2013-08-13 22:44:22 +10:00
Con Kolivas
dd9233f78b The write thread in avalon is only ever actually woken up by timeout so remove the write semaphore and use a simple sleep poll. 2013-08-13 17:24:01 +10:00
Con Kolivas
b2a3941ef1 Fix warning. 2013-08-13 15:36:52 +10:00
Con Kolivas
992a97a396 Interrupting reads on the avalon to start writes loses data so remove the cgsem_post in the read code. 2013-08-13 14:52:17 +10:00
Con Kolivas
1d614599a7 Add room for the null byte at the end of the nonce2 string on stratum share submission and zero the allocated ram. 2013-08-13 14:35:35 +10:00
Con Kolivas
07adb98b34 Bump version to 3.3.3 2013-08-13 06:21:14 +10:00
Con Kolivas
8876fc33d2 Update NEWS for upcoming version 3.3.3 2013-08-13 06:18:12 +10:00
Con Kolivas
c8aac74114 Only perform the bin2hex on nonce2 data if it's required for stratum submission, thereby removing the last conversion of that type from stratum work generation. 2013-08-13 06:09:42 +10:00
Con Kolivas
87ae66c7e6 Create a work data template when receiving stratum notification, allowing a simple memcpy of the merkle root avoiding more hex2bin conversions on each work generation. 2013-08-13 05:49:32 +10:00
Con Kolivas
34bc106d82 Export the workpadding char in miner.h 2013-08-13 04:57:04 +10:00
Con Kolivas
46b6b07afa Avoid a potential overflow should a pool specify a large nonce2 length with stratum. 2013-08-12 16:02:20 +10:00
Con Kolivas
0379123bc1 Avoid one more hex2bin in gen stratum work. 2013-08-12 15:32:45 +10:00
Con Kolivas
11bcf2b3fb Rename work gbt_coinbase to coinbase to be in line with pool variable name. 2013-08-12 11:40:17 +10:00
Con Kolivas
5237bf350d Perform merkle bin hex2bin on stratum notify to avoid doing it on each work generation. 2013-08-12 11:36:28 +10:00
Con Kolivas
8bc469e916 Reuse just the one pool coinbase variable in stratum, avoiding more string functions and storage in gen_stratum_work on each work generation. 2013-08-12 11:16:46 +10:00
Con Kolivas
8c8ef6ff9b Rename pool gbt_coinbase variable to coinbase to combine it with the stratum coinbase data. 2013-08-12 10:58:43 +10:00
Con Kolivas
c542e47aa3 Use a nonce2 offset variable for both gbt and stratum to consolidate requirements on work generation. 2013-08-12 10:49:38 +10:00
Con Kolivas
c48e28a8d0 Merge pull request #474 from kanoi/master
cgsem - increase information on failure
2013-08-11 17:26:42 -07:00
Kano
eca6ace2d5 util.c update quit call for new functions 2013-08-12 09:00:52 +10:00
Kano
bab9ba9603 use correct define for OSX in util.c 2013-08-12 08:58:20 +10:00
Kano
309cb2242b miner.h inline semaphores increase information on failure 2013-08-12 08:54:11 +10:00
Kano
bd3612c104 util.c expand quit to show file/func/line 2013-08-12 08:38:02 +10:00
Kano
cf30053793 Merge remote-tracking branch 'conman/master' 2013-08-12 08:35:29 +10:00
Con Kolivas
fb94dfa098 Cache as much of the gbt coinbase as possible to avoid doing unnecessary hex2bin conversion on every work generation with gbt. 2013-08-12 01:15:22 +10:00
Con Kolivas
a1052188fd We should be using a cg_wlock initially in generating stratum and gbt work before downgrading the lock. 2013-08-12 00:27:22 +10:00
Con Kolivas
9552f54f43 Add the ability to downgrade a write variant of the cglocks. 2013-08-12 00:12:28 +10:00
Con Kolivas
3e84a19cda Fix --scrypt being required before scrypt intensities on command line or not working at all via config files. 2013-08-11 15:10:27 +10:00
Con Kolivas
b423fe9de8 Cache the hex2bin of pool nonce1 in stratum, avoiding hex2bin on each work generation. 2013-08-11 14:06:17 +10:00
Con Kolivas
fef649dfef Cache the binary generation of coinbase1 and 2 on stratum, avoiding a hex2bin of coinbase1 and 2 on each work generation. 2013-08-11 13:47:46 +10:00
Kano
48d91c7f2d cgsem - increase information on failure 2013-08-10 10:36:38 +10:00
Kano
b1f57595bd avalon init write_sem before use 2013-08-10 10:12:15 +10:00
Con Kolivas
f7e6701058 Fix uninit variable warnings. 2013-08-10 01:11:23 +10:00
Kano
ac08ed1d03 usbutils - force check every combination 2013-08-10 01:05:50 +10:00
Con Kolivas
4e96936971 Bump version to 3.3.2 2013-08-09 21:54:05 +10:00
Con Kolivas
580b77b757 Fix warning. 2013-08-09 21:52:54 +10:00
Con Kolivas
a4fa9051bd README updates. 2013-08-09 21:51:46 +10:00
Kano
d470828fb3 Add libusb compile information to README 2013-08-09 20:45:32 +10:00
Con Kolivas
d06b0d96ff Update NEWS. 2013-08-09 20:33:06 +10:00
Con Kolivas
106e461f21 Recreate curses windows on windows when a device is hotplugged to allow window resizing without crashing. 2013-08-09 16:57:16 +10:00
Con Kolivas
9a21a47334 Update copyright notice. 2013-08-09 15:17:12 +10:00
Con Kolivas
2b171f7fae Limit intensity range according to whether scrypt is in use or not. 2013-08-09 15:12:57 +10:00