multinode-demo/ grooming (#4226)

* Rename leader to entrypoint

* The fullnode identity keypair can now be provided

* Rename _id to _keypair
This commit is contained in:
Michael Vines
2019-05-08 19:59:22 -07:00
committed by GitHub
parent d486d2b8ce
commit da4c37beec
4 changed files with 90 additions and 75 deletions

View File

@ -7,8 +7,8 @@ here=$(dirname "$0")
# shellcheck source=multinode-demo/common.sh
source "$here"/common.sh
[[ -f "$SOLANA_CONFIG_DIR"/mint-id.json ]] || {
echo "$SOLANA_CONFIG_DIR/mint-id.json not found, create it by running:"
[[ -f "$SOLANA_CONFIG_DIR"/mint-keypair.json ]] || {
echo "$SOLANA_CONFIG_DIR/mint-keypair.json not found, create it by running:"
echo
echo " ${here}/setup.sh"
exit 1
@ -18,7 +18,7 @@ set -ex
trap 'kill "$pid" && wait "$pid"' INT TERM ERR
$solana_drone \
--keypair "$SOLANA_CONFIG_DIR"/mint-id.json \
--keypair "$SOLANA_CONFIG_DIR"/mint-keypair.json \
"$@" \
> >($drone_logger) 2>&1 &
pid=$!