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_parser_executor.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 '')
-rw-r--r-- | src/daemon/command_parser_executor.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/daemon/command_parser_executor.cpp b/src/daemon/command_parser_executor.cpp index 5d7ed6cc0..88b77f76d 100644 --- a/src/daemon/command_parser_executor.cpp +++ b/src/daemon/command_parser_executor.cpp @@ -222,6 +222,13 @@ bool t_command_parser_executor::print_transaction_pool_short(const std::vector<s return m_executor.print_transaction_pool_short(); } +bool t_command_parser_executor::print_transaction_pool_stats(const std::vector<std::string>& args) +{ + if (!args.empty()) return false; + + return m_executor.print_transaction_pool_stats(); +} + bool t_command_parser_executor::start_mining(const std::vector<std::string>& args) { if(!args.size()) |