Added rpcuser and rpcpassword options to bitcoin-node startup

This commit is contained in:
b0xxer
2024-02-13 10:20:15 -06:00
parent f0e6bce522
commit d83de2ce60
5 changed files with 16 additions and 6 deletions
-16
View File
@@ -1,16 +0,0 @@
#!/bin/sh
set -ex
# Generate bitcoin.conf
btc_init
# Default / no argument invocation listens for RPC commands and has to accept non-localhost because of
# Docker port proxying or Docker private networking.
if [ $# -eq 0 ]; then
# If IPv6 is in the container do both:
#set -- '-rpcbind=[::]:8332' '-rpcallowip=::/0' '-rpcallowip=0.0.0.0/0'
set -- '-rpcbind=:8332' '-rpcallowip=0.0.0.0/0'
fi
exec bitcoind "$@"