Add mint keypair to validators for convenience (#6531)
This commit is contained in:
parent
b4119c454a
commit
88033bccbb
@ -282,11 +282,14 @@ EOF
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
set -x
|
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
|
if [[ $nodeType = blockstreamer ]]; then
|
||||||
# Sneak the mint-keypair.json from the bootstrap leader and run another drone
|
# Run another drone with the mint keypair on the blockstreamer node.
|
||||||
# with it on the blockstreamer node. Typically the blockstreamer node has
|
# Typically the blockstreamer node has a static IP/DNS name for hosting
|
||||||
# a static IP/DNS name for hosting the blockexplorer web app, and is
|
# the blockexplorer web app, and is a location that somebody would expect
|
||||||
# a location that somebody would expect to be able to airdrop from
|
# to be able to airdrop from
|
||||||
scp "$entrypointIp":~/solana/config/mint-keypair.json config/
|
scp "$entrypointIp":~/solana/config/mint-keypair.json config/
|
||||||
if [[ $airdropsEnabled = true ]]; then
|
if [[ $airdropsEnabled = true ]]; then
|
||||||
cat >> ~/solana/on-reboot <<EOF
|
cat >> ~/solana/on-reboot <<EOF
|
||||||
@ -405,4 +408,3 @@ EOF
|
|||||||
echo "Unknown deployment method: $deployMethod"
|
echo "Unknown deployment method: $deployMethod"
|
||||||
exit 1
|
exit 1
|
||||||
esac
|
esac
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user