Skip to content

Commit

Permalink
Use bitcoin's run.sh in GH CI
Browse files Browse the repository at this point in the history
  • Loading branch information
kayabaNerve committed Feb 8, 2024
1 parent 38c079c commit 0aa93e2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 9 deletions.
9 changes: 1 addition & 8 deletions .github/actions/bitcoin/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
3 changes: 2 additions & 1 deletion orchestration/dev/coins/bitcoin/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 0aa93e2

Please sign in to comment.