diff --git a/LEVELDB.txt b/LEVELDB.txt deleted file mode 100644 index 9685fd2082..0000000000 --- a/LEVELDB.txt +++ /dev/null @@ -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. diff --git a/rippled-example.cfg b/rippled-example.cfg index e56f90f4fd..7fe2f357fa 100644 --- a/rippled-example.cfg +++ b/rippled-example.cfg @@ -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