diff options
author | Riccardo Spagni <ric@spagni.net> | 2016-08-16 14:40:32 +0200 |
---|---|---|
committer | Riccardo Spagni <ric@spagni.net> | 2016-08-16 14:40:32 +0200 |
commit | 40e8c6c403a78eeaf6367ea9cf3f5d76c266f30d (patch) | |
tree | 62d2516871b61424612f8b6f5bd5dc52d3345a42 /src/cryptonote_core/blockchain.h | |
parent | Merge pull request #955 (diff) | |
parent | daemon: print time to next fork (diff) | |
download | monero-40e8c6c403a78eeaf6367ea9cf3f5d76c266f30d.tar.xz |
Merge pull request #959
7e4e002 daemon: print time to next fork (moneromooo-monero)
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 * |