aboutsummaryrefslogtreecommitdiff
path: root/src/cryptonote_core/blockchain.h
diff options
context:
space:
mode:
authormoneromooo-monero <moneromooo-monero@users.noreply.github.com>2016-08-12 19:19:25 +0100
committermoneromooo-monero <moneromooo-monero@users.noreply.github.com>2016-08-12 20:32:23 +0100
commit7e4e0021f422eec55fb0417b1d6e86ceddc1934f (patch)
tree62d2516871b61424612f8b6f5bd5dc52d3345a42 /src/cryptonote_core/blockchain.h
parentMerge pull request #955 (diff)
downloadmonero-7e4e0021f422eec55fb0417b1d6e86ceddc1934f.tar.xz
daemon: print time to next fork
Diffstat (limited to 'src/cryptonote_core/blockchain.h')
-rw-r--r--src/cryptonote_core/blockchain.h7
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
*