Add replicator support to net/ (#4494)

This commit is contained in:
Michael Vines
2019-05-31 15:27:31 -07:00
committed by GitHub
parent 1c1d83bd56
commit ce04d2bfc2
5 changed files with 61 additions and 11 deletions

View File

@ -148,6 +148,16 @@ local|tar)
nohup ./multinode-demo/validator.sh "${args[@]}" > fullnode.log 2>&1 &
sleep 1
;;
replicator)
args=(
"$entrypointIp":~/solana "$entrypointIp:8001"
)
if [[ $skipSetup != true ]]; then
./multinode-demo/clear-config.sh
fi
nohup ./multinode-demo/replicator.sh "${args[@]}" > fullnode.log 2>&1 &
sleep 1
;;
*)
echo "Error: unknown node type: $nodeType"
exit 1