chia-blockchain/scripts/run_all_simulation.sh

15 lines
558 B
Bash
Raw Normal View History

2019-11-04 11:27:58 +03:00
. .venv/bin/activate
. scripts/common.sh
2019-11-04 11:27:58 +03:00
# Starts a harvester, farmer, timelord, introducer, and 3 full nodes.
2019-11-04 11:27:58 +03:00
_run_bg_cmd python -m src.server.start_harvester
_run_bg_cmd python -m src.server.start_timelord
_run_bg_cmd python -m src.server.start_farmer
2019-11-27 03:55:23 +03:00
_run_bg_cmd python -m src.server.start_introducer
_run_bg_cmd python -m src.server.start_full_node "127.0.0.1" 8444 -id 1 -f -t -u 8222
_run_bg_cmd python -m src.server.start_full_node "127.0.0.1" 8002 -id 2 -u 8223
_run_bg_cmd python -m src.server.start_full_node "127.0.0.1" 8005 -id 3 -u 8224
2019-11-04 11:27:58 +03:00
wait