Fix simulation script
This commit is contained in:
parent
258040305b
commit
851cf96627
2 changed files with 8 additions and 7 deletions
|
@ -7,12 +7,12 @@ echo "Note that this simulation will not work if connected to external nodes."
|
|||
# Make sure to point the full node in config/config.yaml to the local introducer: 127.0.0.1:8445.
|
||||
# Please note that the simulation is meant to be run locally and not connected to external nodes.
|
||||
|
||||
_run_bg_cmd python -m src.server.start_harvester
|
||||
_run_bg_cmd python -m src.server.start_timelord
|
||||
_run_bg_cmd python -m src.timelord_launcher
|
||||
_run_bg_cmd python -m src.server.start_farmer
|
||||
_run_bg_cmd python -m src.server.start_introducer
|
||||
_run_bg_cmd python -m src.server.start_full_node --port=8444 --database_path="simulation_1.db" --connect_to_farmer=True --connect_to_timelord=True --rpc_port=8555 --introducer_peer.host="127.0.0.1" --introducer_peer.port=8445
|
||||
_run_bg_cmd python -m src.server.start_full_node --port=8002 --database_path="simulation_2.db" --rpc_port=8556 --introducer_peer.host="127.0.0.1" --introducer_peer.port=8445
|
||||
_run_bg_cmd python -m src.server.start_harvester --logging.log_stdout=True
|
||||
_run_bg_cmd python -m src.server.start_timelord --logging.log_stdout=True
|
||||
_run_bg_cmd python -m src.timelord_launcher --logging.log_stdout=True
|
||||
_run_bg_cmd python -m src.server.start_farmer --logging.log_stdout=True
|
||||
_run_bg_cmd python -m src.server.start_introducer --logging.log_stdout=True
|
||||
_run_bg_cmd python -m src.server.start_full_node --port=8444 --database_path="simulation_1.db" --connect_to_farmer=True --connect_to_timelord=True --rpc_port=8555 --introducer_peer.host="127.0.0.1" --introducer_peer.port=8445 --logging.log_stdout=True
|
||||
_run_bg_cmd python -m src.server.start_full_node --port=8002 --database_path="simulation_2.db" --rpc_port=8556 --introducer_peer.host="127.0.0.1" --introducer_peer.port=8445 --logging.log_stdout=True
|
||||
|
||||
wait
|
1
setup.py
1
setup.py
|
@ -62,6 +62,7 @@ kwargs = dict(
|
|||
],
|
||||
scripts=[
|
||||
"scripts/_chia-common",
|
||||
"scripts/_chia-stop-wallet",
|
||||
"scripts/chia-drop-db",
|
||||
"scripts/chia-start-all",
|
||||
"scripts/chia-start-farmer",
|
||||
|
|
Loading…
Reference in a new issue