mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-21 03:26:01 +00:00
Update documentation.
This commit is contained in:
16
LEVELDB.txt
16
LEVELDB.txt
@@ -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.
|
||||||
|
|||||||
Reference in New Issue
Block a user