genesis: Add support for multiple bootstrap validators (#8656)

automerge
This commit is contained in:
Grimes
2020-03-04 23:42:01 -08:00
committed by GitHub
parent 448b957a13
commit 44fde2d964
4 changed files with 79 additions and 119 deletions

View File

@ -66,7 +66,6 @@ done
# These keypairs are created by ./setup.sh and included in the genesis config
identity_keypair=$SOLANA_CONFIG_DIR/bootstrap-validator/identity-keypair.json
vote_keypair="$SOLANA_CONFIG_DIR"/bootstrap-validator/vote-keypair.json
storage_keypair=$SOLANA_CONFIG_DIR/bootstrap-validator/storage-keypair.json
ledger_dir="$SOLANA_CONFIG_DIR"/bootstrap-validator
[[ -d "$ledger_dir" ]] || {
@ -82,7 +81,6 @@ args+=(
--rpc-port 8899
--snapshot-interval-slots 100
--identity-keypair "$identity_keypair"
--storage-keypair "$storage_keypair"
--voting-keypair "$vote_keypair"
--rpc-faucet-address 127.0.0.1:9900
)
@ -90,7 +88,6 @@ default_arg --gossip-port 8001
default_arg --log -
pid=
kill_node() {
# Note: do not echo anything from this function to ensure $pid is actually