mirror of
https://github.com/bisq-network/bisq.git
synced 2024-11-19 01:41:11 +01:00
Define RPC blocknotify values in install script
This commit is contained in:
parent
e5af643ef1
commit
becf3c7246
@ -23,8 +23,8 @@ BITCOIN_P2P_PORT=__BITCOIN_P2P_PORT__
|
||||
# bitcoind rpc ports
|
||||
BITCOIN_RPC_HOST=__BITCOIN_RPC_HOST__
|
||||
BITCOIN_RPC_PORT=__BITCOIN_RPC_PORT__
|
||||
BITCOIN_RPC_BLOCKNOTIFY_HOST=127.0.0.1
|
||||
BITCOIN_RPC_BLOCKNOTIFY_PORT=5120
|
||||
BITCOIN_RPC_BLOCKNOTIFY_HOST=__BITCOIN_RPC_BLOCKNOTIFY_HOST__
|
||||
BITCOIN_RPC_BLOCKNOTIFY_PORT=__BITCOIN_RPC_BLOCKNOTIFY_PORT__
|
||||
|
||||
# bisq pathnames
|
||||
BISQ_HOME=__BISQ_HOME__
|
||||
|
@ -34,6 +34,8 @@ BITCOIN_P2P_HOST=127.0.0.1
|
||||
BITCOIN_P2P_PORT=8333
|
||||
BITCOIN_RPC_HOST=127.0.0.1
|
||||
BITCOIN_RPC_PORT=8332
|
||||
BITCOIN_RPC_BLOCKNOTIFY_HOST=127.0.0.1
|
||||
BITCOIN_RPC_BLOCKNOTIFY_PORT=5120
|
||||
|
||||
# set below settings to use existing bitcoin node
|
||||
#BITCOIN_INSTALL=false
|
||||
@ -43,6 +45,8 @@ BITCOIN_RPC_PORT=8332
|
||||
#BITCOIN_RPC_PORT=8332
|
||||
#BITCOIN_RPC_USER=foo
|
||||
#BITCOIN_RPC_PASS=bar
|
||||
#BITCOIN_RPC_BLOCKNOTIFY_HOST=0.0.0.0
|
||||
#BITCOIN_RPC_BLOCKNOTIFY_PORT=5120
|
||||
|
||||
TOR_PKG="tor"
|
||||
TOR_USER=debian-tor
|
||||
@ -137,6 +141,8 @@ sudo sed -i -e "s/__BITCOIN_RPC_HOST__/${BITCOIN_RPC_HOST}/" "${SYSTEMD_ENV_HOME
|
||||
sudo sed -i -e "s/__BITCOIN_RPC_PORT__/${BITCOIN_RPC_PORT}/" "${SYSTEMD_ENV_HOME}/bisq.env"
|
||||
sudo sed -i -e "s/__BITCOIN_RPC_USER__/${BITCOIN_RPC_USER}/" "${SYSTEMD_ENV_HOME}/bisq.env"
|
||||
sudo sed -i -e "s/__BITCOIN_RPC_PASS__/${BITCOIN_RPC_PASS}/" "${SYSTEMD_ENV_HOME}/bisq.env"
|
||||
sudo sed -i -e "s/__BITCOIN_RPC_BLOCKNOTIFY_HOST__/${BITCOIN_RPC_BLOCKNOTIFY_HOST}/" "${SYSTEMD_ENV_HOME}/bisq.env"
|
||||
sudo sed -i -e "s/__BITCOIN_RPC_BLOCKNOTIFY_PORT__/${BITCOIN_RPC_BLOCKNOTIFY_PORT}/" "${SYSTEMD_ENV_HOME}/bisq.env"
|
||||
sudo sed -i -e "s!__BISQ_APP_NAME__!${BISQ_APP_NAME}!" "${SYSTEMD_ENV_HOME}/bisq.env"
|
||||
sudo sed -i -e "s!__BISQ_HOME__!${BISQ_HOME}!" "${SYSTEMD_ENV_HOME}/bisq.env"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user