diff options
Diffstat (limited to 'electrumx.conf')
-rw-r--r-- | electrumx.conf | 24 |
1 files changed, 13 insertions, 11 deletions
diff --git a/electrumx.conf b/electrumx.conf index b82fd7ca355c..85593acb7748 100644 --- a/electrumx.conf +++ b/electrumx.conf @@ -23,23 +23,25 @@ #REQUIRED FOR PUBLIC VISIBILITY - #listen on interface and ports (0.0.0.0 is any) - HOST = 127.0.0.1 - TCP_PORT = 50001 - SSL_PORT = 50002 + #Services to expose + #By default only expose unencrypted services + SERVICES = tcp://:50001,ws://:50003,rpc:// - #path to ssl cert and key for enabling ssl support - SSL_CERTFILE = /etc/electrumx/server.cert - SSL_KEYFILE = /etc/electrumx/server.pem + #For ssl support generate your own certificates and enable encrypted services + #SERVICES = tcp://:50001,ssl://:50002,ws://:50003,wss://:50004,rpc:// + + #Path to ssl cert and key for enabling ssl support + #See https://electrumx.readthedocs.io/en/latest/HOWTO.html#creating-a-self-signed-ssl-certificate + #SSL_CERTFILE = /etc/electrumx/server.cert + #SSL_KEYFILE = /etc/electrumx/server.pem + + #Services to announce to peers + #REPORT_SERVICES = #OPTIONAL VISIBILITY #BANNER_FILE = /path/to/banner #DONATION_ADDRESS = - #REPORT_HOST = $HOST - #REPORT_TCP_PORT = #defaults to TCP_PORT - #REPORT_SSL_PORT = #defaults to SSL_PORT - #RPC_PORT = 8000 #MISC |