Created
January 27, 2015 17:56
-
-
Save sammy007/e778ca9e5776a47ec471 to your computer and use it in GitHub Desktop.
Change blockchain autosave interval in bitmonerod
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/src/cryptonote_core/cryptonote_core.h b/src/cryptonote_core/cryptonote_core.h | |
index 1052245..7438041 100644 | |
--- a/src/cryptonote_core/cryptonote_core.h | |
+++ b/src/cryptonote_core/cryptonote_core.h | |
@@ -157,7 +157,7 @@ namespace cryptonote | |
account_public_address m_miner_address; | |
std::string m_config_folder; | |
cryptonote_protocol_stub m_protocol_stub; | |
- epee::math_helper::once_a_time_seconds<60*60*12, false> m_store_blockchain_interval; | |
+ epee::math_helper::once_a_time_seconds<60*60*24, false> m_store_blockchain_interval; | |
friend class tx_validate_inputs; | |
std::atomic<bool> m_starter_message_showed; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment