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

320 Commits

Author SHA1 Message Date
e3b6c202ce fix API working - delete remain mentions of some algos 2018-06-17 23:19:06 +03:00
orignal
a3c4d628b8 fixed typo 2017-10-20 09:34:20 -04:00
orignal
48c937f1b9 use algo specified hash everywhere 2017-10-19 16:10:20 -04:00
orignal
09ec23106b correct gen_hash 2017-10-18 15:39:37 -04:00
orignal
23724ef9ff correct kernels and merkle tree calculation 2017-10-17 14:02:59 -04:00
916eb21aa3 fix mingw ncurses, fix git warning 2017-06-14 21:53:07 +03:00
elbandi
47938c38b2 Handle decred new stake version field 2017-04-23 20:39:09 +02:00
elbandi
fb181f5e88 Add Pascal algo for PascalCoin 2017-02-01 03:02:39 +01:00
elbandi
29b2de377f Sia pools sends the block target too 2016-07-20 15:53:51 +02:00
elbandi
91e1d324c5 Add Sia algo support 2016-07-19 20:30:09 +02:00
elbandi
02e0fc4db5 Add lbry algo support 2016-07-18 22:44:35 +02:00
elbandi
34a8140eb6 Remove workpadding 2016-07-18 22:44:35 +02:00
elbandi
3a66fcf80a Fix blockfound diff 2016-07-18 01:12:46 +02:00
elbandi
4bf876dffb new stratum protocol 2016-05-23 20:46:44 +02:00
elbandi
27c32cd5a9 decred: optional --vote argument without arg or 0, dont vote (votebits set to 1) 2016-04-01 14:50:40 +02:00
elbandi
29c3f1c714 Add decred algo support 2016-04-01 14:50:40 +02:00
elbandi
20bfe45789 Calculate midstate for algos 2016-03-21 18:39:38 +01:00
elbandi
b8253d106f Fix display device status if some are disabled 2016-02-09 02:31:24 +01:00
elbandi
6efe2f94a8 Fix typos in neoscrypt conditions 2015-12-08 23:02:10 +01:00
elbandi
fecc92be89 Use algorithm type in conditions 2015-11-10 21:17:49 +01:00
elbandi
580676affb Get some algos from 'master' of https://github.com/djm34/sgminer 2015-11-10 21:17:40 +01:00
elbandi
4a96caafd8 Merge branch 'master' of https://github.com/sgminer-dev/sgminer 2015-11-09 15:57:26 +01:00
troky
8cb4fc9d6e Added Pluck algo 2015-03-10 10:26:58 +01:00
troky
8d68e96934 Added Lyra2RE algo 2015-03-10 09:47:46 +01:00
ystarnaud
4ba8a68043 Merged develop branch with master +updates
Moved the develop code to master. Moving forward all updates will be
done on master unless it's work on a major feature.

This update contains all previous develop code as well as a few new ones
that weren't pushed yet:

* Added neoscrypt compatibility for xintensity/rawintensity
* Neoscrypt now uses correct TC if not specified or set to 0
* Reworked the application of pool settings on algorithm switch which
should resolve TC/Intensity changes between algos such as X11 and
neoscrypt
2014-12-03 10:09:55 -05:00
troky
7f88bab725 Fixed missing declaration. 2014-11-23 13:35:46 +01:00
ystarnaud
81d9c9e574 Events framework
Added the ability to have users run commands, reboot the system or quit sgminer based on system events. These events can be defined and placed throughout the sgminer source. So far the events are: "gpu_sick", "gpu_dead" and "idle". I will document further shortly. Config example available here: http://pastebin.com/2rRv3EzH
2014-11-19 18:33:11 +01:00
ystarnaud
611b370255 Fix for random HW errors
A typo when checking the algorithm used was causing the diff1targ value not to evaluate properly in test_nonce(). This caused the test to fail and increase HW errors. Thanks to Zuikkis for pointing that out!
2014-11-19 12:22:47 +01:00
ystarnaud
8a6168fa4b Fix for UI/API intensity changes
The API and UI functions to change intensity would update the gpu
settings directly without updating the config option strings. This
resulted in the intensity updates not saving in config files. This
update should resolve that problem.

Also added API functions to change xintensity and rawintensity.
2014-11-19 12:21:11 +01:00
ystarnaud
42737acf66 Added Neoscrypt with Wolf9466 improvements. 2014-11-19 12:06:16 +01:00
ystarnaud
c0515e8fa3 Added alt kernel file option 2014-11-19 11:18:25 +01:00
ystarnaud
b53cc151aa Fix worksize per GPU
Improper use of strtok() on the original config string instead of a copy
resulted in the worksize being cut down to GPU0's worksize only after
first use.
2014-11-17 00:16:02 +01:00
troky
ba9818a707 Fix version display in windows builds (mingw) 2014-11-16 19:52:30 +01:00
troky
32d95dd967 Updated to MSVS 2013 2014-11-16 12:51:58 +01:00
ystarnaud
b3c07acd08 Xn Algorithms Fine Tuning
Added options to fine tune X11-15 algorithms
2014-09-19 18:38:57 +02:00
troky
3ddffaa915 Compatibility fix. 2014-07-21 02:26:39 +02:00
troky
dbe0263c2d Fixed device display when both --device and --remove-disabled options are used. 2014-07-20 18:34:47 +02:00
troky
82b5320f36 Check if mining threads are initialized before restarting them. 2014-07-19 17:44:43 +02:00
Jan Berdajs
5bd2689069 Hard reset only when gpu-threads or devices are changed, but not when algorithm is changed.
Also a little refactor.

Conflicts:
	sgminer.c
2014-07-11 19:06:48 +02:00
Jan Berdajs
deacbdd65e immediately exit threads if doing hard reset 2014-07-11 19:04:07 +02:00
Jan Berdajs
19fcb5eae7 improve locking to prevent race condition
stratum could respond faster than we are able to add the sent share into the hash, which could cause memory leaks
2014-07-11 19:03:53 +02:00
ystarnaud
f8fcbbcd0a Config writer fix
Reworked how the config writer works to properly save the config file.
Sometimes settings would get lost in profiles.

Also changed algorithm switch to only perform a soft reset and lowered
the verbosity of the algorithm switcher.
2014-07-09 14:23:07 -04:00
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
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
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