Updated setup and leader scripts

* Setup will us -b to set validator ports
* Leader script fixed to append .log to the log file
* Updated readme file
This commit is contained in:
Pankaj Garg
2018-06-20 14:30:32 -07:00
committed by Greg Fitzgerald
parent effcef2184
commit d3005d3ef3
3 changed files with 11 additions and 24 deletions

View File

@ -7,4 +7,4 @@ set -x
[[ $(uname) = Linux ]] && sudo sysctl -w net.core.rmem_max=26214400
cargo run --release --bin solana-fullnode -- \
-l leader.json < genesis.log tx-*.log > tx-"$(date -u +%Y%m%d%k%M%S%N)"
-l leader.json < genesis.log tx-*.log > tx-"$(date -u +%Y%m%d%k%M%S%N)".log

View File

@ -6,4 +6,4 @@ cargo run --release --bin solana-mint-demo <<<"${TOKENS}" > mint-demo.json
cargo run --release --bin solana-genesis-demo < mint-demo.json > genesis.log
cargo run --release --bin solana-fullnode-config -- -d > leader.json
cargo run --release --bin solana-fullnode-config -- -d > validator.json
cargo run --release --bin solana-fullnode-config -- -b 9000 -d > validator.json