diff options
author | rbrunner7 <rbrunner@dreamshare.ch> | 2019-03-21 11:03:24 +0100 |
---|---|---|
committer | rbrunner7 <rbrunner@dreamshare.ch> | 2019-03-24 16:58:57 +0100 |
commit | c23ea7962debe4e66fd3c0e7719117dcb7966d1f (patch) | |
tree | 4627040783eac198cbcdde56e47a8e16c3a16b77 /src/daemon/command_parser_executor.cpp | |
parent | Merge pull request #5201 (diff) | |
download | monero-c23ea7962debe4e66fd3c0e7719117dcb7966d1f.tar.xz |
New interactive daemon command 'print_net_stats': Global traffic stats
Diffstat (limited to 'src/daemon/command_parser_executor.cpp')
-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 b324ab99d..17b945c9a 100644 --- a/src/daemon/command_parser_executor.cpp +++ b/src/daemon/command_parser_executor.cpp @@ -127,6 +127,13 @@ bool t_command_parser_executor::print_connections(const std::vector<std::string> return m_executor.print_connections(); } +bool t_command_parser_executor::print_net_stats(const std::vector<std::string>& args) +{ + if (!args.empty()) return false; + + return m_executor.print_net_stats(); +} + bool t_command_parser_executor::print_blockchain_info(const std::vector<std::string>& args) { if(!args.size()) |