aboutsummaryrefslogtreecommitdiff
path: root/src/cryptonote_core/cryptonote_core.cpp
diff options
context:
space:
mode:
authorHoward Chu <hyc@symas.com>2017-08-22 14:54:18 +0100
committerHoward Chu <hyc@symas.com>2017-08-22 15:11:09 +0100
commitc22d22e2db9af50c926f623718b814d041b89c8e (patch)
tree820fc28ae0056c13debb7c92db7073d9c3890be9 /src/cryptonote_core/cryptonote_core.cpp
parent9a859844f496158b8237bbd08ff0f608dc5a6385 (diff)
downloadmonzero-core-c22d22e2db9af50c926f623718b814d041b89c8e.tar.gz
monzero-core-c22d22e2db9af50c926f623718b814d041b89c8e.tar.xz
monzero-core-c22d22e2db9af50c926f623718b814d041b89c8e.zip
Cleanup test impact of adding safesyncmode() method
Diffstat (limited to 'src/cryptonote_core/cryptonote_core.cpp')
-rw-r--r--src/cryptonote_core/cryptonote_core.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/cryptonote_core/cryptonote_core.cpp b/src/cryptonote_core/cryptonote_core.cpp
index a002f19a3..648eb5826 100644
--- a/src/cryptonote_core/cryptonote_core.cpp
+++ b/src/cryptonote_core/cryptonote_core.cpp
@@ -1037,6 +1037,11 @@ namespace cryptonote
m_miner.on_synchronized();
}
//-----------------------------------------------------------------------------------------------
+ void core::safesyncmode(const bool onoff)
+ {
+ m_blockchain_storage.safesyncmode(onoff);
+ }
+ //-----------------------------------------------------------------------------------------------
bool core::add_new_block(const block& b, block_verification_context& bvc)
{
return m_blockchain_storage.add_new_block(b, bvc);