Add validator catchup command (#6935)

This commit is contained in:
Michael Vines
2019-11-13 15:58:22 -07:00
committed by GitHub
parent b340f3a67f
commit 1f1c287c6c
9 changed files with 175 additions and 44 deletions

View File

@@ -376,9 +376,12 @@ EOF
waitForNodeToInit
if [[ $skipSetup != true && $nodeType != blockstreamer ]]; then
# Wait for the validator to catch up to the bootstrap leader before
# delegating stake to it
solana --url http://"$entrypointIp":8899 catchup config/validator-identity.json
args=(
--url http://"$entrypointIp":8899
--force
"$stake"
)
if [[ $airdropsEnabled != true ]]; then