aboutsummaryrefslogtreecommitdiff
path: root/src/cryptonote_core/hardfork.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/hardfork.h
parentMerge pull request #955 (diff)
downloadmonero-7e4e0021f422eec55fb0417b1d6e86ceddc1934f.tar.xz
daemon: print time to next fork
Diffstat (limited to 'src/cryptonote_core/hardfork.h')
-rw-r--r--src/cryptonote_core/hardfork.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/cryptonote_core/hardfork.h b/src/cryptonote_core/hardfork.h
index b3d485878..33b958f9c 100644
--- a/src/cryptonote_core/hardfork.h
+++ b/src/cryptonote_core/hardfork.h
@@ -169,6 +169,13 @@ namespace cryptonote
uint8_t get_ideal_version(uint64_t height) const;
/**
+ * @brief returns the next version
+ *
+ * This is the version which will we fork to next
+ */
+ uint8_t get_next_version() const;
+
+ /**
* @brief returns the current version
*
* This is the latest version that's past its trigger date and had enough votes