From 41eb0ad64e6d003368ccf8f3212f190a829aae10 Mon Sep 17 00:00:00 2001 From: Unknown Date: Tue, 14 Nov 2017 20:22:31 +0000 Subject: Print motd on console and web ui --- xmrstak/misc/executor.hpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'xmrstak/misc/executor.hpp') 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); -- cgit v1.1