Skip to content

Commit

Permalink
Only use the volume for testnet (not dev)
Browse files Browse the repository at this point in the history
  • Loading branch information
kayabaNerve committed Feb 8, 2024
1 parent 0aa93e2 commit 1636d1d
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 6 deletions.
1 change: 0 additions & 1 deletion orchestration/dev/coins/bitcoin/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,4 @@ 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 \
$1
1 change: 0 additions & 1 deletion orchestration/dev/coins/monero/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,4 @@ monerod --non-interactive --regtest --offline --fixed-difficulty=1 \
--no-zmq --rpc-bind-ip=0.0.0.0 --rpc-bind-port=18081 --confirm-external-bind \
--rpc-access-control-origins "*" --disable-rpc-ban \
--rpc-login=$RPC_USER:$RPC_PASS \
--data-dir=/volume \
$1
6 changes: 2 additions & 4 deletions orchestration/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -347,19 +347,17 @@ fn start(network: Network, services: HashSet<String>) {
let command = command.arg("--network").arg("serai");
let command = match name {
"bitcoin" => {
let command = command.arg("--volume").arg(volume);
if network == Network::Dev {
command.arg("-p").arg("8332:8332")
} else {
command
command.arg("--volume").arg(volume)
}
}
"monero" => {
let command = command.arg("--volume").arg(volume);
if network == Network::Dev {
command.arg("-p").arg("18081:18081")
} else {
command
command.arg("--volume").arg(volume)
}
}
"monero-wallet-rpc" => {
Expand Down

0 comments on commit 1636d1d

Please sign in to comment.