diff options
author | Riccardo Spagni <ric@spagni.net> | 2019-03-17 17:55:32 +0200 |
---|---|---|
committer | Riccardo Spagni <ric@spagni.net> | 2019-03-17 17:55:32 +0200 |
commit | 429930534df43b8bef46a4a39dbfbc3d3b5939b0 (patch) | |
tree | 0280220db27a66d12d16e3b42a003cebab00177a /src/daemon/command_server.cpp | |
parent | Merge pull request #5182 (diff) | |
parent | daemon: new mining_status command (diff) | |
download | monero-429930534df43b8bef46a4a39dbfbc3d3b5939b0.tar.xz |
Merge pull request #5185
59478c80 daemon: new mining_status command (moneromooo-monero)
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 e986d4d95..94e4a8bf1 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." |