Skip to content

Instantly share code, notes, and snippets.

@sammy007
Created January 27, 2015 17:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sammy007/e778ca9e5776a47ec471 to your computer and use it in GitHub Desktop.
Save sammy007/e778ca9e5776a47ec471 to your computer and use it in GitHub Desktop.
Change blockchain autosave interval in bitmonerod
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