diff options
author | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2016-08-12 19:19:25 +0100 |
---|---|---|
committer | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2016-08-12 20:32:23 +0100 |
commit | 7e4e0021f422eec55fb0417b1d6e86ceddc1934f (patch) | |
tree | 62d2516871b61424612f8b6f5bd5dc52d3345a42 /src/cryptonote_core/blockchain.h | |
parent | Merge pull request #955 (diff) | |
download | monero-7e4e0021f422eec55fb0417b1d6e86ceddc1934f.tar.xz |
daemon: print time to next fork
Diffstat (limited to 'src/cryptonote_core/blockchain.h')
-rw-r--r-- | src/cryptonote_core/blockchain.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/cryptonote_core/blockchain.h b/src/cryptonote_core/blockchain.h index f5950291c..1524693b8 100644 --- a/src/cryptonote_core/blockchain.h +++ b/src/cryptonote_core/blockchain.h @@ -667,6 +667,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 * |