diff --git a/.github/scripts/levelization/results/ordering.txt b/.github/scripts/levelization/results/ordering.txt index d4d07eee94..56ea8d2223 100644 --- a/.github/scripts/levelization/results/ordering.txt +++ b/.github/scripts/levelization/results/ordering.txt @@ -32,6 +32,8 @@ libxrpl.server > xrpl.server libxrpl.shamap > xrpl.basics libxrpl.shamap > xrpl.protocol libxrpl.shamap > xrpl.shamap +libxrpl.telemetry > xrpl.basics +libxrpl.telemetry > xrpl.telemetry libxrpl.tx > xrpl.basics libxrpl.tx > xrpl.conditions libxrpl.tx > xrpl.core @@ -206,6 +208,7 @@ xrpl.server > xrpl.shamap xrpl.shamap > xrpl.basics xrpl.shamap > xrpl.nodestore xrpl.shamap > xrpl.protocol +xrpl.telemetry > xrpl.basics xrpl.tx > xrpl.basics xrpl.tx > xrpl.core xrpl.tx > xrpl.ledger @@ -224,6 +227,7 @@ xrpld.app > xrpl.rdb xrpld.app > xrpl.resource xrpld.app > xrpl.server xrpld.app > xrpl.shamap +xrpld.app > xrpl.telemetry xrpld.app > xrpl.tx xrpld.consensus > xrpl.basics xrpld.consensus > xrpl.json @@ -255,6 +259,7 @@ xrpld.perflog > xrpl.json xrpld.rpc > xrpl.basics xrpld.rpc > xrpl.core xrpld.rpc > xrpld.core +xrpld.rpc > xrpld.telemetry xrpld.rpc > xrpl.json xrpld.rpc > xrpl.ledger xrpld.rpc > xrpl.net @@ -265,3 +270,4 @@ xrpld.rpc > xrpl.resource xrpld.rpc > xrpl.server xrpld.rpc > xrpl.tx xrpld.shamap > xrpl.shamap +xrpld.telemetry > xrpl.telemetry diff --git a/cfg/xrpld-example.cfg b/cfg/xrpld-example.cfg index 4287e48968..3e234b439a 100644 --- a/cfg/xrpld-example.cfg +++ b/cfg/xrpld-example.cfg @@ -1433,17 +1433,14 @@ # To accept connections on well known ports such as 80 (HTTP) or # 443 (HTTPS), most operating systems will require xrpld to # run with administrator privileges, or else xrpld will not start. -[network_id] -0 - -[logging] -level=debug [server] port_rpc_admin_local -port_ws_admin_local -port_ws_public port_peer +port_ws_admin_local +#port_ws_public +#ssl_key = /etc/ssl/private/server.key +#ssl_cert = /etc/ssl/certs/server.crt [port_rpc_admin_local] port = 5005 @@ -1452,8 +1449,13 @@ admin = 127.0.0.1 protocol = http [port_peer] +# Many servers still use the legacy port of 51235, so for backward-compatibility +# we maintain that port number here. However, for new servers we recommend +# changing this to the default port of 2459. port = 51235 -ip = 127.0.0.1 +ip = 0.0.0.0 +# alternatively, to accept connections on IPv4 + IPv6, use: +#ip = :: protocol = peer [port_ws_admin_local] @@ -1463,62 +1465,70 @@ admin = 127.0.0.1 protocol = ws send_queue_limit = 500 -[port_ws_public] -port = 6005 -ip = 127.0.0.1 -protocol = ws -send_queue_limit = 500 - [port_grpc] port = 50051 ip = 127.0.0.1 secure_gateway = 127.0.0.1 -[validator_token] -eyJtYW5pZmVzdCI6IkpBQUFBQUZ4SWUxdFQrbVpjK2g0akY3bFpXaWdHRVZMOThmRlJ1VnJz -K1hTa0ZOQ2dSV0daSE1oQW91ZnZrMUFtSjU3ZUQ5dUdIRmZjS3Qrd1FFUXRyUDJzcnBOTDR4 -MnJ3RjBka1l3UkFJZ1JOLzlndUZnUXh0UWRwYjNiSlFvQWk1VHY2WFRhRm5vd1ZKb2lvalJh -eklDSUJ3S1FQRXE4UjB4anFWUnIxOTZXeFlxcm8wZWoyY2JSM0lqdGtnT2ZCMmFjQkpBdGpU -Rkpzb2VRZU05ZlZjcnNBOGMxVVRzVWQxK0RJbXphck5JVFhIdHF2WkRhZWh6UHBqSTF1NjBG -MEpiVnAvWGtiSXovNVFyNWFnek9xTkFOa1RXQWc9PSIsInZhbGlkYXRpb25fc2VjcmV0X2tl -eSI6IjNBNURCMzczMTMxQ0E5QThGMjJDQzkxRTBGOUY2NEM2MjBGQzBCRUE2MUM1OEZFRkRC -NThDRjIyMzc5ODg3RkIifQ== +#[port_ws_public] +#port = 6005 +#ip = 127.0.0.1 +#protocol = wss +#send_queue_limit = 500 -[validation_quorum] -quorum = 3 - -[node_size] -medium - -# [node_db] -# type=RocksDB -# path=/var/lib/rippled/db +#------------------------------------------------------------------------------- +# This is primary persistent datastore for xrpld. This includes transaction +# metadata, account states, and ledger headers. Helpful information can be +# found at https://xrpl.org/capacity-planning.html#node-db-type +# type=NuDB is recommended for non-validators with fast SSDs. Validators or +# slow / spinning disks should use RocksDB. Caution: Spinning disks are +# not recommended. They do not perform well enough to consistently remain +# synced to the network. +# online_delete=512 is recommended to delete old ledgers while maintaining at +# least 512. +# advisory_delete=0 allows the online delete process to run automatically +# when the node has approximately two times the "online_delete" value of +# ledgers. No external administrative command is required to initiate +# deletion. [node_db] type=NuDB -path=~/data/livenet/db/nudb +path=/var/lib/xrpld/db/nudb +nudb_block_size=4096 online_delete=512 advisory_delete=0 [database_path] -~/data/livenet/db +/var/lib/xrpld/db + +# This needs to be an absolute directory reference, not a relative one. +# Modify this value as required. [debug_logfile] -~/data/livenet/debug.log +/var/log/xrpld/debug.log +# To use the XRP test network +# (see https://xrpl.org/connect-your-rippled-to-the-xrp-test-net.html), +# use the following [ips] section: +# [ips] +# r.altnet.rippletest.net 51235 + +# File containing trusted validator keys or validator list publishers. +# Unless an absolute path is specified, it will be considered relative to the +# folder in which the xrpld.cfg file is located. [validators_file] validators.txt +# 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": "info" } +{ "command": "log_level", "severity": "warning" } +# If ssl_verify is 1, certificates will be validated. +# To allow the use of self-signed certificates for development or internal use, +# set to ssl_verify to 0. [ssl_verify] -0 - -[shard_db] -path=~/data/livenet/db/nudb -max_historical_shards=12 - +1 #------------------------------------------------------------------------------- # # 11. Telemetry (OpenTelemetry Tracing)