init commit

This commit is contained in:
b0xxer
2024-02-09 05:23:29 -06:00
parent 789805f7a3
commit a7154389fc
33 changed files with 572 additions and 0 deletions
+16
View File
@@ -0,0 +1,16 @@
#!/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 "$@"