Add mint keypair to validators for convenience (#6531)

This commit is contained in:
Justin Starry 2019-10-24 12:50:32 -04:00 committed by GitHub
parent b4119c454a
commit 88033bccbb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 7 additions and 5 deletions

View File

@ -282,11 +282,14 @@ EOF
fi
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/
if [[ $nodeType = blockstreamer ]]; then
# Sneak the mint-keypair.json from the bootstrap leader and run another drone
# with it 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
# 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/
if [[ $airdropsEnabled = true ]]; then
cat >> ~/solana/on-reboot <<EOF
@ -405,4 +408,3 @@ EOF
echo "Unknown deployment method: $deployMethod"
exit 1
esac