diff options
author | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2019-02-22 20:17:45 +0000 |
---|---|---|
committer | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2019-03-09 20:51:53 +0000 |
commit | 59478c80dd01d00e16994a77e36a94cdbe3c9412 (patch) | |
tree | 7feed5e760c8affa62a9277a414942d13a05d2a9 /src/daemon/command_server.cpp | |
parent | Merge pull request #4988 (diff) | |
download | monero-59478c80dd01d00e16994a77e36a94cdbe3c9412.tar.xz |
daemon: new mining_status command
Diffstat (limited to 'src/daemon/command_server.cpp')
-rw-r--r-- | src/daemon/command_server.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/daemon/command_server.cpp b/src/daemon/command_server.cpp index 96dea76b6..45a1e9d98 100644 --- a/src/daemon/command_server.cpp +++ b/src/daemon/command_server.cpp @@ -113,6 +113,11 @@ t_command_server::t_command_server( , "Stop mining." ); m_command_lookup.set_handler( + "mining_status" + , std::bind(&t_command_parser_executor::mining_status, &m_parser, p::_1) + , "Show current mining status." + ); + m_command_lookup.set_handler( "print_pool" , std::bind(&t_command_parser_executor::print_transaction_pool_long, &m_parser, p::_1) , "Print the transaction pool using a long format." |