From acd828438bc1a7cb62476ed88a26225a65285e2c Mon Sep 17 00:00:00 2001 From: JoelKatz Date: Tue, 7 May 2013 16:41:58 -0700 Subject: [PATCH] Update documentation. --- LEVELDB.txt | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) diff --git a/LEVELDB.txt b/LEVELDB.txt index 4ee16ed687..9685fd2082 100644 --- a/LEVELDB.txt +++ b/LEVELDB.txt @@ -1,16 +1,14 @@ To use LevelDB, follow these steps: -1) In the SConstruct file, change - LevelDB = bool(0) -to - LevelDB = bool(1) +1) Add the following to your rippled.cfg file: +[node_db] +LevelDB -2) Compile with 'scons'. - -3) If you have no databases you care about, remove them. Otherwise, start -rippled with '--import' to import your existing hashnode database into -LevelDB. After you import the hashnode database, either delete (or move) the +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 +with '--import' to import your existing hashnode database into LevelDB. +After you import the hashnode database, either delete (or move) the 'hashnode.db', 'hashnode.db-shm' and 'hashnode.db-wal' files from your database directory. Do not touch the LevelDB files in the 'hashnode' directory.