Rename EntryStream to Blockstream

This commit is contained in:
Tyera Eulberg
2019-02-21 16:16:09 -07:00
committed by Tyera Eulberg
parent 4a0c759795
commit d8f6865338
11 changed files with 100 additions and 102 deletions

View File

@ -29,7 +29,7 @@ else
program="$solana_fullnode"
fi
maybe_entry_stream=
maybe_blockstream=
maybe_init_complete_file=
maybe_no_leader_rotation=
@ -37,8 +37,8 @@ while [[ -n $1 ]]; do
if [[ $1 = --init-complete-file ]]; then
maybe_init_complete_file="--init-complete-file $2"
shift 2
elif [[ $1 = --entry-stream ]]; then
maybe_entry_stream="$1 $2"
elif [[ $1 = --blockstream ]]; then
maybe_blockstream="$1 $2"
shift 2
elif [[ $1 = --no-leader-rotation ]]; then
maybe_no_leader_rotation="--no-leader-rotation"
@ -61,9 +61,9 @@ tune_system
trap 'kill "$pid" && wait "$pid"' INT TERM
$solana_ledger_tool --ledger "$SOLANA_CONFIG_DIR"/bootstrap-leader-ledger verify
# shellcheck disable=SC2086 # Don't want to double quote maybe_entry_stream or maybe_init_complete_file
# shellcheck disable=SC2086 # Don't want to double quote maybe_blockstream or maybe_init_complete_file
$program \
$maybe_entry_stream \
$maybe_blockstream \
$maybe_init_complete_file \
$maybe_no_leader_rotation \
--identity "$SOLANA_CONFIG_DIR"/bootstrap-leader.json \