daemon: print time to next fork

This commit is contained in:
moneromooo-monero
2016-08-12 19:19:25 +01:00
parent 45f4ef7a6d
commit 7e4e0021f4
5 changed files with 50 additions and 2 deletions

View File

@@ -666,6 +666,13 @@ namespace cryptonote
*/
uint8_t get_ideal_hard_fork_version() const { return m_hardfork->get_ideal_version(); }
/**
* @brief returns the next hardfork version
*
* @return the version
*/
uint8_t get_next_hard_fork_version() const { return m_hardfork->get_next_version(); }
/**
* @brief returns the newest hardfork version voted to be enabled
* as of a certain height