aboutsummaryrefslogtreecommitdiff
path: root/src/daemon/command_parser_executor.cpp
diff options
context:
space:
mode:
authormoneromooo-monero <moneromooo-monero@users.noreply.github.com>2016-10-23 12:11:07 +0100
committermoneromooo-monero <moneromooo-monero@users.noreply.github.com>2016-10-23 16:11:20 +0100
commit839280d5fc245cae101b07f3106c4b0031dd5941 (patch)
treea878ef80ad3c225fc18c8b9fde915f4f8bb8131d /src/daemon/command_parser_executor.cpp
parentMerge pull request #1229 (diff)
downloadmonero-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.cpp7
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())