elbandi
78e7b2f22d
Merge branch 'master' into idlebug
11 years ago
elbandi
c72cd9160e
export PKG_CONFIG_PATH variable
11 years ago
elbandi
c2af5fec1d
Include pool.h
11 years ago
elbandi
a32ec16169
Move no-extranonce-subscribe parameter to a pool config
11 years ago
elbandi
91be2e9e07
Handle pool response, who send errors in invalid format
11 years ago
elbandi
ab3d2fe28e
Set the pool idle and switch pool, if need
11 years ago
elbandi
e7bca31941
Some tweaks for extranonce
11 years ago
elbandi
7521451cae
Merge branch 'nicehash-extranonce' into master
11 years ago
elbandi
77545de0e8
Disconnect from pool, if auth is failed
11 years ago
elbandi
f9a2c8b929
Protect pool name with lock
11 years ago
Elbandi
75a86fbf10
Set extranonce.subscribe timeout to 2sec
11 years ago
elbandi
e1dcbfab15
Change mining.set_extranonce method as stratum notification
11 years ago
elbandi
281bcd75e9
Send subscribe request before auth
11 years ago
elbandi
4ad62b9a78
Allow disable extranonce subscribe
11 years ago
elbandi
b742ced4eb
subscribe for mining.extranonce
11 years ago
elbandi
aaaf387222
handle mining.set_extranonce method
11 years ago
Noel Maersk
897ca9fd4c
Merge pull request #200 from Elbandi/poolnamefix
...
Use get_pool_name everywhere
11 years ago
Elbandi
973dcefa8c
Use get_pool_name everywhere
11 years ago
Noel Maersk
b090ac9302
misc: veox can no longer actively maintain this software.
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
Noel Maersk
e42f77d9c1
misc: moved from veox/sgminer to sgminer-dev/sgminer
11 years ago
Noel Maersk
7bc0be03d4
misc: FAQ cleanup.
11 years ago
Noel Maersk
b2462e6076
misc: Add Michael Fiano <mfiano> to AUTHORS.md.
...
Tested tecent name/desc/algo additions to API, helped find a segfault
condition.
11 years ago
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).
11 years ago
Noel Maersk
49fecf93a3
misc: Bump version to 4.1.270.
11 years ago
Noel Maersk
92c3b5eb48
api: set algorithm properly on addpool.
11 years ago
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.
11 years ago
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.
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
Noel Maersk
e731aa1f16
Merge pull request #193 from troky/master
...
Small fix and upgrade
11 years ago
troky
2a087a7dae
Added algorithm name to 'pools' API command.
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
2c00158216
Merge pull request #189 from Bllacky/patch-7
...
Update sgminer.c
11 years ago
Bllacky
942c6714fa
Update miner.h
...
Variable declaration. VS seems to like size_t instead of int for certain variables.
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
Noel Maersk
b457461eb7
Merge pull request #187 from Bllacky/patch-5
...
Reduce the number of warnings by about 5 (Update sgminer.c)
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
Bllacky
1dc8aabda9
Update sgminer.c
...
Minor changes to variable declaration.
Should reduce the number of warnings by about 5.
11 years ago
Noel Maersk
4f3d2edcc8
misc: set `algorithm` for pool in example.conf.
...
Also finish up what was started in f2934d8afd
11 years ago
Noel Maersk
aa5f4c713b
config: add `const` qualifier to set_pool_{algorithm,nfactor}().
...
MSVS doesn't like implicit casting.
11 years ago
Noel Maersk
7051629232
log: change log level in setup_stratum_socket().
...
Erroneously stayed at LOG_ERROR after issue #88 (IIRC).
11 years ago
Noel Maersk
0dcb6ca498
doc: clarify `algorithm` usage in a config file pool section.
11 years ago
Noel Maersk
e7078a5e16
misc: clarify currentpool() comment.
11 years ago
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.
11 years ago
Noel Maersk
53a199a21d
config: use get_pool_name() in set_pool_algorithm() and set_pool_nfactor().
11 years ago
Noel Maersk
af879b1c77
core/misc: rename set_poolname() to set_pool_name().
11 years ago
Jan Berdajs
cc59247c43
adding mrbrdo to AUTHORS.md for kernel hot-switching
11 years ago
Noel Maersk
3ddf6baad9
core: rename default_algorithm to opt_algorithm.
...
... So it's easier to find when refactoring the configuration system
later on.
11 years ago
Noel Maersk
0793c96074
Merge remote-tracking branch 'mrbrdo/poolalgo' into poolalgo
...
Conflicts (resolved):
ocl.h
sgminer.c
11 years ago