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

6462 Commits

Author SHA1 Message Date
ystarnaud
56055754eb Whitespace and indentation fix
Fixed whitespace and indentation of lasybear's pull request #272.
2014-06-21 12:31:48 -04:00
ystarnaud
056a9f754a Merge pull request #272 from lasybear/v5_0
Add talkcoin-mod (NIST5 algo) by Issue #268 + AMD drivers v14.6 for Windows compatibility fix
2014-06-21 12:19:23 -04:00
ystarnaud
1fb86b3377 Update configuration.md 2014-06-21 04:47:31 -04:00
ystarnaud
5e8bba2af9 Update configuration.md
Added more details about the default profile, globals and profiles along with example configurations.
2014-06-21 04:46:05 -04:00
troky
1965131784 Moved strsep() implementation from winbuild.h to compat.h 2014-06-21 10:33:06 +02:00
ystarnaud
3975f0441f Updated x13 kernel 2014-06-20 22:01:05 -04:00
Yann St. Arnaud
83b2ac9ec7 Compatibility update for MSVS
Added an implementation of strsep() that should work with MSVS.
Hopefully resolves issue #278
2014-06-20 17:23:26 -04:00
troky
3f83f221fb Moved (reverted) some struct definitions to api.c. MSVS doesn't like them in .h 2014-06-20 20:08:50 +02:00
troky
85a6adf8fb MSVS project update for config_parser commit 2014-06-20 20:06:14 +02:00
Noel Maersk
513307c790 config: remove commented-out old config-loading code. 2014-06-20 20:43:08 +03:00
Noel Maersk
76dd32a2c8 config: one less branching in load_default_profile(), some whitespace. 2014-06-20 20:22:01 +03:00
ystarnaud
ef722e697d Fix to apply correct GPU engine clock or range
This addresses issue #265. GPU engine clock will be the exact value or range specified, with the correct min/max.
2014-06-20 13:10:13 -04:00
Noel Maersk
5430d1ee91 config: be a little less cryptic on what's going on in load_default_profile(). 2014-06-20 19:09:18 +03:00
Noel Maersk
0886740a5f Merge branch 'config-parser' into v5_0 2014-06-20 17:24:15 +03:00
Noel Maersk
6228694100 config: conflict with v5_0 (develop) branch, opt_algorithm was changed from a pointer. 2014-06-20 17:08:16 +03:00
Noel Maersk
0b85c05c35 misc: update AUTHORS and NEWS with changes from branch config-parser (and a few others). 2014-06-20 17:05:35 +03:00
Noel Maersk
5309da57cc config: remove unused variable. 2014-06-20 16:53:00 +03:00
ystarnaud
4021704e68 Update configuration.md 2014-06-20 16:53:00 +03:00
ystarnaud
3042745757 Update API.md (3 squashed commits). 2014-06-20 16:53:00 +03:00
ystarnaud
e7881ff9f7 Update configuration.md 2014-06-20 16:53:00 +03:00
ystarnaud
bd54c59ff0 Updated example.conf 2014-06-20 16:53:00 +03:00
ystarnaud
fae56ceeeb Added API function to change pool profile
Added the API function changepoolprofile to change a pool's profile to
the specified profile name.
2014-06-20 16:53:00 +03:00
ystarnaud
58def448c0 Fixed a segfault issue writing config file 2014-06-20 16:53:00 +03:00
ystarnaud
ea1aba07d8 API Update
Ability to add/remove profiles via API.
2014-06-20 16:53:00 +03:00
Noel Maersk
832ac82bf6 Updated API functionality
Fixed addpool to specify a profile or algorithm and sets defaults if
nothing specified. Also added a new API function to change multipool
strategy.

Conflicts (resolved):
	sgminer.c
2014-06-20 16:52:59 +03:00
ystarnaud
4c3352b8a0 Update configuration.md (19 squashed commits). 2014-06-20 16:52:42 +03:00
ystarnaud
d9b4798e8e More options added
Added the following options to profiles/pools:
device (set devices on/off per profile), lookup-gap, shaders, worksize,
gpu-powertune, gpu-vddc
2014-06-20 16:50:06 +03:00
Noel Maersk
9fe5272c92 Updated config writer
Config writer now supports profiles and pool specific values. In
addition, the config writer now makes use of the jansson library to
create proper json objects and save them to the config file. This is
much better than trying to write our own json code.

Conflicts (resolved):
	sgminer.c
2014-06-20 16:49:51 +03:00
Yann St. Arnaud
03379f9f51 Fixed whitespaces
Cleaned up whitespaces in code
2014-06-20 16:49:07 +03:00
Yann St. Arnaud
9faa8fa59f Updated the config parser
Updated the config parser to provide better readability and flexibility
in config files. The latest features introduced a really messy way to
handle config files and this update alleviates this by adding the
ability to create profiles and associate them to pools.

Todo: Update the config file writer, in-program options and continue to
break off the config parsing/command line option code out of sgminer.c
to reduce clutter.
2014-06-20 16:49:07 +03:00
Noel Maersk
14d2b940f9 Merge pull request #274 from Elbandi/v5_0
Remove unused enum diff_calc_mode from miner.h, make opt_algorithm a simple algorithm_t structure (not a pointer), use macros in queue_{darkcoin_mod,marucoin_mod,marucoin_mod_old}_kernel().
2014-06-19 21:37:22 +03:00
Elbandi
1f76f9bfcc Use macros in queue_kernel functions 2014-06-17 20:15:38 +02:00
Elbandi
3b298478a3 Made opt_algorithm to simple variable 2014-06-17 18:11:59 +02:00
Elbandi
e86b72e6e9 Remove unused enum 2014-06-17 18:11:48 +02:00
troky
c0d79fa3fe Refactored kernel source loading (missing / delimiter). Added more debug messages. 2014-06-16 20:06:55 +02:00
troky
b2e500e2a6 Fixed pool name display in rejected share notice when pool name is longer than 20 chars. 2014-06-16 15:52:48 +02:00
lasybear
a85e669d02 Fix compatibility with AMD drivers 14.6 2014-06-16 15:47:50 +04:00
troky
8ad1d91c4f Fixed MSVS project bug introduced in d83d7bd386 2014-06-16 10:30:16 +02:00
lasybear
e7228b20f4 talkcoin-mod 2014-06-15 19:21:10 +04:00
troky
c92443384b Lock tracking code fixed for MSVS. 2014-06-15 13:44:50 +02:00
troky
5ba1772d5a algorithm spaces/indentation fix 2014-06-13 17:50:55 +02:00
troky
60a79024ad MSVS project cleanup. 2014-06-13 11:08:47 +02:00
troky
d83d7bd386 Removed original sha2 and made code use sph_sha2 2014-06-12 13:19:30 +02:00
troky
f9a8e66f70 Fixed crash when changing display modes (#237) 2014-06-11 11:18:36 +02:00
troky
cd9864f92b Removed unneccessary code introduced in 954c0e6 2014-06-11 00:12:45 +02:00
troky
24fa44e12b Make sure log string is null-terminated. 2014-06-11 00:11:11 +02:00
troky
fd35c77c82 Kernel include path fix. 2014-06-10 19:34:01 +02:00
troky
6971ce6fe0 logging spaces/indentation 2014-06-10 17:13:54 +02:00
troky
cbc22823df Removed trailing slashes from folder paths to avoid kernel building under Windows (MSVS). 2014-06-10 16:40:37 +02:00
troky
9f6bf16196 Refactored logging. Increased default log buffer size. 2014-06-10 16:36:53 +02:00