Update documentation.

This commit is contained in:
JoelKatz
2013-05-07 16:41:58 -07:00
parent e086fa5a5d
commit acd828438b

View File

@@ -1,16 +1,14 @@
To use LevelDB, follow these steps: To use LevelDB, follow these steps:
1) In the SConstruct file, change 1) Add the following to your rippled.cfg file:
LevelDB = bool(0) [node_db]
to LevelDB
LevelDB = bool(1)
2) Compile with 'scons'. 2) If you have no databases, you can just start rippled. If you have
databases you don't care about, just remove them. Otherwise, start rippled
3) If you have no databases you care about, remove them. Otherwise, start with '--import' to import your existing hashnode database into LevelDB.
rippled with '--import' to import your existing hashnode database into After you import the hashnode database, either delete (or move) the
LevelDB. After you import the hashnode database, either delete (or move) the
'hashnode.db', 'hashnode.db-shm' and 'hashnode.db-wal' files from your 'hashnode.db', 'hashnode.db-shm' and 'hashnode.db-wal' files from your
database directory. Do not touch the LevelDB files in the 'hashnode' database directory. Do not touch the LevelDB files in the 'hashnode'
directory. directory.