solana/multinode-demo/leader.sh

9 lines
244 B
Bash
Raw Normal View History

#!/bin/bash
# if RUST_LOG is unset, default to info
export RUST_LOG=${RUST_LOG:-solana=info}
2018-06-15 14:32:09 -07:00
set -x
[[ $(uname) = Linux ]] && sudo sysctl -w net.core.rmem_max=26214400
2018-06-01 13:01:19 -07:00
cargo run --release --bin solana-fullnode -- -l leader.json < genesis.log