@ -66,6 +66,9 @@ while [[ -n $1 ]]; do
|
|||||||
elif [[ $1 = --expected-genesis-hash ]]; then
|
elif [[ $1 = --expected-genesis-hash ]]; then
|
||||||
args+=("$1" "$2")
|
args+=("$1" "$2")
|
||||||
shift 2
|
shift 2
|
||||||
|
elif [[ $1 = --expected-shred-version ]]; then
|
||||||
|
args+=("$1" "$2")
|
||||||
|
shift 2
|
||||||
elif [[ $1 = --identity-keypair ]]; then
|
elif [[ $1 = --identity-keypair ]]; then
|
||||||
identity_keypair_path=$2
|
identity_keypair_path=$2
|
||||||
args+=("$1" "$2")
|
args+=("$1" "$2")
|
||||||
|
@ -228,6 +228,8 @@ EOF
|
|||||||
export BOOTSTRAP_VALIDATOR_IDENTITY_KEYPAIR=net/keypairs/bootstrap-validator-identity.json
|
export BOOTSTRAP_VALIDATOR_IDENTITY_KEYPAIR=net/keypairs/bootstrap-validator-identity.json
|
||||||
fi
|
fi
|
||||||
multinode-demo/setup.sh "${args[@]}"
|
multinode-demo/setup.sh "${args[@]}"
|
||||||
|
|
||||||
|
solana-ledger-tool -l config/bootstrap-validator shred-version | tee config/shred-version
|
||||||
fi
|
fi
|
||||||
args=(
|
args=(
|
||||||
--gossip-host "$entrypointIp"
|
--gossip-host "$entrypointIp"
|
||||||
@ -273,12 +275,15 @@ EOF
|
|||||||
net/scripts/rsync-retry.sh -vPrc \
|
net/scripts/rsync-retry.sh -vPrc \
|
||||||
"$entrypointIp":~/solana/config/validator-identity-"$nodeIndex".json config/validator-identity.json
|
"$entrypointIp":~/solana/config/validator-identity-"$nodeIndex".json config/validator-identity.json
|
||||||
fi
|
fi
|
||||||
|
net/scripts/rsync-retry.sh -vPrc \
|
||||||
|
"$entrypointIp":~/solana/config/shred-version config/shred-version
|
||||||
fi
|
fi
|
||||||
|
|
||||||
args=(
|
args=(
|
||||||
--entrypoint "$entrypointIp:8001"
|
--entrypoint "$entrypointIp:8001"
|
||||||
--gossip-port 8001
|
--gossip-port 8001
|
||||||
--rpc-port 8899
|
--rpc-port 8899
|
||||||
|
--expected-shred-version "$(cat config/shred-version)"
|
||||||
)
|
)
|
||||||
if [[ $nodeType = blockstreamer ]]; then
|
if [[ $nodeType = blockstreamer ]]; then
|
||||||
args+=(
|
args+=(
|
||||||
|
Reference in New Issue
Block a user