Noel Maersk
0a4f71882c
pool: use get_pool_user().
2014-02-28 22:45:07 +02:00
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.
2014-02-28 22:15:39 +02:00
Noel Maersk
0d562ffbf5
core: use opt_incognito in a few more applog() places.
2014-02-28 22:13:42 +02:00
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.
2014-02-28 04:13:22 +02:00
Noel Maersk
a511266959
doc: minor fix for --help message on --incognito
.
2014-02-28 03:35:32 +02:00
Noel Maersk
5a8f84b49b
ui: allow switching to incognito mode through ncurses interface.
2014-02-28 03:00:12 +02:00
Noel Maersk
d78f372712
core: undo some of previous two commits and andd conditionals to display user name as <incognito>
instead.
...
Fix whitspace (squashed).
2014-02-28 02:46:56 +02:00
Noel Maersk
2561295e3d
log: do not set poolname in log in incognito mode.
2014-02-28 02:11:26 +02:00
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.
2014-02-27 23:29:03 +02:00
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
2014-02-23 14:39:40 -05:00
phm
3e89fb950f
Merge branch 'quark'
...
Conflicts:
Makefile.am
configure.ac
driver-opencl.c
miner.h
ocl.c
sgminer.c
2014-02-23 18:56:05 +01:00
Teemu Suikki
73bb1504e9
Scrypt-nfactor support!
...
Added new configuration parameter "nfactor", which defaults to 10 (normal scrypt).
Use 11 for vertcoin.
Kernels modified accordingly.
2014-02-23 04:44:17 +02:00
phm
d9fc7ccb4e
Added support for QubitCoin
2014-02-22 19:21:05 +01:00
phm
c336a8399a
Added support for INKcoin.
2014-02-22 16:58:00 +01:00
phm
089bfddc9b
Merge branch 'quark' into inkcoin
...
Conflicts:
Makefile.am
configure.ac
driver-opencl.c
ocl.c
sgminer.c
2014-02-22 16:56:59 +01:00
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
2014-02-22 17:05:07 +02:00
Noel Maersk
a38f01c9a2
misc: explain gpu-threads comment FIXME.
2014-02-22 16:38:47 +02:00
phm
e92d5ebf6e
Added support for InkCoin
2014-02-22 12:46:46 +01:00
phm
60a0e00243
Added support for quarkcoin difficulty calculation.
2014-02-22 11:04:06 +01:00
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
2014-02-21 17:46:10 -05:00
phm
a17ec112f6
Added support for Quark mining.
2014-02-21 15:45:29 +01:00
phm
9585d2a8e6
Added support for DarkCoin kernel. Modified stats display to handle low difficulty values.
2014-02-19 23:06:29 +01:00
Con Kolivas
a825524325
We shouldn't block on no work situations directly from the getwork scheduler itself.
2014-02-17 17:34:50 +02:00
Con Kolivas
b9b3abe264
Make the pthread cond wait in the getwork scheduler a timed wait in case we miss a wakeup.
2014-02-17 17:33:23 +02:00
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.
2014-02-16 15:13:08 +02:00
Con Kolivas
26c4be818a
Show device info in noffset nonce share above target message.
2014-02-16 15:12:43 +02:00
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.
2014-02-16 15:09:22 +02:00
Con Kolivas
5dad99caf6
Give device info with share above target message.
2014-02-16 15:08:39 +02:00
Con Kolivas
b5abf68938
Always show the stratum share lag time in debug mode.
2014-02-16 14:45:15 +02:00
Con Kolivas
9c59fe2c31
Add stratum share response lag time to verbose output if it's greater than 1 second.
2014-02-16 14:43:53 +02:00
Con Kolivas
7731806417
Add stratum share submission lag time to verbose information if it's over 1 second.
2014-02-16 14:43:31 +02:00
Con Kolivas
95ac0c4356
Export the flush_queue function for use by drivers.
2014-02-16 14:41:02 +02:00
Con Kolivas
ab805ec146
Remove wrong goto
2014-02-16 14:40:42 +02:00
Con Kolivas
d5d34f2168
Remove the unqueued work reference when we discard work from get queued as well.
2014-02-16 14:40:23 +02:00
Con Kolivas
ee7fb11cfb
Wake the global work scheduler when we remove a work item from the unqueued work pointer.
2014-02-16 14:39:47 +02:00
Con Kolivas
2cea7ce439
Discard work that is stale in the get_queued() function, returning NULL instead.
2014-02-16 14:39:18 +02:00
ckolivas
8592226ad2
Add a get and queue helper work function.
2014-02-16 14:37:16 +02:00
Con Kolivas
011512561a
Add a call to a driver specific zero stats function when zero stats is called to allow each driver to reset its own stats as well if desired.
2014-02-16 14:24:06 +02:00
Con Kolivas
dc767487e2
Fix displayed diff when solo mining at >2^32 diff.
2014-02-16 14:21:29 +02:00
Con Kolivas
c31de2601b
Store when the last getwork was retrieved and display it in the API summary.
2014-02-16 14:14:40 +02:00
ckolivas
d1e2bfaf7f
Make submit_tested_work return a bool about whether it meets the work target or not.
2014-02-16 14:10:31 +02:00
ckolivas
a58ef1b8c7
Provide a helper function for determining dev runtime and use it in the hashmeters used.
2014-02-16 14:09:51 +02:00
Con Kolivas
3323f9f9bf
Generically increase the queue if we are mining on a pool without local work generation each time we run out of work.
2014-02-16 13:59:15 +02:00
Con Kolivas
5167962840
Change new block detection message since longpoll is rarely relevant today.
2014-02-16 13:58:40 +02:00
Con Kolivas
1ad3285f56
Use unused line at the top of the log window which often gets stuck unchanging.
2014-02-16 13:58:09 +02:00
Con Kolivas
cc2aa215a8
Clear pool work on a stratum reconnect message.
2014-02-16 13:57:20 +02:00
Kano
faf63ec036
Modify thread naming to make them easier to identify
2014-02-16 13:56:14 +02:00
Noel Maersk
87102ecd07
pool: additional debug logging for stratum pools.
...
Might help in trying to resove issue 88.
2014-02-12 21:11:59 +02:00
Noel Maersk
dab1d35efd
log: add LOG_INFO message about suspended stratum to stratum_rthread().
...
Also a minor style/syntax fix while searching for why pools don't
restart if gone "dead". A pool is considered "dead" if pool->idle
is true.
2014-02-11 17:33:28 +02:00
Noel Maersk
c09a5b4406
core: remove num_processors (unused).
2014-02-08 15:41:31 +02:00