summarylogtreecommitdiffstats
path: root/electrumx.conf
diff options
context:
space:
mode:
authorSteven Malis2019-04-13 14:55:31 -0700
committerSteven Malis2019-04-13 14:55:31 -0700
commit4d09dcd69e9b258a1606cc0842b7d1df44407678 (patch)
tree3368e7c8e487b76cfd208bc400e69ad4e0926360 /electrumx.conf
parent5c80d928a10a556db651491e92f93e1c9e348290 (diff)
downloadaur-4d09dcd69e9b258a1606cc0842b7d1df44407678.tar.gz
Update template config file.
Diffstat (limited to 'electrumx.conf')
-rw-r--r--electrumx.conf36
1 files changed, 5 insertions, 31 deletions
diff --git a/electrumx.conf b/electrumx.conf
index 7ff5d283dca..b82fd7ca355 100644
--- a/electrumx.conf
+++ b/electrumx.conf
@@ -1,8 +1,6 @@
#suggested /etc/electrumx.conf for systemd
-#
#REQUIRED
-#
#The folder to store the electrumx database
DB_DIRECTORY = /srv/electrumx
@@ -18,9 +16,12 @@
#port is optional, defaults to COIN RPC default
DAEMON_URL = http://bitcoin:secret@127.0.0.1:8332/
-#
+ #Which cryptocurrency to process
+ #See lib/coins.py
+ COIN = BitcoinSegwit
+ NET = mainnet
+
#REQUIRED FOR PUBLIC VISIBILITY
-#
#listen on interface and ports (0.0.0.0 is any)
HOST = 127.0.0.1
@@ -31,9 +32,7 @@
SSL_CERTFILE = /etc/electrumx/server.cert
SSL_KEYFILE = /etc/electrumx/server.pem
-#
#OPTIONAL VISIBILITY
-#
#BANNER_FILE = /path/to/banner
#DONATION_ADDRESS =
@@ -42,32 +41,7 @@
#REPORT_SSL_PORT = #defaults to SSL_PORT
#RPC_PORT = 8000
-#
#MISC
-#
- #lib/coins.py
- COIN = BitcoinSegwit
- NET = mainnet
-
- #leveldb or rocksdb (You'll need to install appropriate python packages)
- DB_ENGINE = leveldb
-
- #maximum number of blocks to be able to handle in a chain
- #reorganisation. ElectrumX retains some fairly compact
- #undo information for this many blocks in levelDB.
- #REORG_LIMIT = 200
#Set to anything non-empty to remove IP addresses from logs.
ANON_LOGS = yes
-
-
-#These following environment variables are to help limit server
-#resource consumption and to prevent simple DoS. Address subscriptions
-#in ElectrumX are very cheap - they consume about 100 bytes of memory
-#each and are processed efficiently. I feel the defaults are low and
-#encourage you to raise them.
-
- #Maximum number of address subscriptions across all sessions
- MAX_SUBS = 250000
- #Maximum number of address subscriptions permitted to a single session.
- MAX_SESSION_SUBS = 50000