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

6601 Commits

Author SHA1 Message Date
Jan Berdajs
04722e2517 sshare could have already been free'd by parse_stratum_response in stratum_rthread by the point we reach this code - possible segfault fixed 2014-07-08 05:49:12 +02:00
troky
2d23a7d634 Added missing permission flags to Windows build #333 2014-07-07 18:58:26 +02:00
Jan Berdajs
4a9ee47cd9 Add log-file option to automatically redirect stderr to a file
From bfgminer b0240dd004
2014-07-07 13:16:36 +02:00
Jan Berdajs
0bd7a9ff63 After cancelling a thread (unless it's detached, but mining threads aren't), it is always necessary to join the thread so the system will release resources.
This also simplifies kill_mining a bit.
2014-07-07 12:35:27 +02:00
Jan Berdajs
e33590f37d Thread was never joined because thr_info_cancel sets pth to 0. Should improve mining thread hard reset. 2014-07-07 04:20:41 +02:00
Jan Berdajs
363f52df47 Write to both stderr and console within same console lock "session"
From 7dd230cd8f
2014-07-06 01:30:50 +02:00
Jan Berdajs
2d66c44b42 Add debug-log documentation and enable it by default 2014-07-06 01:21:25 +02:00
Jan Berdajs
f3336dcf88 Update README.md 2014-07-06 01:13:52 +02:00
Jan Berdajs
eb6f47e503 Add debug-log setting to log everything when stderr is redirected to file
Based on code from BFGMiner
2014-07-06 01:07:32 +02:00
Jan Berdajs
485ec9ac88 rename poorly named variable 2014-07-06 00:03:11 +02:00
ystarnaud
a96048e782 Update configuration.md 2014-07-04 23:41:15 -04:00
troky
855adf1477 Merge pull request #324 from Elbandi/v5_0-stylefix
bitblock and x14 algo codestyle fix
2014-07-04 19:53:36 +02:00
Elbandi
0a66d49a0e Fix x14 algo code style 2014-07-04 19:22:05 +02:00
Elbandi
e64291e9b4 Fix bitblock algo code style 2014-07-04 19:16:54 +02:00
ystarnaud
8001dc027b Algorithm alias fix
Added "old" algorithms and also corrected `nfactor` in case it's parsed before `algorithm`.
2014-07-04 09:49:15 -04:00
troky
b6aefc6ebe Fixed segfault when adding pool profile via ncurses GUI #322 2014-07-04 09:54:29 +02:00
troky
fdd4e84949 Update README.md 2014-07-03 23:16:27 +02:00
troky
94607ba5c4 Merge pull request #310 from sgminer-dev/v5_0-jansson
Added Jansson as submodule.
2014-07-03 23:02:54 +02:00
Jan Berdajs
2902429772 Add algorithm aliases x11, x13, x15, x15mod, nist5, keccak
Also refactor aliasing
2014-07-03 20:57:27 +02:00
Jan Berdajs
30d0a9be78 Deprecating "difficulty-multiplier" setting 2014-07-03 19:30:47 +02:00
Jan Berdajs
e8f108929c Merge pull request #292 from Elbandi/v5_0
space convert and codestyle fix
2014-07-03 19:21:00 +02:00
Jan Berdajs
03daaff9ab Merge pull request #313 from davedean/master
added sgminer.1 manpage file
2014-07-03 19:19:58 +02:00
troky
c196dfd2dd MSVS2010 project update. 2014-07-03 18:57:43 +02:00
troky
8567370f8c Merge pull request #316 from Elbandi/v5_0-leakfix
Fix nonce1 and sessionid memory leak
2014-07-03 17:45:13 +02:00
Elbandi
a39316dbd3 Fix nonce1 and sessionid memory leak 2014-07-03 17:24:34 +02:00
troky
e15f354a4d Updated AUTHORS.md 2014-07-03 17:16:55 +02:00
troky
74d4cfabb5 Added Janson version string to log output. 2014-07-03 09:56:05 +02:00
troky
0950af71cf Documentation update. 2014-07-03 09:21:20 +02:00
David Dean
21d3ad4160 added sgminer.1 manpage file, draft 2014-07-03 13:40:30 +10:00
Jan Berdajs
ec8ba02db3 nicehash deserve mention for providing bitcoins for stimulation of development. section for future sponsors or special acknowledgments 2014-07-03 03:04:28 +02:00
Elbandi
6c60ce2352 Fix kernel code style: every hash has own codeblocks 2014-07-02 23:16:35 +02:00
Elbandi
db40274d6e convert tabs to spaces in kernel files
and remove whitespace from lineends
2014-07-02 23:16:33 +02:00
Jan Berdajs
27709ced83 Remove now unused temporary fix for algo switch 2014-07-02 21:32:24 +02:00
ystarnaud
171e5dd824 Update configuration.md
Added extra specifications on the algorithm parameters.
2014-07-02 15:17:24 -04:00
ystarnaud
69ab3a8cf4 Changed the way hard restart is done for better compatibility with windows pthread. 2014-07-02 15:09:31 -04:00
Jan Berdajs
a0e95b3687 some improvements for the zero-hashrate fix, and more debug output 2014-07-02 19:50:46 +02:00
ystarnaud
b3d6e5bacb Update configuration.md
Clarification on hamsi-expand-big
2014-07-02 09:50:59 -04:00
ystarnaud
cf4aa31be0 Switcher thread fix
Fixed the mining threads block causing the miner to hang on algo
switcher. Thanks @mrbrdo for the help.
2014-07-02 09:25:17 -04:00
troky
66ec621c9b Added Jansson as submodule. 2014-07-02 09:24:10 +02:00
Jan Berdajs
ecdb8ac310 Merge pull request #309 from Elbandi/v5_0-removeunused
Remove unused diff_nonce
2014-07-01 21:49:21 +02:00
ystarnaud
55cd3ec220 Hangup fix
The switcher would hang when no settings needed to be applied and it
tried to tell the mining threads to resume working. Still an issue if
you attempt to switch between two pools that apply settings but don't
perform a hard reset.
2014-07-01 14:48:17 -04:00
Elbandi
65a1509964 Remove unused diff_nonce 2014-07-01 16:00:24 +02:00
ystarnaud
d211d5b9bf Update configuration.md 2014-07-01 09:27:44 -04:00
ystarnaud
2df1924688 Update configuration.md
Updated config file section for remote config files.
2014-07-01 09:26:40 -04:00
ystarnaud
16361a6f8e Update configuration.md
Updated information about `includes` and `hamsi-short`.
2014-07-01 09:19:09 -04:00
ystarnaud
f3a773f279 Merge pull request #307 from sgminer-dev/v5_0-x15
V5 0 x15
2014-07-01 09:06:47 -04:00
troky
9e515abfb0 MSVS fix. 2014-07-01 09:25:22 +02:00
troky
dc3ec7907e Thread info struct should be initialized/allocated for disabled devices, too. 2014-07-01 09:24:22 +02:00
ystarnaud
47c60343e7 Cleanup 2014-07-01 01:40:38 -04:00
ystarnaud
22c34fbf45 Old Kernel Fix
Old kernels would produce HW. Also, corrected an hamsi problem for
people who didn't use hamsi-expand-big 1.
2014-07-01 01:33:20 -04:00