diff options
author | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2015-09-13 18:09:57 +0100 |
---|---|---|
committer | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2015-09-13 18:09:57 +0100 |
commit | 8ffc508cef31002942e5548270f55093a4562eb5 (patch) | |
tree | 5b1bd8a24ce184e2b27e12d76fccaf79d88f7976 /src/cryptonote_core/blockchain.cpp | |
parent | blockchain: use the new hardfork class (diff) | |
download | monero-8ffc508cef31002942e5548270f55093a4562eb5.tar.xz |
core: moan when we think an update is needed to get latest hard fork info
Diffstat (limited to 'src/cryptonote_core/blockchain.cpp')
-rw-r--r-- | src/cryptonote_core/blockchain.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/cryptonote_core/blockchain.cpp b/src/cryptonote_core/blockchain.cpp index 81612f9a5..dfaae85b9 100644 --- a/src/cryptonote_core/blockchain.cpp +++ b/src/cryptonote_core/blockchain.cpp @@ -3074,3 +3074,8 @@ void Blockchain::set_user_options(uint64_t maxthreads, uint64_t blocks_per_sync, m_db_blocks_per_sync = blocks_per_sync; m_max_prepare_blocks_threads = maxthreads; } + +HardFork::State Blockchain::get_hard_fork_state() const +{ + return m_hardfork.get_state(); +} |