Disable KeyvaDB as a NodeStore backend choice

This commit is contained in:
Vinnie Falco
2013-08-20 14:47:45 -07:00
parent e7fc07869d
commit d744e23e5e
2 changed files with 20 additions and 3 deletions

View File

@@ -298,19 +298,37 @@ int RippleMain::run (int argc, char const* const* argv)
po::positional_options_description p;
p.add ("parameters", -1);
// These must be added before the Application object is created
NodeStore::addBackendFactory (KeyvaDBBackendFactory::getInstance ());
//--------------------------------------------------------------------------
//
// NodeStore backend choices
//
// Note: These must be added before the Application object is created
//
NodeStore::addBackendFactory (LevelDBBackendFactory::getInstance ());
NodeStore::addBackendFactory (MemoryBackendFactory::getInstance ());
NodeStore::addBackendFactory (NullBackendFactory::getInstance ());
NodeStore::addBackendFactory (SqliteBackendFactory::getInstance ());
#if RIPPLE_HYPERLEVELDB_AVAILABLE
NodeStore::addBackendFactory (HyperLevelDBBackendFactory::getInstance ());
#endif
#if RIPPLE_MDB_AVAILABLE
NodeStore::addBackendFactory (MdbBackendFactory::getInstance ());
#endif
// VFALCO: Disabling KeyvaDB because it is unfinished experimental
// code and there's no sense anyone running it until it meets
// the requirements of a full backend. Now if a programmer wants
// to un-comment it and work on bringing it up to spec on their
// own machine, I certainly won't complain. Let me know, I have
// some new code in a branch.
//
//NodeStore::addBackendFactory (KeyvaDBBackendFactory::getInstance ());
//--------------------------------------------------------------------------
if (! RandomNumbers::getInstance ().initialize ())
{
Log::out() << "Unable to add system entropy";

View File

@@ -266,7 +266,6 @@
# LevelDB Use Google's LevelDB database (deprecated)
# MDB Use MDB
# none Use no backend
# KeyvaDB Use OpenCoin's KeyvaDB (experimental)
# SQLite Use SQLite
#
# Required keys: