The fullnode identity keypair can now be provided via --identity (#4228)

automerge
This commit is contained in:
Michael Vines
2019-05-09 07:51:45 -07:00
committed by Grimes
parent 5dc14658e6
commit bd1e989b11
3 changed files with 40 additions and 23 deletions

View File

@ -16,6 +16,7 @@ extra_fullnode_args=()
stake=43 # number of lamports to assign as stake (plus transaction fee to setup the stake)
poll_for_new_genesis_block=0
label=
fullnode_id_path=
while [[ ${1:0:1} = - ]]; do
if [[ $1 = --label ]]; then
@ -28,6 +29,10 @@ while [[ ${1:0:1} = - ]]; do
stake=0
extra_fullnode_args+=("$1" "$2")
shift 2
elif [[ $1 = --identity ]]; then
fullnode_id_path=$2
args+=("$1" "$2")
shift 2
elif [[ $1 = --enable-rpc-exit ]]; then
extra_fullnode_args+=("$1")
shift