Move LMDB storage to subfolder

This commit is contained in:
warptangent
2015-02-19 06:37:00 -08:00
parent 42f8fe5c7f
commit ce71abd0fe
2 changed files with 12 additions and 1 deletions
+2 -1
View File
@@ -237,8 +237,9 @@ bool Blockchain::init(const std::string& config_folder, bool testnet)
m_testnet = testnet;
boost::filesystem::path folder(m_config_folder);
folder /= "lmdb";
LOG_PRINT_L0("Loading blockchain...");
LOG_PRINT_L0("Loading blockchain from folder " << folder.c_str() << " ...");
//FIXME: update filename for BlockchainDB
const std::string filename = folder.string();