aboutsummaryrefslogtreecommitdiff
path: root/src/daemon/rpc_command_executor.h
diff options
context:
space:
mode:
authormoneromooo-monero <moneromooo-monero@users.noreply.github.com>2019-11-04 17:36:46 +0000
committermoneromooo-monero <moneromooo-monero@users.noreply.github.com>2019-11-04 17:38:14 +0000
commita633f85da905f737e024b29f0f3d72a2d68ae1f4 (patch)
treeabcf947446a7f3e14040cba37180a6aafc54a219 /src/daemon/rpc_command_executor.h
parentMerge pull request #6087 (diff)
downloadmonero-a633f85da905f737e024b29f0f3d72a2d68ae1f4.tar.xz
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
Diffstat (limited to 'src/daemon/rpc_command_executor.h')
-rw-r--r--src/daemon/rpc_command_executor.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/daemon/rpc_command_executor.h b/src/daemon/rpc_command_executor.h
index e8b12cb9b..99899c3cc 100644
--- a/src/daemon/rpc_command_executor.h
+++ b/src/daemon/rpc_command_executor.h
@@ -85,7 +85,7 @@ public:
bool print_connections();
- bool print_blockchain_info(uint64_t start_block_index, uint64_t end_block_index);
+ bool print_blockchain_info(int64_t start_block_index, uint64_t end_block_index);
bool set_log_level(int8_t level);