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
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
6152638dd7
fix compile without ADL
11 years ago
blagodarenko
1bca4a7921
fix "diff 0.000/0.000"
11 years ago
troky
1bb452e321
Fixed kernel path bug introduced in 8198286597
11 years ago
Anatoly
32824e56a0
Total uptime drop fix
11 years ago
troky
8198286597
Fixed MSVS build.
11 years ago
Jan Berdajs
00d17d16fe
fix segfault (watchdog thread declares threads sick and tries to restart them while they are already being restarted)
11 years ago
Noel Maersk
4f387321ce
misc: update AUTHORS.md, add CR to sgminer.c, minor style.
11 years ago
Jan Berdajs
f0e47ec8ec
make sure reinit_device cannot happen while algo switching, which would probably result in segfault
11 years ago
Jan Berdajs
e58cd00db7
fix bug in thread_reportin (watchdog can detect getwork is false before thr->last is set), and a few cosmetic changes
11 years ago
troky
b8a1c1f660
MSVS compatibility update.
11 years ago
Jan Berdajs
e4a4efdb42
fix some potential memory leaks, remove a few old unused functions
11 years ago
Jan Berdajs
87bbca6148
only change gpu engine, memclock, fans, if ADL is enabled
11 years ago
Anatoly
8c48255802
Code cleanup
...
WATCHDOG_SICK_TIME increase reverted
Hardcode in get_work_blockdiff removed
11 years ago
Anatoly
99db17145f
show-coindiff option added
11 years ago
Anatoly
8f10cbfac5
Total uptime length
...
Conflicts:
sgminer.c
11 years ago
Anatoly
d89e53b3db
Extend time to sick state
11 years ago
Jan Berdajs
2ec09155e6
per-pool gpu-fan
11 years ago
Jan Berdajs
f596631a07
adjust ncurses interface when we change mining_threads count
11 years ago
Jan Berdajs
6c5ce535d9
fix compiler warnings
11 years ago
Jan Berdajs
13cdc33809
pool-gpu-threads setting
11 years ago
Jan Berdajs
19fc4cc93c
remove gpu_threads which is identical to mining_threads. refactor mining threads init code
11 years ago
Jan Berdajs
24d0ce4884
all hail SPACE
11 years ago
Jan Berdajs
c4f2b78d65
per-pool gpu-engine, gpu-memclock and thread_concurrency
11 years ago
Jan Berdajs
06d8e1d1dc
extranonce - some cleanup and better description for pool setting
11 years ago
elbandi
91a26c46b7
Protect pool name with lock
...
Disconnect from pool, if auth is failed
handle mining.set_extranonce method
subscribe for mining.extranonce
Allow disable extranonce subscribe
Send subscribe request before auth
Change mining.set_extranonce method as stratum notification
Set extranonce.subscribe timeout to 2sec
Some tweaks for extranonce
Handle pool response, who send errors in invalid format
Move no-extranonce-subscribe parameter to a pool config
Include pool.h
Set the pool idle and switch pool, if need
Mark pool as idle if stratum restart is failed
Conflicts:
sgminer.c
11 years ago
Jan Berdajs
cac833e5c2
fix bug which can occur when switching from a very low diff algo (darkcoin) to a high diff algo (scrypt), which caused invalid nonces
11 years ago
Jan Berdajs
5b8adcd9a1
add todo comment if we ever fix the broken config parser
11 years ago
Jan Berdajs
efe1ebd7ae
Intensity can be set for each pool individually
11 years ago
Jan Berdajs
9d9f5b7586
Add MaxCoin support
11 years ago
Jan Berdajs
c0baf790f6
making new algorithms and other changes merged from sph-sgminer work with current version of sgminer
11 years ago
troky
22a3c5b6fe
Reverting 83d71da
. VS2010 fix.
11 years ago
Noel Maersk
ecfd497467
core: remove second-to-last remnants of hotplug.
...
If you grep hotplug, you'll find two more occurences as a function
argument, but it's unused.
11 years ago
elbandi
e32dcd7190
Mark pool as idle if stratum restart is failed
11 years ago
elbandi
98676763b9
Set the pool idle and switch pool, if need
11 years ago
Noel Maersk
5b054542db
config: Don't write commas if not needed, default to `opt_algorithm` when adding pool without one set explicitly.
11 years ago
sterlingpickens
83d71da225
Update sgminer.c
11 years ago
Elbandi
973dcefa8c
Use get_pool_name everywhere
11 years ago
Noel Maersk
3d7167ce2c
config: improve pool section writing.
...
Order so JSON's not broken, write `priority` and `algorithm`.
Closes #102 .
11 years ago
phm
67cf41a50c
Added support for MaruCoin
11 years ago
Noel Maersk
92c3b5eb48
api: set algorithm properly on addpool.
11 years ago
Noel Maersk
3c3a58475e
ui+api: ask for pool name/description/algorithm when adding pool from NCurses/API.
...
Closes #116 .
This is trivial and shouldn't be so hard: it required modifying
functions in both sgminer.c (for NCurses stuff) and api.c. There is
much code repetition, since the NCurses interface is hard-coded in.
Removing it would simplify things greatly.
11 years ago
troky
01e96606f0
Fixed (pool) algo selection.
11 years ago
Noel Maersk
da667d63e0
config: write pool name and description to config.
11 years ago
Noel Maersk
b3d483a035
core: revert two of the changes in Bllacky's pull request #187 .
...
`ndigits` is actually an int, used as a field width specifier in
snprintf().
s is an extensively-used pointer.
11 years ago
Bllacky
fe64ac99d6
Update sgminer.c
...
One small change to work well with previous ones.
Number of warnings now is 151, down from 157.
Still a long way to go. Most of the serious warnings are related to variables in miner.h, which is so intertwined with everything else that I fear of breaking something or making performance worse if I touch miner.h too much.
11 years ago