Add stop node command to solana-gossip (#3928)

This commit is contained in:
Michael Vines
2019-04-22 14:51:20 -07:00
committed by GitHub
parent 95a16426f3
commit 05bcb7f292
7 changed files with 129 additions and 76 deletions

View File

@ -306,8 +306,7 @@ while [[ $iteration -le $iterations ]]; do
set -x
client_id=/tmp/client-id.json-$$
$solana_keygen -o $client_id || exit $?
$solana_gossip \
--num-nodes-exactly $numNodes || exit $?
$solana_gossip spy --num-nodes-exactly $numNodes || exit $?
rm -rf $client_id
) || flag_error