config.ini (859B)
1 # Configuration file for electrum-obelisk 2 3 [electrum-obelisk] 4 # 0.0.0.0 to bind to any IP, 127.0.0.1 to bind to localhost 5 host = 127.0.0.1 6 port = 50002 7 8 # Which chain should electrum-obelisk be using (mainnet/regtest/testnet) 9 chain = mainnet 10 11 # Endpoints served by bs. 12 bs_query = tcp://localhost:9091 13 bs_heartbeat = tcp://localhost:9092 14 bs_block = tcp://localhost:9093 15 bs_transaction = tcp://localhost:9094 16 17 # Space-separated whitelist of IP addresses 18 # Accepts CIDR notation, e.g. 192.169.0.0/16 or 2a01:4f8:1f1::/120 19 # Star (*) means all are accepted (Generally requires host to be 0.0.0.0) 20 ip_whitelist = * 21 22 # TLS certificate 23 # Uses the default one, which is fine because by default nobody should be 24 # allowed to connect to your server or scan your packets. 25 # To generate another certificate use openssl. 26 certfile = certs/cert.crt 27 keyfile = certs/cert.key