diff options
author | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2016-10-23 12:11:07 +0100 |
---|---|---|
committer | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2016-10-23 16:11:20 +0100 |
commit | 839280d5fc245cae101b07f3106c4b0031dd5941 (patch) | |
tree | a878ef80ad3c225fc18c8b9fde915f4f8bb8131d /src/daemon/command_server.cpp | |
parent | Merge pull request #1229 (diff) | |
download | monero-839280d5fc245cae101b07f3106c4b0031dd5941.tar.xz |
daemon: add a print_pool_stats daemon command
Helps see what's going on now that Monero is getting used
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 1418b920f..729b19cbf 100644 --- a/src/daemon/command_server.cpp +++ b/src/daemon/command_server.cpp @@ -111,6 +111,11 @@ t_command_server::t_command_server( , "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) , "Start showing hash rate" |