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
This commit is contained in:
moneromooo-monero
2019-11-04 17:36:46 +00:00
parent ff94771b47
commit a633f85da9
3 changed files with 43 additions and 4 deletions

View File

@@ -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);