mirror of
https://github.com/monero-project/monero.git
synced 2025-12-25 12:25:18 -08:00
Merge pull request #5185
59478c80 daemon: new mining_status command (moneromooo-monero)
This commit is contained in:
@@ -112,6 +112,11 @@ t_command_server::t_command_server(
|
||||
, std::bind(&t_command_parser_executor::stop_mining, &m_parser, p::_1)
|
||||
, "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)
|
||||
|
||||
Reference in New Issue
Block a user