mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-21 19:45:53 +00:00
Disable KeyvaDB as a NodeStore backend choice
This commit is contained in:
@@ -298,19 +298,37 @@ int RippleMain::run (int argc, char const* const* argv)
|
|||||||
po::positional_options_description p;
|
po::positional_options_description p;
|
||||||
p.add ("parameters", -1);
|
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 (LevelDBBackendFactory::getInstance ());
|
||||||
NodeStore::addBackendFactory (MemoryBackendFactory::getInstance ());
|
NodeStore::addBackendFactory (MemoryBackendFactory::getInstance ());
|
||||||
NodeStore::addBackendFactory (NullBackendFactory::getInstance ());
|
NodeStore::addBackendFactory (NullBackendFactory::getInstance ());
|
||||||
NodeStore::addBackendFactory (SqliteBackendFactory::getInstance ());
|
NodeStore::addBackendFactory (SqliteBackendFactory::getInstance ());
|
||||||
|
|
||||||
#if RIPPLE_HYPERLEVELDB_AVAILABLE
|
#if RIPPLE_HYPERLEVELDB_AVAILABLE
|
||||||
NodeStore::addBackendFactory (HyperLevelDBBackendFactory::getInstance ());
|
NodeStore::addBackendFactory (HyperLevelDBBackendFactory::getInstance ());
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if RIPPLE_MDB_AVAILABLE
|
#if RIPPLE_MDB_AVAILABLE
|
||||||
NodeStore::addBackendFactory (MdbBackendFactory::getInstance ());
|
NodeStore::addBackendFactory (MdbBackendFactory::getInstance ());
|
||||||
#endif
|
#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 ())
|
if (! RandomNumbers::getInstance ().initialize ())
|
||||||
{
|
{
|
||||||
Log::out() << "Unable to add system entropy";
|
Log::out() << "Unable to add system entropy";
|
||||||
|
|||||||
@@ -266,7 +266,6 @@
|
|||||||
# LevelDB Use Google's LevelDB database (deprecated)
|
# LevelDB Use Google's LevelDB database (deprecated)
|
||||||
# MDB Use MDB
|
# MDB Use MDB
|
||||||
# none Use no backend
|
# none Use no backend
|
||||||
# KeyvaDB Use OpenCoin's KeyvaDB (experimental)
|
|
||||||
# SQLite Use SQLite
|
# SQLite Use SQLite
|
||||||
#
|
#
|
||||||
# Required keys:
|
# Required keys:
|
||||||
|
|||||||
Reference in New Issue
Block a user