Update the rippled-example.cfg file to reflect the new node_db syntax

Remove LEVELDB.txt
This commit is contained in:
JoelKatz
2013-07-11 09:38:17 -07:00
parent ac4843bc00
commit 16ab742baf
2 changed files with 8 additions and 18 deletions

View File

@@ -1,14 +0,0 @@
To use LevelDB, follow these steps:
1) Add the following to your rippled.cfg file:
[node_db]
LevelDB
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.

View File

@@ -223,10 +223,8 @@
# shfArahZT9Q9ckTf3s1psJ7C7qzVN
#
# [node_db]
# Sets the database used for hashed nodes. Options are "LevelDB" and
# "SQLite". LevelDB is recommended for optimum performance and SQLite
# support will soon be removed. Databases can be migrated by enabling
# "LevelDB" and starting rippled with the "--import" flag
# Sets the database back end used for hashed nodes and the parameters
# for that back end, separated by pipe characters
#
# [node_size]
# Tunes the servers based on the expected load and available memory. Legal
@@ -298,6 +296,12 @@
[rpc_allow_remote]
0
[node_size]
medium
[node_db]
LevelDB|path=db/hashnode
[debug_logfile]
log/debug.log