Skip to content

Instantly share code, notes, and snippets.

@jkhsjdhjs
Created December 4, 2022 00:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jkhsjdhjs/d6d14560f9e697ed595749946cd49dbc to your computer and use it in GitHub Desktop.
Save jkhsjdhjs/d6d14560f9e697ed595749946cd49dbc to your computer and use it in GitHub Desktop.
monerod config
# Configuration for monerod
# Syntax: any command line option may be specified as 'clioptionname=value'.
# Boolean options such as 'no-igd' are specified as 'no-igd=1'.
# See 'monerod --help' for all available options.
data-dir=/var/lib/monero
log-file=/var/log/monero/monero.log
log-level=1
no-zmq=1
no-igd=1
disable-dns-checkpoints=1
p2p-use-ipv6=1
rpc-use-ipv6=1
rpc-ssl=enabled
rpc-ssl-allow-any-cert=1
rpc-ssl-private-key=/var/lib/monero/rpc_ssl.key
rpc-ssl-certificate=/var/lib/monero/rpc_ssl.crt
rpc-login=user:xb7PhsNMmcGy8IL258wBiWVfPbfNBf643n4AdoZ6HvcOlqDzFQJlBPUHhfrrjsn3
rpc-bind-port=18082
rpc-restricted-bind-ip=0.0.0.0
rpc-restricted-bind-ipv6-address=::
rpc-restricted-bind-port=18081
# Slow but reliable db writes
db-sync-mode=safe
out-peers=64 # This will enable much faster sync and tx awareness; the default 8 is suboptimal nowadays
in-peers=1024 # The default is unlimited; we prefer to put a cap on this
limit-rate-up=1048576 # 1048576 kB/s == 1GB/s; a raise from default 2048 kB/s; contribute more to p2p network
limit-rate-down=1048576 # 1048576 kB/s == 1GB/s; a raise from default 8192 kB/s; allow for faster initial sync
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment