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
This commit is contained in:
moneromooo-monero
2019-05-08 18:56:47 +00:00
parent 0605406714
commit 4228ee0b9e
3 changed files with 46 additions and 7 deletions

View File

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