Skip to content

Commit

Permalink
harness: variables for omega (gonode) ports
Browse files Browse the repository at this point in the history
  • Loading branch information
chappjc committed Apr 14, 2023
1 parent 5cc5eb9 commit 6211c13
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 2 additions & 0 deletions dex/testing/bch/harness.sh
Expand Up @@ -25,5 +25,7 @@ export DELTA_ADDRESS="bchreg:qzhru360ks09fgzuh0ycpvslslvpj72ulqlw5j6ksy"
export NEW_WALLET_CMD="./\$1 createwallet \$2"
export GODAEMON="go run github.com/gcash/bchd@v0.19.0"
export GOCLIENT="go run github.com/gcash/bchd/cmd/bchctl@v0.19.0"
export OMEGA_LISTEN_PORT=21577
export OMEGA_RPC_PORT=21558
# Run the harness
../btc/base-harness.sh
3 changes: 1 addition & 2 deletions dex/testing/btc/base-harness.sh
Expand Up @@ -403,12 +403,11 @@ if [ ! -z "$GODAEMON" ]; then

NODE_CONF="${OMEGA_DIR}/gonode.conf"
CLIENT_CONF="${OMEGA_DIR}/goctl.conf"
OMEGA_RPC_PORT=21558


cat > "${NODE_CONF}" <<EOF
addpeer=127.0.0.1:${ALPHA_LISTEN_PORT}
listen=:21577
listen=:${OMEGA_LISTEN_PORT}
rpcuser=user
rpcpass=pass
rpclisten=0.0.0.0:${OMEGA_RPC_PORT}
Expand Down

0 comments on commit 6211c13

Please sign in to comment.