Bufius
6d5e7bdd31
add credits
2014-05-18 14:17:29 +02:00
Bufius
292ede3338
format code
2014-05-18 13:48:26 +02:00
Bufius
3c14f0a753
slightly improved performance, works with LG of 2, 4 and 8
2014-05-18 13:41:53 +02:00
elbandi
e32dcd7190
Mark pool as idle if stratum restart is failed
2014-05-08 00:04:01 +02:00
elbandi
98676763b9
Set the pool idle and switch pool, if need
2014-05-08 00:02:39 +02:00
elbandi
c469ff923a
Disconnect from pool, if auth is failed
2014-05-08 00:02:03 +02:00
Noel Maersk
3eb22b215e
api: write xintensity and rawintensity using api_add_int().
2014-05-08 00:08:25 +03:00
Noel Maersk
d27e8691e1
api: Add XIntensity and RawIntensity to devs
output.
2014-05-07 23:39:06 +03:00
Noel Maersk
5b054542db
config: Don't write commas if not needed, default to opt_algorithm
when adding pool without one set explicitly.
2014-05-05 15:34:02 +03:00
Noel Maersk
f3df639ad4
Merge pull request #203 from sterlingpickens/master
...
Silence build warning, fix code typo.
2014-05-02 20:48:43 +03:00
sterlingpickens
ff45bb3a85
Update configure.ac
...
#include <unistd.h> no #include <process.h>
needed in linux, fixes make warning
2014-05-02 09:44:10 -07:00
sterlingpickens
83d71da225
Update sgminer.c
2014-05-02 09:36:35 -07:00
sterlingpickens
89c1411fde
Update driver-opencl.c
2014-05-02 09:32:57 -07:00
Noel Maersk
bfff79c3b0
Merge branch 'api-quit'
2014-04-27 19:14:54 +03:00
Noel Maersk
eb53e32d16
misc: add API restart/quit changes to NEWS.md.
2014-04-25 17:42:23 +03:00
Luke Dashjr
3a6c1c8bb0
RPC: Provide a full status section for quit/restart commands
2014-04-25 17:40:52 +03:00
Noel Maersk
828aa7b097
misc: update NEWS.md with changes from api-compatibility
branch.
2014-04-25 13:56:38 +03:00
Noel Maersk
2f3e08a12c
Merge branch 'api-compatibility'
2014-04-25 01:22:05 +03:00
Noel Maersk
47d00ee524
api: add missing header.
...
Imlicit declarations (using get_pool_name() without including pool.h)
produces a warning for me and AFAIR breaks compilation for someone else.
2014-04-24 21:54:02 +03:00
Luke Dashjr
5bd5b07e15
RPC: Add "Miner" to version response to include software name along with version
2014-04-24 21:28:35 +03:00
Noel Maersk
897ca9fd4c
Merge pull request #200 from Elbandi/poolnamefix
...
Use get_pool_name everywhere
2014-04-24 15:15:54 +03:00
Elbandi
973dcefa8c
Use get_pool_name everywhere
2014-04-24 12:09:56 +02:00
Noel Maersk
b090ac9302
misc: veox can no longer actively maintain this software.
2014-04-23 14:26:04 +03:00
Noel Maersk
3d7167ce2c
config: improve pool section writing.
...
Order so JSON's not broken, write `priority` and `algorithm`.
Closes #102 .
2014-04-18 17:31:06 +03:00
Noel Maersk
e42f77d9c1
misc: moved from veox/sgminer to sgminer-dev/sgminer
2014-04-17 16:23:27 +03:00
Noel Maersk
7bc0be03d4
misc: FAQ cleanup.
2014-04-14 22:50:48 +03:00
Noel Maersk
b2462e6076
misc: Add Michael Fiano <mfiano> to AUTHORS.md.
...
Tested tecent name/desc/algo additions to API, helped find a segfault
condition.
2014-04-12 19:33:59 +03:00
Noel Maersk
f5709910fb
api: Bugfix, bump version to 4.1.271, initialise name/desc/algo in addpool() so checks for NULL work.
...
Otherwise API "addpool|a,b,c" command segfaults (access uninitialised
memory address).
2014-04-12 19:28:23 +03:00
Noel Maersk
49fecf93a3
misc: Bump version to 4.1.270.
2014-04-12 18:10:00 +03:00
Noel Maersk
92c3b5eb48
api: set algorithm properly on addpool.
2014-04-12 17:32:41 +03:00
Noel Maersk
5409ffc2a4
api: check if name/desc/algo are NULL and fill with defaults if so.
...
Defaults should probably be specified elsewhere.
There should be a constructor for stuff like this.
This shit is really bringing me down.
2014-04-11 15:27:58 +03:00
Noel Maersk
9aaff8ccf5
api: bump version, but allow name/desc/algo to be missing when adding pool details.
...
This will have unintended consequences, since API clients are sure to
send pool details without name/desc/algo. pooldetails() will allow them
to do that, and add_pool_details() will fill the pool structure with
NULLs.
2014-04-11 15:17:42 +03:00
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.
2014-04-11 15:06:36 +03:00
Noel Maersk
e731aa1f16
Merge pull request #193 from troky/master
...
Small fix and upgrade
2014-04-11 14:35:58 +03:00
troky
2a087a7dae
Added algorithm name to 'pools' API command.
2014-04-11 10:58:05 +02:00
troky
01e96606f0
Fixed (pool) algo selection.
2014-04-11 10:41:37 +02:00
Noel Maersk
da667d63e0
config: write pool name and description to config.
2014-04-11 03:01:13 +03:00
Noel Maersk
2c00158216
Merge pull request #189 from Bllacky/patch-7
...
Update sgminer.c
2014-04-10 18:47:28 +03:00
Bllacky
942c6714fa
Update miner.h
...
Variable declaration. VS seems to like size_t instead of int for certain variables.
2014-04-10 18:39:38 +03:00
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.
2014-04-09 22:37:07 +03:00
Noel Maersk
b457461eb7
Merge pull request #187 from Bllacky/patch-5
...
Reduce the number of warnings by about 5 (Update sgminer.c)
2014-04-09 22:20:36 +03:00
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.
2014-04-09 22:17:37 +03:00
Bllacky
1dc8aabda9
Update sgminer.c
...
Minor changes to variable declaration.
Should reduce the number of warnings by about 5.
2014-04-09 22:03:12 +03:00
Noel Maersk
4f3d2edcc8
misc: set algorithm
for pool in example.conf.
...
Also finish up what was started in f2934d8afd
2014-04-08 22:50:50 +03:00
Noel Maersk
aa5f4c713b
config: add const
qualifier to set_pool_{algorithm,nfactor}().
...
MSVS doesn't like implicit casting.
2014-04-08 14:28:50 +03:00
Noel Maersk
7051629232
log: change log level in setup_stratum_socket().
...
Erroneously stayed at LOG_ERROR after issue #88 (IIRC).
2014-04-07 23:54:43 +03:00
Noel Maersk
0dcb6ca498
doc: clarify algorithm
usage in a config file pool section.
2014-04-07 23:14:27 +03:00
Noel Maersk
e7078a5e16
misc: clarify currentpool() comment.
2014-04-07 22:51:23 +03:00
Noel Maersk
f6616aa63b
config: allow specifying per-pool algorithm with --algorithm
instead of --pool-algorithm
.
...
This will probably only work with config file, though, since it relies
on json_array_index.
2014-04-07 22:43:43 +03:00
Noel Maersk
53a199a21d
config: use get_pool_name() in set_pool_algorithm() and set_pool_nfactor().
2014-04-07 22:21:57 +03:00