diff --git a/.github/actions/bitcoin/action.yml b/.github/actions/bitcoin/action.yml index e15cc26e9..903108680 100644 --- a/.github/actions/bitcoin/action.yml +++ b/.github/actions/bitcoin/action.yml @@ -37,11 +37,4 @@ runs: - name: Bitcoin Regtest Daemon shell: bash - run: | - RPC_USER=serai - RPC_PASS=seraidex - - bitcoind -txindex -regtest \ - -rpcuser=$RPC_USER -rpcpassword=$RPC_PASS \ - -rpcbind=127.0.0.1 -rpcbind=$(hostname) -rpcallowip=0.0.0.0/0 \ - -daemon + run: PATH=$PATH:/usr/bin ./orchestration/dev/coins/bitcoin/run.sh -daemon diff --git a/orchestration/dev/coins/bitcoin/run.sh b/orchestration/dev/coins/bitcoin/run.sh index a1d89b696..36ea9532a 100755 --- a/orchestration/dev/coins/bitcoin/run.sh +++ b/orchestration/dev/coins/bitcoin/run.sh @@ -6,4 +6,5 @@ RPC_PASS="${RPC_PASS:=seraidex}" bitcoind -txindex -regtest --port=8333 \ -rpcuser=$RPC_USER -rpcpassword=$RPC_PASS \ -rpcbind=0.0.0.0 -rpcallowip=0.0.0.0/0 -rpcport=8332 \ - --datadir=/volume + --datadir=/volume \ + $1