Verify ledger before starting up the fullnode

This commit is contained in:
Michael Vines
2019-01-18 10:26:07 -08:00
committed by Grimes
parent 922ffdfc28
commit da5cb0b012
2 changed files with 2 additions and 0 deletions

View File

@@ -49,6 +49,7 @@ fi
tune_system
trap 'kill "$pid" && wait "$pid"' INT TERM
$solana_ledger_tool --ledger "$SOLANA_CONFIG_DIR"/bootstrap-leader-ledger verify
$program \
$maybe_no_leader_rotation \
--identity "$SOLANA_CONFIG_DIR"/bootstrap-leader.json \