additional cli argument, if proxy needed

Signed-off-by: Uncle Stinky <uncle.stinky@ghostchain.io>
This commit is contained in:
Uncle Stinky 2024-11-05 16:54:37 +03:00
parent d12ecf15ec
commit 6f2e4088c1
Signed by: st1nky
GPG Key ID: 016064BD97603B40

View File

@ -306,11 +306,16 @@ if [[ $ARGUMENTS = true ]]; then
CLI_ARGS+=("--no-prometheus")
fi
read -p "[?] list of bootnodes if any: " bootnodes
read -p "[?] bootnode if any: " bootnodes
if [ ! -z $bootnodes ]; then
CLI_ARGS+=("--bootnodes=$bootnodes")
fi
read -r "[?] address that other nodes will use to connect: (default: current ip)" public_addr
if [ ! -z $public_addr ]; then
CLI_ARGS+=("--public-addr=$public_addr")
fi
# default for now
CLI_ARGS+=("--base-path=$BASE_PATH")
CLI_ARGS+=("--state-pruning=archive")