Add validator catchup command (#6922)

This commit is contained in:
Michael Vines
2019-11-13 15:58:14 -07:00
committed by GitHub
parent 5f38fa379c
commit f116cdeed9
7 changed files with 141 additions and 27 deletions

View File

@ -378,9 +378,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