Noel Maersk
934c4f5f14
pool: introduce get_pool_user() for simpler opt_incognito use.
...
Use immediately.
11 years ago
Noel Maersk
bd6766f231
pool: define and use POOL_NAME_INCOGNITO.
11 years ago
Noel Maersk
8e4fb3c554
pool: abstract get_pool_name()
...
The introduction of get_pool_name() warrants a separate function
so opt_incognito does not litter everywhere.
11 years ago
Noel Maersk
0d562ffbf5
core: use opt_incognito in a few more applog() places.
11 years ago
Noel Maersk
888fab437f
ui: <incognito> pool name in incognito mode, too.
...
Ah, what the heck. If it's a pool-related, we'll just ask.
11 years ago
Noel Maersk
2bab1d7b8a
doc: update BUGS.md.
11 years ago
Noel Maersk
4c4b909be6
doc: in example.conf, remove boolean values (and ones related to them) set to non-default states.
...
The config parser has a bug, and can only set boolean options to
non-default state. If a default state is given to an OPT_WITHOUT_ARG
option (as defined in the config table), it is set to the non-default state
anyway, because a CCAN function opt_set_[inv]bool() is used, which is not
meant for this.
Therefore, using such options from the command line is fine, but specifying
them in the .conf file results in above-described behaviour.
E.g., a user tests
"api-listen" : true
in the config, but changes it later to
"api-listen" : false
The option will be set true anyway.
A previous commit (8dd1c2d4af
) has allowed
this, whereas previously only setting to true was allowed.
Currently boolead options that default to true and can be set false by
the user are explicitly defined as true, e.g.:
bool opt_restart = true;
There is no simple or right way around this. This is an issue with the
design.
11 years ago
Noel Maersk
a511266959
doc: minor fix for --help message on `--incognito`.
11 years ago
Noel Maersk
5a8f84b49b
ui: allow switching to incognito mode through ncurses interface.
11 years ago
Noel Maersk
d78f372712
core: undo some of previous two commits and andd conditionals to display user name as `<incognito>` instead.
...
Fix whitspace (squashed).
11 years ago
Noel Maersk
2561295e3d
log: do not set poolname in log in incognito mode.
11 years ago
Noel Maersk
f737992f41
core: introduce `--incognito` + minimal revision of `--compact`.
...
`--incognito` is for sharing output without disclosing login
information.
NCurses interface code, as stated before, is pretty lousy.
11 years ago
Noel Maersk
8ff624618f
doc: verbose FAQ answer on running per-instance.
11 years ago
Noel Maersk
9eba0153e5
doc: update example.conf.
...
Reorder settings by category, add `poolname` and `state` to pool settings.
11 years ago
Noel Maersk
394c200c88
doc: minor FAQ update (formatting and reference a Q from another).
11 years ago
Noel Maersk
11cf733ede
misc: fix spaces after closing parenthesis.
...
sed -i 's/) $/)/' *.cl
11 years ago
Noel Maersk
e18bcc2582
kernel: use N-factor table instead of passing parameter N directly.
11 years ago
Noel Maersk
3afaaf1bfa
ocl: rename nfactor to N where appropriate.
...
N = 2^nfactor, so `nfactor` was a bad name choice here.
11 years ago
Noel Maersk
c159470822
doc: update Windows build references in README.md.
11 years ago
Noel Maersk
c4c85ca71c
misc: add FIXME for scrypt_test() and scanhash_scrypt().
11 years ago
Noel Maersk
2135777cac
scrypt: remove commented-out magic numbers.
11 years ago
Noel Maersk
4b3b2ef5a6
ocl: use 'nf' instead of 'n' in compiled kernel binary name.
...
It is used as a factor number here (e.g. 10, not 1024).
11 years ago
Noel Maersk
5b42d38f33
ocl/misc: spacing.
11 years ago
Noel Maersk
7217da3078
ocl: vectors are hard-set to 1, add appropriate "optimisation".
11 years ago
phm
3370e0846f
Quark optimizations - replaced ifs with condiational operators
11 years ago
Noel Maersk
ab9fcb1a14
ocl: use same type convention for nfactor (`cl_uint` instead of `int`).
11 years ago
unknown
c4edf5028b
VS2010 build: Cosmetic changes in project configuration.
11 years ago
unknown
dab737c6fe
VS2010 build: Fixed compatibility with non-MSVS compilers.
11 years ago
Noel Maersk
3640f1494f
Merge remote-tracking branch 'dadiv/zuikkis-nfactor' into nfactor
11 years ago
Noel Maersk
ee70f9f2af
misc: FAQ formatting.
11 years ago
Noel Maersk
ae23d25086
api: proper type casting for MSVS support.
...
Closes https://github.com/veox/sgminer/issues/113
11 years ago
Zuikkis
2b9a588e25
Update sgminer.c & scrypt.c
...
Default opt_nfactor was 11 instead of 10, my typo.. :) Sorry.
scrypt_1024_1_1_256_sp renamed to scrypt_n_1_1_256_sp
11 years ago
phm
d47e232060
Merge branch 'master' of https://github.com/prettyhatemachine/sph-sgminer
11 years ago
phm
3e89fb950f
Merge branch 'quark'
...
Conflicts:
Makefile.am
configure.ac
driver-opencl.c
miner.h
ocl.c
sgminer.c
11 years ago
phm
bc05151734
Corrected target in nonce test.
11 years ago
Teemu Suikki
73bb1504e9
Scrypt-nfactor support!
...
Added new configuration parameter "nfactor", which defaults to 10 (normal scrypt).
Use 11 for vertcoin.
Kernels modified accordingly.
11 years ago
phm
65336dc616
Corrected order of kernel identifiers.
11 years ago
phm
d9fc7ccb4e
Added support for QubitCoin
11 years ago
phm
c336a8399a
Added support for INKcoin.
11 years ago
phm
089bfddc9b
Merge branch 'quark' into inkcoin
...
Conflicts:
Makefile.am
configure.ac
driver-opencl.c
ocl.c
sgminer.c
11 years ago
Noel Maersk
44aed3570e
Merge branch 'build-msvs2010-upd' into build-msvs2010-merge
...
Test in separate branch before merging into master.
Conflicts (resolved):
api.c
util.c
11 years ago
Noel Maersk
a38f01c9a2
misc: explain gpu-threads comment FIXME.
11 years ago
phm
e92d5ebf6e
Added support for InkCoin
11 years ago
phm
60a0e00243
Added support for quarkcoin difficulty calculation.
11 years ago
Noel Maersk
323c84970e
Merge pull request #106 from sshimko/master
...
Fixup --help on intensities.
11 years ago
Spencer Shimko
45a16f1ac2
Fixup --help on intensities.
...
Current help contains conflict statements regarding intensity
priorities.
Per commit d11df698d141988491494aa1f29c7d3595e9712b:
- rawintensity overrides both xintensity and intensity
- xintensity overrides intensity
11 years ago
phm
a17ec112f6
Added support for Quark mining.
11 years ago
phm
a53e984316
Added hash functions from sphlib.
11 years ago
phm
9585d2a8e6
Added support for DarkCoin kernel. Modified stats display to handle low difficulty values.
11 years ago
Noel Maersk
80e6307033
Merge branch 'port-ckolivas-3.12.3'
...
Could be issue 88 (no reconnect to pools on network connectivity going
down for a while and then back up) is a regression introduced in pool
handling after cgminer 3.7.2. Pull in other changes to pool handling
just in case.
Tests show that this may be an issue with glibc's getaddrinfo(), and that
the last changes in cgminer might mitigate the issue somewhat.
11 years ago