mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-29 23:45:51 +00:00
Update the rippled-example.cfg file to reflect the new node_db syntax
Remove LEVELDB.txt
This commit is contained in:
14
LEVELDB.txt
14
LEVELDB.txt
@@ -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.
|
||||
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user