1
0
mirror of https://github.com/GOSTSec/sgminer synced 2025-01-11 15:27:53 +00:00
Commit Graph

5985 Commits

Author SHA1 Message Date
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
f8b9e41f28 Check for when errno is set on windows as well as the windows variant for errors. 2014-02-16 15:08:00 +02:00
Jim Jagielski
88c7720caf These may not be longs (eg: OSX)... fo a safe cast to ensure. 2014-02-16 15:05:44 +02:00
Kano
a1844cdf44 API-README correct new text format documentation 2014-02-16 15:00:52 +02:00
Kano
ae837a762f API allow multiple commands/replies in one request 2014-02-16 15:00:32 +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
f7394ff165 Check for more interrupted conditions in util.c and handle them gracefully. 2014-02-16 14:43:00 +02:00
Con Kolivas
90cc93c6cc Add the ability to display a hexadecimal 32 bit unsigned integer to the API. 2014-02-16 14:42:30 +02:00
Con Kolivas
6b246a59f3 Handle interruptions to various select calls in util.c 2014-02-16 14:41:58 +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
Noel Maersk
796c032aae misc: note having ported changes up to cgminer 3.12.0. 2014-02-16 14:22:37 +02:00
Con Kolivas
dc767487e2 Fix displayed diff when solo mining at >2^32 diff. 2014-02-16 14:21:29 +02:00
Noel Maersk
aeaedeff12 misc: note about updates from ckolivas/cgminer. 2014-02-16 14:17:17 +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
Kano
301daae6f4 api.c 2014 2014-02-16 13:51:58 +02:00
Kano
b6c6ec5c83 api add data type AVG float 3 decimal 2014-02-16 13:49:26 +02:00
Kano
83ea44af5d api.c set the actual version number to 3.0
Conflicts resolved:
	api.c
2014-02-16 13:48:31 +02:00
Kano
83176cb52a API V3.0 unlimited socket reply size 2014-02-16 13:47:47 +02:00
Con Kolivas
003b65b7b1 Change stratum strings under stratum_lock in reconnect and free old strings.
Conflicts resolved:
	util.c
2014-02-16 13:38:51 +02:00
Noel Maersk
91d36d097a log: add LOG_DEBUG message on restarting stratum. 2014-02-14 20:51:16 +02:00
Noel Maersk
ed586c4aa5 misc: indentation. 2014-02-14 20:33:38 +02:00
Noel Maersk
abeeff3d45 log: print getaddrinfo() error description.
More debugging for issue 88.
2014-02-14 19:59:59 +02:00
Noel Maersk
18190642fa conf: disable API by default. 2014-02-14 14:00:14 +02:00
Noel Maersk
21ba583bea Merge pull request #96 from honeymaker/patch-1
Update example.conf
2014-02-14 13:59:37 +02:00
Noel Maersk
dc9f270d3a log: disable spammy log message. 2014-02-14 13:55:42 +02:00
Thomas
fad2c66766 Update example.conf 2014-02-14 00:08:11 +01:00
Noel Maersk
a8dfb3ebef pool: add getaddrinfo() LOG_DEBUG messages.
More for issue 88.
2014-02-13 13:40:47 +02:00
Noel Maersk
a1724e34e5 api: add missing extern declaration (for consistency). 2014-02-13 12:30:59 +02:00
Noel Maersk
115eb1ad2f pool: be verbose on which pool failed. 2014-02-13 12:29:35 +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
4e08eb41ef api: bump API version number to indicate changes that happened after 4.0.0. 2014-02-11 23:39:03 +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
unknown
861307becc VS2010 build: Fixed debug build. Moved some windows related defines to preprocessor. 2014-02-10 22:10:22 +01:00
unknown
9e4c276389 VS2010 build: removed unused defines. 2014-02-10 20:47:03 +01:00