Plug backends into NodeStore

This commit is contained in:
Vinnie Falco
2013-07-10 11:48:31 -07:00
parent c346d4d613
commit 72769c5c40
20 changed files with 270 additions and 143 deletions

View File

@@ -181,9 +181,10 @@ int rippleMain (int argc, char** argv)
po::positional_options_description p;
p.add ("parameters", -1);
//
// Prepare to run
//
// These must be added before the Application object is created
NodeStore::addBackendFactory (SqliteBackendFactory::getInstance ());
NodeStore::addBackendFactory (LevelDBBackendFactory::getInstance ());
if (! RandomNumbers::getInstance ().initialize ())
{