daemon: new mining_status command

This commit is contained in:
moneromooo-monero 2019-02-22 20:17:45 +00:00
parent 31bdf7bd11
commit 59478c80dd
No known key found for this signature in database
GPG key ID: 686F07454D6CEFC3
9 changed files with 134 additions and 7 deletions

View file

@ -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;