mirror of
https://github.com/darkrenaissance/darkfi.git
synced 2026-01-08 22:28:12 -05:00
28 lines
749 B
Bash
Executable File
28 lines
749 B
Bash
Executable File
#!/bin/sh
|
|
set -e
|
|
|
|
# Start a tmux session with 5 consensus nodes.
|
|
|
|
if [ "$1" = "-v" ]; then
|
|
verbose="-v"
|
|
else
|
|
verbose=""
|
|
fi
|
|
|
|
tmux new-session -d
|
|
tmux send-keys "LOG_TARGETS='!sled' ../../../darkfid ${verbose} -c darkfid0.toml" Enter
|
|
sleep 2
|
|
tmux split-window -h
|
|
tmux send-keys "LOG_TARGETS='!sled' ../../../darkfid ${verbose} -c darkfid1.toml" Enter
|
|
sleep 2
|
|
tmux split-window -h
|
|
tmux send-keys "LOG_TARGETS='!sled' ../../../darkfid ${verbose} -c darkfid2.toml" Enter
|
|
sleep 2
|
|
tmux split-window -h
|
|
tmux send-keys "LOG_TARGETS='!sled' ../../../darkfid ${verbose} -c darkfid3.toml" Enter
|
|
sleep 2
|
|
tmux split-window -h
|
|
tmux send-keys "LOG_TARGETS='!sled' ../../../darkfid ${verbose} -c darkfid4.toml" Enter
|
|
tmux select-layout even-horizontal
|
|
tmux attach
|