core: moan when we think an update is needed to get latest hard fork info

This commit is contained in:
moneromooo-monero
2015-09-13 18:09:57 +01:00
parent f85498422d
commit 8ffc508cef
4 changed files with 35 additions and 0 deletions

View File

@@ -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();
}