aboutsummaryrefslogtreecommitdiff
path: root/src/daemon/command_parser_executor.cpp
diff options
context:
space:
mode:
authormoneromooo-monero <moneromooo-monero@users.noreply.github.com>2019-02-22 20:17:45 +0000
committermoneromooo-monero <moneromooo-monero@users.noreply.github.com>2019-03-09 20:51:53 +0000
commit59478c80dd01d00e16994a77e36a94cdbe3c9412 (patch)
tree7feed5e760c8affa62a9277a414942d13a05d2a9 /src/daemon/command_parser_executor.cpp
parentMerge pull request #4988 (diff)
downloadmonero-59478c80dd01d00e16994a77e36a94cdbe3c9412.tar.xz
daemon: new mining_status command
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 73f33a674..5d11dabb1 100644
--- a/src/daemon/command_parser_executor.cpp
+++ b/src/daemon/command_parser_executor.cpp
@@ -404,6 +404,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;