Make BTC RPC Explorer use port 50001 to improve consistency

This commit is contained in:
Taylor Helsper 2020-02-18 21:02:07 -06:00
parent 6edac56634
commit 734dd8e941
2 changed files with 4 additions and 5 deletions

View File

@ -205,10 +205,9 @@ fi
chown bitcoin:bitcoin /opt/mynode/RTL/RTL-Config.json
# BTC RPC Explorer Config
if [ ! -f /opt/mynode/btc-rpc-explorer/.env ]; then
cp /usr/share/mynode/btc_rpc_explorer_env /opt/mynode/btc-rpc-explorer/.env
chown bitcoin:bitcoin /opt/mynode/btc-rpc-explorer/.env
fi
cp /usr/share/mynode/btc_rpc_explorer_env /opt/mynode/btc-rpc-explorer/.env
chown bitcoin:bitcoin /opt/mynode/btc-rpc-explorer/.env
# Update files that need RPC password (needed if upgrades overwrite files)
PW=$(cat /mnt/hdd/mynode/settings/.btcrpcpw)

View File

@ -24,7 +24,7 @@ BTCEXP_ADDRESS_API=electrumx
# Optional ElectrumX Servers. See BTCEXP_ADDRESS_API. This value is only
# used if BTCEXP_ADDRESS_API=electrumx
#BTCEXP_ELECTRUMX_SERVERS=tls://electrumx.server.com:50002,tcp://127.0.0.1:50001,...
BTCEXP_ELECTRUMX_SERVERS=tls://127.0.0.1:50002
BTCEXP_ELECTRUMX_SERVERS=tcp://127.0.0.1:50001
# Optional InfluxDB Credentials (URI -OR- HOST/PORT/DBNAME/USER/PASS)
#BTCEXP_ENABLE_INFLUXDB=true