aboutsummaryrefslogtreecommitdiff
path: root/src/daemon/command_parser_executor.cpp
diff options
context:
space:
mode:
authorRiccardo Spagni <ric@spagni.net>2019-03-17 17:55:32 +0200
committerRiccardo Spagni <ric@spagni.net>2019-03-17 17:55:32 +0200
commit429930534df43b8bef46a4a39dbfbc3d3b5939b0 (patch)
tree0280220db27a66d12d16e3b42a003cebab00177a /src/daemon/command_parser_executor.cpp
parentMerge pull request #5182 (diff)
parentdaemon: new mining_status command (diff)
downloadmonero-429930534df43b8bef46a4a39dbfbc3d3b5939b0.tar.xz
Merge pull request #5185
59478c80 daemon: new mining_status command (moneromooo-monero)
Diffstat (limited to 'src/daemon/command_parser_executor.cpp')
-rw-r--r--src/daemon/command_parser_executor.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/daemon/command_parser_executor.cpp b/src/daemon/command_parser_executor.cpp
index ba8ab9609..b324ab99d 100644
--- a/src/daemon/command_parser_executor.cpp
+++ b/src/daemon/command_parser_executor.cpp
@@ -411,6 +411,11 @@ bool t_command_parser_executor::stop_mining(const std::vector<std::string>& args
return m_executor.stop_mining();
}
+bool t_command_parser_executor::mining_status(const std::vector<std::string>& args)
+{
+ return m_executor.mining_status();
+}
+
bool t_command_parser_executor::stop_daemon(const std::vector<std::string>& args)
{
if (!args.empty()) return false;