From a633f85da905f737e024b29f0f3d72a2d68ae1f4 Mon Sep 17 00:00:00 2001 From: moneromooo-monero Date: Mon, 4 Nov 2019 17:36:46 +0000 Subject: daemon: allow printing N blocks from the end of the chain It's a very common usage (for my anyway) and avoids the need to get the current height, paste, subtract one, etc --- src/daemon/command_parser_executor.cpp | 10 ++++++++++ 1 file changed, 10 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 b827221f6..967bd7278 100644 --- a/src/daemon/command_parser_executor.cpp +++ b/src/daemon/command_parser_executor.cpp @@ -154,6 +154,16 @@ bool t_command_parser_executor::print_blockchain_info(const std::vector