From aaa7e4223181eba40eb79f527ab3e882529f03c8 Mon Sep 17 00:00:00 2001 From: zontreck Date: Mon, 10 Feb 2025 02:50:28 -0700 Subject: [PATCH] insert section configs --- bitcoin/core/entrypoint.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/bitcoin/core/entrypoint.sh b/bitcoin/core/entrypoint.sh index 0eacdc7..ee2a188 100644 --- a/bitcoin/core/entrypoint.sh +++ b/bitcoin/core/entrypoint.sh @@ -24,6 +24,10 @@ 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 if [ $ENABLE_AUTH == 1 ]