summaryrefslogtreecommitdiffstats
path: root/xmrstak/misc/executor.hpp
diff options
context:
space:
mode:
authorUnknown <fireice2@o2.pl>2017-11-14 20:22:31 +0000
committerUnknown <fireice2@o2.pl>2017-11-14 20:22:31 +0000
commit41eb0ad64e6d003368ccf8f3212f190a829aae10 (patch)
tree347bd2f368f7553cc0a04fae985779f081f126d2 /xmrstak/misc/executor.hpp
parent608139ccde751eb053b54e8d41899aec9208017d (diff)
downloadxmr-stak-41eb0ad64e6d003368ccf8f3212f190a829aae10.zip
xmr-stak-41eb0ad64e6d003368ccf8f3212f190a829aae10.tar.gz
Print motd on console and web ui
Diffstat (limited to 'xmrstak/misc/executor.hpp')
-rw-r--r--xmrstak/misc/executor.hpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/xmrstak/misc/executor.hpp b/xmrstak/misc/executor.hpp
index 11c8206..27f89c4 100644
--- a/xmrstak/misc/executor.hpp
+++ b/xmrstak/misc/executor.hpp
@@ -95,6 +95,10 @@ private:
void ex_clock_thd();
void pool_connect(jpsock* pool);
+ constexpr static size_t motd_max_length = 512;
+ bool motd_filter_console(std::string& motd);
+ bool motd_filter_web(std::string& motd);
+
void hashrate_report(std::string& out);
void result_report(std::string& out);
void connection_report(std::string& out);
OpenPOWER on IntegriCloud