From d54ae80bd350da19b4f3d30cfff7a4e5c5b63e1c Mon Sep 17 00:00:00 2001 From: segfaultdoctor <17258903+segfaultdoc@users.noreply.github.com> Date: Fri, 8 Sep 2023 14:33:26 -0400 Subject: [PATCH] change start multi script to create 3 node cluster --- start_multi | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/start_multi b/start_multi index 66de0032dc..b7ebf4f076 100755 --- a/start_multi +++ b/start_multi @@ -7,6 +7,7 @@ SOLANA_CONFIG_DIR=./config if [[ ! -d $SOLANA_CONFIG_DIR ]]; then echo "New Config! Generating Identities" mkdir $SOLANA_CONFIG_DIR + $SOLANA_KEYGEN new --no-passphrase -so "$SOLANA_CONFIG_DIR"/a/identity.json $SOLANA_KEYGEN new --no-passphrase -so "$SOLANA_CONFIG_DIR"/a/stake-account.json $SOLANA_KEYGEN new --no-passphrase -so "$SOLANA_CONFIG_DIR"/a/vote-account.json @@ -14,6 +15,10 @@ if [[ ! -d $SOLANA_CONFIG_DIR ]]; then $SOLANA_KEYGEN new --no-passphrase -so "$SOLANA_CONFIG_DIR"/b/identity.json $SOLANA_KEYGEN new --no-passphrase -so "$SOLANA_CONFIG_DIR"/b/stake-account.json $SOLANA_KEYGEN new --no-passphrase -so "$SOLANA_CONFIG_DIR"/b/vote-account.json + + $SOLANA_KEYGEN new --no-passphrase -so "$SOLANA_CONFIG_DIR"/c/identity.json + $SOLANA_KEYGEN new --no-passphrase -so "$SOLANA_CONFIG_DIR"/c/stake-account.json + $SOLANA_KEYGEN new --no-passphrase -so "$SOLANA_CONFIG_DIR"/c/vote-account.json fi NDEBUG=1 ./multinode-demo/setup.sh \ @@ -24,7 +29,11 @@ NDEBUG=1 ./multinode-demo/setup.sh \ --bootstrap-validator \ "$SOLANA_CONFIG_DIR"/b/identity.json \ "$SOLANA_CONFIG_DIR"/b/vote-account.json \ - "$SOLANA_CONFIG_DIR"/b/stake-account.json + "$SOLANA_CONFIG_DIR"/b/stake-account.json \ + --bootstrap-validator \ + "$SOLANA_CONFIG_DIR"/c/identity.json \ + "$SOLANA_CONFIG_DIR"/c/vote-account.json \ + "$SOLANA_CONFIG_DIR"/c/stake-account.json cargo run --bin solana-ledger-tool -- -l config/bootstrap-validator/ create-snapshot 0 NDEBUG=1 ./multinode-demo/faucet.sh