genesis: rename mint account to faucet account and make it optional (#6990)
This commit is contained in:
@ -77,7 +77,7 @@ solana-bench-exchange)
|
||||
idle)
|
||||
# Add the mint keypair to idle clients for convenience
|
||||
net/scripts/rsync-retry.sh -vPrc \
|
||||
"$entrypointIp":~/solana/config/mint-keypair.json ~/solana/
|
||||
"$entrypointIp":~/solana/config/faucet-keypair.json ~/solana/
|
||||
exit 0
|
||||
;;
|
||||
*)
|
||||
|
@ -36,5 +36,5 @@ PATH="$HOME"/.cargo/bin:"$PATH"
|
||||
|
||||
set -x
|
||||
scripts/solana-install-deploy.sh \
|
||||
--keypair config/mint-keypair.json \
|
||||
--keypair config/faucet-keypair.json \
|
||||
localhost "$releaseChannel" "$updatePlatform"
|
||||
|
@ -230,7 +230,7 @@ EOF
|
||||
args+=($genesisOptions)
|
||||
|
||||
if [[ -f net/keypairs/mint.json ]]; then
|
||||
export MINT_KEYPAIR=net/keypairs/mint.json
|
||||
export FAUCET_KEYPAIR=net/keypairs/mint.json
|
||||
fi
|
||||
if [[ -f net/keypairs/bootstrap-leader-identity.json ]]; then
|
||||
export BOOTSTRAP_LEADER_IDENTITY_KEYPAIR=net/keypairs/bootstrap-leader-identity.json
|
||||
@ -312,13 +312,13 @@ EOF
|
||||
set -x
|
||||
# Add the mint keypair to validators for convenient access from tools
|
||||
# like bench-tps and add to blocktreamers to run a drone
|
||||
scp "$entrypointIp":~/solana/config/mint-keypair.json config/
|
||||
scp "$entrypointIp":~/solana/config/faucet-keypair.json config/
|
||||
if [[ $nodeType = blockstreamer ]]; then
|
||||
# Run another drone with the mint keypair on the blockstreamer node.
|
||||
# Typically the blockstreamer node has a static IP/DNS name for hosting
|
||||
# the blockexplorer web app, and is a location that somebody would expect
|
||||
# to be able to airdrop from
|
||||
scp "$entrypointIp":~/solana/config/mint-keypair.json config/
|
||||
scp "$entrypointIp":~/solana/config/faucet-keypair.json config/
|
||||
if [[ $airdropsEnabled = true ]]; then
|
||||
cat >> ~/solana/on-reboot <<EOF
|
||||
multinode-demo/drone.sh > drone.log 2>&1 &
|
||||
|
Reference in New Issue
Block a user