mirror of
https://github.com/Chia-Network/chia-blockchain.git
synced 2026-09-09 10:05:15 -05:00
* 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)
20 lines
1014 B
Bash
Executable File
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 |