ystarnaud
e7881ff9f7
Update configuration.md
11 years ago
ystarnaud
bd54c59ff0
Updated example.conf
11 years ago
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.
11 years ago
ystarnaud
58def448c0
Fixed a segfault issue writing config file
11 years ago
ystarnaud
ea1aba07d8
API Update
...
Ability to add/remove profiles via API.
11 years ago
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
11 years ago
ystarnaud
4c3352b8a0
Update configuration.md (19 squashed commits).
11 years ago
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
11 years ago
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
11 years ago
Yann St. Arnaud
03379f9f51
Fixed whitespaces
...
Cleaned up whitespaces in code
11 years ago
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.
11 years ago
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().
11 years ago
Elbandi
1f76f9bfcc
Use macros in queue_kernel functions
11 years ago
Elbandi
3b298478a3
Made opt_algorithm to simple variable
11 years ago
Elbandi
e86b72e6e9
Remove unused enum
11 years ago
troky
c0d79fa3fe
Refactored kernel source loading (missing / delimiter). Added more debug messages.
11 years ago
troky
b2e500e2a6
Fixed pool name display in rejected share notice when pool name is longer than 20 chars.
11 years ago
troky
8ad1d91c4f
Fixed MSVS project bug introduced in d83d7bd386
11 years ago
troky
c92443384b
Lock tracking code fixed for MSVS.
11 years ago
troky
5ba1772d5a
algorithm spaces/indentation fix
11 years ago
troky
60a79024ad
MSVS project cleanup.
11 years ago
troky
d83d7bd386
Removed original sha2 and made code use sph_sha2
11 years ago
troky
f9a8e66f70
Fixed crash when changing display modes ( #237 )
11 years ago
troky
cd9864f92b
Removed unneccessary code introduced in 954c0e6
11 years ago
troky
24fa44e12b
Make sure log string is null-terminated.
11 years ago
troky
fd35c77c82
Kernel include path fix.
11 years ago
troky
6971ce6fe0
logging spaces/indentation
11 years ago
troky
cbc22823df
Removed trailing slashes from folder paths to avoid kernel building under Windows (MSVS).
11 years ago
troky
9f6bf16196
Refactored logging. Increased default log buffer size.
11 years ago
Jan Berdajs
d8d8ba8f33
adl spaces indentation
11 years ago
Jan Berdajs
d818014838
index was into cgpu threads, not into global mining threads
11 years ago
Jan Berdajs
3cbfe2547f
fix bug where device is not restarted after overheating and cooling off
11 years ago
platinum4
280a64e537
Squelch "Network diff set" unless --more-notices
...
space " "
11 years ago
Jan Berdajs
25d7d426fd
convert tabs to spaces in most commonly modified files
11 years ago
Jan Berdajs
2ea8f5d018
just in case, read-lock devices
11 years ago
Jan Berdajs
9fdd23e6ff
since mining_threads count can change, we need to lock more carefully and get_thread function is not helpful anymore
11 years ago
Jan Berdajs
2877e8d49c
of course it needs to be a write lock! fixes segfault
11 years ago
Jan Berdajs
d1f7ef6133
is already locked at this point
11 years ago
Jan Berdajs
954c0e6fbc
fix opt_kernel_path writing over the allocated memory! also some small changes for more robust hard restart
11 years ago
Jan Berdajs
77c996858b
fix compiler warning and indentation
11 years ago
platinum4
a5fd98c832
declare opt_morenotices;
11 years ago
platinum4
0f9bf18172
Add option --more-notices & shorten stale submit
11 years ago
Jan Berdajs
ff05aacdc3
attempt to fix memory issues when doing curl calls
...
From curl CURLOPT_ERRORBUFFER docs: You must keep the associated storage available until libcurl no longer needs it. Failing to do so will cause very odd behavior or even crashes. libcurl will need it until you call curl_easy_cleanup(3) or you set the same option again to use a different pointer.
11 years ago
Jan Berdajs
ff787bcfbd
add docs about the new hamsi-expand-big setting
11 years ago
Jan Berdajs
e134ab75ad
move algorithm-specific OpenCL compile options into algorithm_t
11 years ago
Jan Berdajs
881355d873
add --hamsi-expand-big option for setting EXPAND_BIG in X13 kernels
11 years ago
Jan Berdajs
5e3142cf68
remove unused code (mostly intended for ASICs which are not supported in sgminer), fix some compiler warnings
11 years ago
Jan Berdajs
cabbd7362f
refactor initCl more
11 years ago
troky
a564c24a4d
MSVS: project cleanup and reorder.
11 years ago
Jan Berdajs
d04c096403
add ocl/ files to MSVC project
11 years ago