update demo scripts

* add setup to combine init steps, configurable initial mint
  * bash -e -> bash and be explicit about errors with || exit $?
  * feed transaction logs to validator, too
This commit is contained in:
Rob Walker
2018-06-18 15:23:56 -07:00
parent e592243a09
commit 4ecd2c9d0b
4 changed files with 16 additions and 5 deletions

View File

@ -9,7 +9,7 @@ LEADER=$1
set -x
rsync -v -e ssh "$LEADER"/{mint-demo.json,leader.json,genesis.log} . || exit $?
rsync -v "$LEADER"/{mint-demo.json,leader.json,genesis.log,tx-*.log} . || exit $?
[[ $(uname) = Linux ]] && sudo sysctl -w net.core.rmem_max=26214400
@ -17,4 +17,4 @@ rsync -v -e ssh "$LEADER"/{mint-demo.json,leader.json,genesis.log} . || exit $?
export RUST_LOG=${RUST_LOG:-solana=info}
cargo run --release --bin solana-fullnode -- \
-l validator.json -v leader.json < genesis.log
-l validator.json -v leader.json < genesis.log tx-*.log