summaryrefslogtreecommitdiffstats
path: root/executor.h
diff options
context:
space:
mode:
authorpsychocrypt <psychocrypt@users.noreply.github.com>2017-09-28 23:23:55 +0200
committerpsychocrypt <psychocrypt@users.noreply.github.com>2017-09-30 23:46:08 +0200
commite5b0319d5a9f58762fa934ad700113908940cb31 (patch)
treeb63db3594aa94783f21641936c95e3e4bd07c75b /executor.h
parent39d144639f837ee4a49c25158c2385f007d01417 (diff)
downloadxmr-stak-e5b0319d5a9f58762fa934ad700113908940cb31.zip
xmr-stak-e5b0319d5a9f58762fa934ad700113908940cb31.tar.gz
log invalid backend results
- executor.h: expose log_`result_error()` - register wrong results
Diffstat (limited to 'executor.h')
-rw-r--r--executor.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/executor.h b/executor.h
index d7fa27d..a3a0828 100644
--- a/executor.h
+++ b/executor.h
@@ -38,6 +38,7 @@ public:
inline void push_event(ex_event&& ev) { oEventQ.push(std::move(ev)); }
void push_timed_event(ex_event&& ev, size_t sec);
+ void log_result_error(std::string&& sError);
constexpr static size_t invalid_pool_id = 0;
constexpr static size_t dev_pool_id = 1;
@@ -169,7 +170,6 @@ private:
double fHighestHps = 0.0;
void log_socket_error(std::string&& sError);
- void log_result_error(std::string&& sError);
void log_result_ok(uint64_t iActualDiff);
void sched_reconnect();
OpenPOWER on IntegriCloud