solana-with-rpc-optimizations/multinode-demo/leader.sh

6 lines
235 B
Bash
Executable File

#!/bin/bash
export RUST_LOG=solana=info
sudo sysctl -w net.core.rmem_max=26214400
rm -f leader.log
cat genesis.log | cargo run --features=cuda --bin solana-fullnode -- -s leader.json -l leader.json -b 8000 -d 2>&1 | tee leader-tee.log