move rpcport down

This commit is contained in:
zontreck 2025-02-10 02:53:18 -07:00
parent aaa7e42231
commit 4a7ad72f1d

View file

@ -23,13 +23,13 @@ fi
if [ $ENABLE_RPC == 1 ]
then
echo "server=1" >> /btc.conf
echo "rpcport=8332" >> /btc.conf
if [ $REGTEST == 1 ]
then
echo "[regtest]" >> /btc.conf
fi
echo "rpcbind=0.0.0.0:8332" >> /btc.conf
echo "rpcallowip=0.0.0.0" >> /btc.conf
echo "rpcport=8332" >> /btc.conf
if [ $ENABLE_AUTH == 1 ]
then
echo "rpcuser=$USER" >> /btc.conf