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
c159470822
doc: update Windows build references in README.md.
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
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
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
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
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
Noel Maersk
edc94b07ce
misc: update NEWS with what's been ported from ckolivas/cgminer.
11 years ago
Noel Maersk
fa21900837
Merge pull request #100 from gionn/patch-1
...
Fixed md formatting in MINING.md
11 years ago
Giovanni Toraldo
7ca09655a7
Fixed md formatting in MINING.md
11 years ago
Con Kolivas
a825524325
We shouldn't block on no work situations directly from the getwork scheduler itself.
11 years ago
Con Kolivas
b9b3abe264
Make the pthread cond wait in the getwork scheduler a timed wait in case we miss a wakeup.
11 years ago
Noel Maersk
ac3f6c5705
misc: add note about ports from ckolivas/cgminer.
11 years ago
Con Kolivas
7134cd7050
Add debug output when get_work() is blocked for an extended period and add grace time to the device's last valid work to prevent false positives for device failure.
11 years ago
Con Kolivas
26c4be818a
Show device info in noffset nonce share above target message.
11 years ago
Con Kolivas
aca8a58f2e
Only show one decimal place if pool diff is not an integer.
11 years ago
Con Kolivas
117c032b92
Slowly remove work even if it's not being used to keep the getwork counter incrementing even if work is not used and as a test that pools are still working.
11 years ago
Con Kolivas
5dad99caf6
Give device info with share above target message.
11 years ago
Con Kolivas
f8b9e41f28
Check for when errno is set on windows as well as the windows variant for errors.
11 years ago
Jim Jagielski
88c7720caf
These may not be longs (eg: OSX)... fo a safe cast to ensure.
11 years ago
Kano
a1844cdf44
API-README correct new text format documentation
11 years ago
Kano
ae837a762f
API allow multiple commands/replies in one request
11 years ago
Con Kolivas
b5abf68938
Always show the stratum share lag time in debug mode.
11 years ago
Con Kolivas
9c59fe2c31
Add stratum share response lag time to verbose output if it's greater than 1 second.
11 years ago
Con Kolivas
7731806417
Add stratum share submission lag time to verbose information if it's over 1 second.
11 years ago
Con Kolivas
f7394ff165
Check for more interrupted conditions in util.c and handle them gracefully.
11 years ago
Con Kolivas
90cc93c6cc
Add the ability to display a hexadecimal 32 bit unsigned integer to the API.
11 years ago
Con Kolivas
6b246a59f3
Handle interruptions to various select calls in util.c
11 years ago
Con Kolivas
95ac0c4356
Export the flush_queue function for use by drivers.
11 years ago
Con Kolivas
ab805ec146
Remove wrong goto
11 years ago
Con Kolivas
d5d34f2168
Remove the unqueued work reference when we discard work from get queued as well.
11 years ago
Con Kolivas
ee7fb11cfb
Wake the global work scheduler when we remove a work item from the unqueued work pointer.
11 years ago
Con Kolivas
2cea7ce439
Discard work that is stale in the get_queued() function, returning NULL instead.
11 years ago