* 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
11 lines
296 B
Bash
Executable File
11 lines
296 B
Bash
Executable File
#!/bin/bash
|
|
|
|
# if RUST_LOG is unset, default to info
|
|
export RUST_LOG=${RUST_LOG:-solana=info}
|
|
|
|
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)"
|