diff options
| author | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2019-11-04 17:36:46 +0000 |
|---|---|---|
| committer | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2019-11-04 17:38:14 +0000 |
| commit | a633f85da905f737e024b29f0f3d72a2d68ae1f4 (patch) | |
| tree | abcf947446a7f3e14040cba37180a6aafc54a219 /src/daemon/rpc_command_executor.h | |
| parent | ff94771b47394a388e63965473075ca2ce4f7992 (diff) | |
| download | monzero-core-a633f85da905f737e024b29f0f3d72a2d68ae1f4.tar.gz monzero-core-a633f85da905f737e024b29f0f3d72a2d68ae1f4.tar.xz monzero-core-a633f85da905f737e024b29f0f3d72a2d68ae1f4.zip | |
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.h | 2 |
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); |
