mirror of
https://github.com/monero-project/monero.git
synced 2025-12-25 12:25:18 -08:00
daemon: add a print_pool_stats daemon command
Helps see what's going on now that Monero is getting used
This commit is contained in:
@@ -110,6 +110,11 @@ t_command_server::t_command_server(
|
||||
, std::bind(&t_command_parser_executor::print_transaction_pool_short, &m_parser, p::_1)
|
||||
, "Print transaction pool (short format)"
|
||||
);
|
||||
m_command_lookup.set_handler(
|
||||
"print_pool_stats"
|
||||
, std::bind(&t_command_parser_executor::print_transaction_pool_stats, &m_parser, p::_1)
|
||||
, "Print transaction pool statistics"
|
||||
);
|
||||
m_command_lookup.set_handler(
|
||||
"show_hr"
|
||||
, std::bind(&t_command_parser_executor::show_hash_rate, &m_parser, p::_1)
|
||||
|
||||
Reference in New Issue
Block a user