Specify rpc port

This commit is contained in:
Michael Vines 2018-11-15 12:04:18 -08:00 committed by Grimes
parent c81a3f6ced
commit 4a3230904e
2 changed files with 2 additions and 1 deletions

View File

@ -12,7 +12,7 @@ solana-genesis --num_tokens 1000000000 --mint /config/drone-keypair.json --boots
solana-drone --keypair /config/drone-keypair.json --network 127.0.0.1:8001 &
drone=$!
solana-fullnode --identity /config/leader-config.json --ledger /ledger/ &
solana-fullnode --identity /config/leader-config.json --ledger /ledger/ --rpc 8899 &
fullnode=$!
abort() {

View File

@ -35,6 +35,7 @@ trap 'kill "$pid" && wait "$pid"' INT TERM
$program \
--identity "$SOLANA_CONFIG_DIR"/leader.json \
--ledger "$SOLANA_CONFIG_DIR"/ledger \
--rpc 8899 \
> >($leader_logger) 2>&1 &
pid=$!
oom_score_adj "$pid" 1000