From 839280d5fc245cae101b07f3106c4b0031dd5941 Mon Sep 17 00:00:00 2001 From: moneromooo-monero Date: Sun, 23 Oct 2016 12:11:07 +0100 Subject: daemon: add a print_pool_stats daemon command Helps see what's going on now that Monero is getting used --- src/daemon/command_parser_executor.cpp | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/daemon/command_parser_executor.cpp') 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& args) +{ + if (!args.empty()) return false; + + return m_executor.print_transaction_pool_stats(); +} + bool t_command_parser_executor::start_mining(const std::vector& args) { if(!args.size()) -- cgit v1.2.3