Files
chia-blockchain/scripts/run_all_simulation.sh
T
Mariano SorgenteandGitHub 49e4629935 Sqlite, RPC server, and other changes (#68)
* Switches to sqlite and remove all mongo stuff
* Starts RPC server on port 8555
* UI is in new process, communicates to node through rpc
* JSON serialization for streamables
* Harvester periodically prints its plot names and sizes
* Process names are set to chia_full node, chia_harvester, etc
* CONTRIBUTING.md, and remove docs from git (put in wiki)
* Adds the SmallHeaderBlock type, it's header block without the PoT and PoSpace
* Fix harvester bug (allows two harvesters in the same machine)
2020-01-13 22:19:53 +09:00

20 lines
1014 B
Bash
Executable File

. .venv/bin/activate
. scripts/common.sh
echo "Starting local blockchain simulation. Make sure full node is configured to point to the local introducer (127.0.0.1:8445) in config/config.py."
echo "Note that this simulation will not work if connected to external nodes."
# Starts a harvester, farmer, timelord, introducer, and 3 full nodes, locally.
# 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.server.start_farmer
_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 -r 8555
_run_bg_cmd python -m src.server.start_full_node "127.0.0.1" 8002 -id 2 -r 8556
_run_bg_cmd python -m src.ui.start_ui 8222 -r 8555
_run_bg_cmd python -m src.ui.start_ui 8223 -r 8556
wait