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

5261 Commits

Author SHA1 Message Date
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
Con Kolivas
cb6d62de08 Do not allow benchmark mode to be used with scrypt. 2013-08-09 06:48:59 +10:00
Con Kolivas
d71e9f91f4 Add a --bflsc-overheat command which allows you to set the throttling temperature for BFLSC devices or disable it. 2013-08-09 06:43:25 +10:00
Con Kolivas
812852cc36 Move bflsc defines to a header file. 2013-08-09 06:31:57 +10:00
Kano
bfe0448ecf API-README add missing freq in version log 2013-08-08 00:26:42 +10:00
kanoi
18b60c4ed1 Merge pull request #472 from kanoi/master
avalon allow frequency to be set via the API
2013-08-07 07:21:27 -07:00
Kano
b1a80cef15 avalon allow frequency to be set via the API 2013-08-08 00:20:19 +10:00
kanoi
e4e2062072 Merge pull request #471 from kanoi/master
BTB voltage management via the API - and set default on startup
2013-08-07 06:51:23 -07:00
Kano
1ae397f1c7 API-README correct max bitburner-voltage 2013-08-07 23:49:48 +10:00
Kano
802737e8dd BTB voltage management via the API - and set default on startup 2013-08-07 23:47:19 +10:00
Kano
ecc9457b6b Avalon BTB allow partial work to be transferred 2013-08-07 21:25:33 +10:00