diff options
author | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2019-05-08 18:56:47 +0000 |
---|---|---|
committer | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2019-05-09 09:13:11 +0000 |
commit | 4228ee0b9ee9096cb2a49fd09d88a5f5ae96afc1 (patch) | |
tree | 804ed88faa297a335c9a7c515dc636fffc9f4315 /src/daemon/rpc_command_executor.h | |
parent | daemon: sort alt chains by height (diff) | |
download | monero-4228ee0b9ee9096cb2a49fd09d88a5f5ae96afc1.tar.xz |
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
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 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); |