aboutsummaryrefslogtreecommitdiff
path: root/p2p/examples/net_simulation.sh
diff options
context:
space:
mode:
Diffstat (limited to 'p2p/examples/net_simulation.sh')
-rwxr-xr-xp2p/examples/net_simulation.sh64
1 files changed, 32 insertions, 32 deletions
diff --git a/p2p/examples/net_simulation.sh b/p2p/examples/net_simulation.sh
index dd489e5..7cb8410 100755
--- a/p2p/examples/net_simulation.sh
+++ b/p2p/examples/net_simulation.sh
@@ -3,71 +3,71 @@
# build
cargo build --release --example peer
-tmux new-session -d -s karyons_p2p
+tmux new-session -d -s karyon_p2p
-tmux send-keys -t karyons_p2p "../../target/release/examples/peer\
+tmux send-keys -t karyon_p2p "../../target/release/examples/peer\
-l 'tcp://127.0.0.1:30000' -d '30010'" Enter
-tmux split-window -h -t karyons_p2p
-tmux send-keys -t karyons_p2p "../../target/release/examples/peer\
+tmux split-window -h -t karyon_p2p
+tmux send-keys -t karyon_p2p "../../target/release/examples/peer\
-l 'tcp://127.0.0.1:30001' -d '30011' -b 'tcp://127.0.0.1:30010 ' " Enter
-tmux split-window -h -t karyons_p2p
-tmux send-keys -t karyons_p2p "../../target/release/examples/peer\
+tmux split-window -h -t karyon_p2p
+tmux send-keys -t karyon_p2p "../../target/release/examples/peer\
-l 'tcp://127.0.0.1:30002' -d '30012' -b 'tcp://127.0.0.1:30010'" Enter
-tmux split-window -h -t karyons_p2p
-tmux send-keys -t karyons_p2p "../../target/release/examples/peer\
+tmux split-window -h -t karyon_p2p
+tmux send-keys -t karyon_p2p "../../target/release/examples/peer\
-l 'tcp://127.0.0.1:30003' -d '30013' -b 'tcp://127.0.0.1:30010'" Enter
-tmux split-window -h -t karyons_p2p
-tmux send-keys -t karyons_p2p "../../target/release/examples/peer\
+tmux split-window -h -t karyon_p2p
+tmux send-keys -t karyon_p2p "../../target/release/examples/peer\
-l 'tcp://127.0.0.1:30004' -d '30014' -b 'tcp://127.0.0.1:30010'" Enter
-tmux split-window -h -t karyons_p2p
-tmux send-keys -t karyons_p2p "../../target/release/examples/peer\
+tmux split-window -h -t karyon_p2p
+tmux send-keys -t karyon_p2p "../../target/release/examples/peer\
-l 'tcp://127.0.0.1:30005' -d '30015' -b 'tcp://127.0.0.1:30010'" Enter
tmux select-layout even-horizontal
sleep 3;
-tmux select-pane -t karyons_p2p:0.0
+tmux select-pane -t karyon_p2p:0.0
-tmux split-window -v -t karyons_p2p
-tmux send-keys -t karyons_p2p "../../target/release/examples/peer\
+tmux split-window -v -t karyon_p2p
+tmux send-keys -t karyon_p2p "../../target/release/examples/peer\
-b 'tcp://127.0.0.1:30010' -b 'tcp://127.0.0.1:30011'" Enter
-tmux select-pane -t karyons_p2p:0.2
+tmux select-pane -t karyon_p2p:0.2
-tmux split-window -v -t karyons_p2p
-tmux send-keys -t karyons_p2p "../../target/release/examples/peer\
+tmux split-window -v -t karyon_p2p
+tmux send-keys -t karyon_p2p "../../target/release/examples/peer\
-b 'tcp://127.0.0.1:30010' -b 'tcp://127.0.0.1:30012' -p 'tcp://127.0.0.1:30005'" Enter
-tmux select-pane -t karyons_p2p:0.4
+tmux select-pane -t karyon_p2p:0.4
-tmux split-window -v -t karyons_p2p
-tmux send-keys -t karyons_p2p "../../target/release/examples/peer\
+tmux split-window -v -t karyon_p2p
+tmux send-keys -t karyon_p2p "../../target/release/examples/peer\
-b 'tcp://127.0.0.1:30010' -b 'tcp://127.0.0.1:30013'" Enter
-tmux select-pane -t karyons_p2p:0.6
+tmux select-pane -t karyon_p2p:0.6
-tmux split-window -v -t karyons_p2p
-tmux send-keys -t karyons_p2p "../../target/release/examples/peer\
+tmux split-window -v -t karyon_p2p
+tmux send-keys -t karyon_p2p "../../target/release/examples/peer\
-b 'tcp://127.0.0.1:30010' -b 'tcp://127.0.0.1:30014'" Enter
-tmux select-pane -t karyons_p2p:0.8
+tmux select-pane -t karyon_p2p:0.8
-tmux split-window -v -t karyons_p2p
-tmux send-keys -t karyons_p2p "../../target/release/examples/peer\
+tmux split-window -v -t karyon_p2p
+tmux send-keys -t karyon_p2p "../../target/release/examples/peer\
-b 'tcp://127.0.0.1:30010' -b 'tcp://127.0.0.1:30015'" Enter
-tmux select-pane -t karyons_p2p:0.10
+tmux select-pane -t karyon_p2p:0.10
-tmux split-window -v -t karyons_p2p
-tmux send-keys -t karyons_p2p "../../target/release/examples/peer\
+tmux split-window -v -t karyon_p2p
+tmux send-keys -t karyon_p2p "../../target/release/examples/peer\
-b 'tcp://127.0.0.1:30010' -b 'tcp://127.0.0.1:30015' -b 'tcp://127.0.0.1:30011'" Enter
-# tmux set-window-option -t karyons_p2p synchronize-panes on
+# tmux set-window-option -t karyon_p2p synchronize-panes on
-tmux attach -t karyons_p2p
+tmux attach -t karyon_p2p