From 9f678cc32a4661ae7ed3dac1d9478b8e9433a2c4 Mon Sep 17 00:00:00 2001 From: Michael Vines Date: Tue, 16 Jul 2019 20:10:15 -0700 Subject: [PATCH] Show stake pubkey --- multinode-demo/fullnode.sh | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) diff --git a/multinode-demo/fullnode.sh b/multinode-demo/fullnode.sh index 974733114..ef7b82951 100755 --- a/multinode-demo/fullnode.sh +++ b/multinode-demo/fullnode.sh @@ -112,15 +112,17 @@ setup_validator_accounts() { touch "$configured_flag" fi - $solana_wallet --keypair "$identity_keypair_path" --url "http://$entrypoint_ip:8899" \ - show-vote-account "$vote_pubkey" - $solana_wallet --keypair "$identity_keypair_path" --url "http://$entrypoint_ip:8899" \ - show-stake-account "$stake_pubkey" - $solana_wallet --keypair "$identity_keypair_path" --url "http://$entrypoint_ip:8899" \ - show-storage-account "$storage_pubkey" - echo "Identity account balance:" - $solana_wallet --keypair "$identity_keypair_path" --url "http://$entrypoint_ip:8899" balance + ( + set -x + $solana_wallet --keypair "$identity_keypair_path" --url "http://$entrypoint_ip:8899" balance + $solana_wallet --keypair "$identity_keypair_path" --url "http://$entrypoint_ip:8899" \ + show-vote-account "$vote_pubkey" + $solana_wallet --keypair "$identity_keypair_path" --url "http://$entrypoint_ip:8899" \ + show-stake-account "$stake_pubkey" + $solana_wallet --keypair "$identity_keypair_path" --url "http://$entrypoint_ip:8899" \ + show-storage-account "$storage_pubkey" + ) return 0 } @@ -468,6 +470,7 @@ EOF ======================[ $node_type configuration ]====================== identity pubkey: $identity_pubkey vote pubkey: $vote_pubkey +stake pubkey: $stake_pubkey storage pubkey: $storage_pubkey ledger: $ledger_config_dir accounts: $accounts_config_dir