mirror of
https://github.com/Xahau/xahaud.git
synced 2025-12-06 17:27:52 +00:00
Configuration file improvements:
* Set default node_db to RocksDB from HyperlevelDB, to match gateway appliances and Ripple Labs server configurations. * Set some rpc_startup options to reduce logging and save disk space. * More sensible documentation regarding WebSocket SSL directives Signed-off-by: The Doctor <drwho@virtadpt.net>
This commit is contained in:
@@ -793,10 +793,17 @@
|
|||||||
[node_size]
|
[node_size]
|
||||||
medium
|
medium
|
||||||
|
|
||||||
# Note that HyperLevelDB is unavailable on Windows platforms
|
# This is primary persistent datastore for rippled. This includes transaction
|
||||||
|
# metadata, account states, and ledger headers. Helpful information can be
|
||||||
|
# found here: https://ripple.com/wiki/NodeBackEnd
|
||||||
[node_db]
|
[node_db]
|
||||||
type=HyperLevelDB
|
type=RocksDB
|
||||||
path=/var/lib/ripple/db/hyperldb
|
path=/var/lib/rippled/db/rocksdb
|
||||||
|
open_files=2000
|
||||||
|
filter_bits=12
|
||||||
|
cache_mb=256
|
||||||
|
file_size_mb=8
|
||||||
|
file_size_mult=2
|
||||||
|
|
||||||
[database_path]
|
[database_path]
|
||||||
/var/lib/ripple/db
|
/var/lib/ripple/db
|
||||||
@@ -830,7 +837,15 @@ n9KF6RpvktjNs2MDBkmxpJbup4BKrKeMKDXPhaXkq7cKTwLmWkFr RIP5
|
|||||||
[validation_quorum]
|
[validation_quorum]
|
||||||
3
|
3
|
||||||
|
|
||||||
# Configure SSL for WebSockets. Not enabled by default yet.
|
# Turn down default logging to save disk space in the long run.
|
||||||
|
# Valid values here are trace, debug, info, warning, error, and fatal
|
||||||
|
[rpc_startup]
|
||||||
|
{ "command": "log_level", "severity": "warning" }
|
||||||
|
|
||||||
|
# Configure SSL for WebSockets. Not enabled by default because not everybody
|
||||||
|
# has an SSL cert on their server, but if you uncomment the following lines and
|
||||||
|
# set the path to the SSL certificate and private key the WebSockets protocol
|
||||||
|
# will be protected by SSL/TLS.
|
||||||
#[websocket_secure]
|
#[websocket_secure]
|
||||||
#1
|
#1
|
||||||
|
|
||||||
@@ -840,6 +855,9 @@ n9KF6RpvktjNs2MDBkmxpJbup4BKrKeMKDXPhaXkq7cKTwLmWkFr RIP5
|
|||||||
#[websocket_ssl_key]
|
#[websocket_ssl_key]
|
||||||
#/etc/ssl/private/server.key
|
#/etc/ssl/private/server.key
|
||||||
|
|
||||||
|
# Defaults to 0 ("no") so that you can use self-signed SSL certificates for
|
||||||
|
# development, or internally.
|
||||||
#[ssl_verify]
|
#[ssl_verify]
|
||||||
#0
|
#0
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user