Setting up Slave Nodes
The Slave nodes are responsible for fetching benchmark batches from a Master node, running them, and returning the results.
Setting up
Clone the TIG Monorepo:
git clone https://github.com/tig-foundation/tig-monorepo.git
Switch to the appropriate branch based on the network you want to benchmark on:
git switch test/main
## OR
git switch test/blank_slate
Navigate to the tig-monorepo/tig-benchmarker
directory:
cd tig-monorepo/tig-benchmarker
For the next steps, you will need to have docker
and docker-compose
installed on your machine.
Starting a Slave node
Start a Slave node using docker-compose
:
docker-compose -f slave.yml up slave satisfiability vehicle_routing knapsack
ℹ️
docker-compose
uses the .env
file. For Slave nodes running on a different server to the Master node you will need to edit the MASTER_IP
. See Advanced Tips
There is currently no UI for Slave nodes, but you can visit the Master node UI on http://localhost:80 to view your benchmarks:
Next Steps
- Top-up your fee balance
- Increase your earnings from benchmarking: