From 4228ee0b9ee9096cb2a49fd09d88a5f5ae96afc1 Mon Sep 17 00:00:00 2001 From: moneromooo-monero Date: Wed, 8 May 2019 18:56:47 +0000 Subject: daemon: add optional arguments to alt_chain_info >N limits display to alt chains with more than N blocks -N limits display to alt chains younger than N blocks --- src/daemon/rpc_command_executor.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/daemon/rpc_command_executor.h') diff --git a/src/daemon/rpc_command_executor.h b/src/daemon/rpc_command_executor.h index 3c2686b3f..96e742e1b 100644 --- a/src/daemon/rpc_command_executor.h +++ b/src/daemon/rpc_command_executor.h @@ -145,7 +145,7 @@ public: bool print_coinbase_tx_sum(uint64_t height, uint64_t count); - bool alt_chain_info(const std::string &tip); + bool alt_chain_info(const std::string &tip, size_t above, uint64_t last_blocks); bool print_blockchain_dynamic_stats(uint64_t nblocks); -- cgit v1.2.3