tmux_sessions.sh 775 B

123456789101112131415161718192021222324
  1. #!/bin/sh
  2. set -e
  3. # Start a tmux session with a lilith node, two consensus nodes, a non-consensus node, and
  4. # a faucet that's able to mint tokens.
  5. tmux new-session -d
  6. tmux send-keys "LOG_TARGETS='!MessageSubsystem::notify' ../../lilith -v -c lilith_config.toml" Enter
  7. sleep 2
  8. tmux split-window -v
  9. tmux send-keys "LOG_TARGETS='!sled' ../../darkfid -v -c darkfid0.toml" Enter
  10. sleep 2
  11. tmux select-pane -t 0
  12. tmux split-window -h
  13. tmux send-keys "LOG_TARGETS='!sled' ../../darkfid -v -c darkfid1.toml" Enter
  14. sleep 2
  15. tmux select-pane -t 1
  16. tmux split-window -h
  17. tmux send-keys "LOG_TARGETS='!sled' ../../darkfid -v -c darkfid2.toml" Enter
  18. sleep 2
  19. tmux select-pane -t 3
  20. tmux split-window -h
  21. tmux send-keys "LOG_TARGETS='!sled,!net' ../../faucetd -v -c faucetd.toml" Enter
  22. tmux attach