Tips & Tricks
Additional Tips
Welcome to the Additional Tips section! Whether you're a seasoned farmer or just starting out with the Subspace Network, these tips and tricks are designed to enhance your experience and efficiency. Here, we delve into practical advice and lesser-known techniques to help you fine-tune your farming setup and navigate common challenges with ease. From configuring your environment to managing background processes, these insights are tailored to ensure your Farmer operates smoothly and effectively. Let's dive in and explore how you can get the most out of your Subspace Network Farmer.
Telemetry & Block Explorer
Explore the Subspace Network in depth with our variety of telemetry tools and block explorers. Whether you're monitoring network activity or exploring blockchain data, these resources provide comprehensive insights into the network's performance and transactions.
Telemetry Server: Get real-time insights into network activity and performance metrics. Ideal for monitoring the overall health and status of the Subspace Network.
Official Block Explorer: Our primary tool for viewing blocks, transactions, and network activity on the Subspace Network. This explorer offers an intuitive interface and detailed information.
Subscan Block Explorer: An alternative block explorer providing detailed views of blocks, transactions, and network events. Subscan is known for its user-friendly interface and additional data analytics features.
Polkadot.js Block Explorer: For users familiar with the Polkadot ecosystem, this explorer offers a seamless experience for exploring the Subspace Network using the Polkadot.js interface.
Using a Custom Path
You can set a custom path for your node & farmer to use if you want to use an external hard drive, or set a custom path from the default. You can set the node and farmer to different directories if you would like.
Set Node Custom Path.
To set your node to use a custom path all you will need to do is add the --base-path
parameter.
# start node and store data in `NODE_DATA_PATH` instead of default location
./NODE_FILE_NAME --base-path NODE_DATA_PATH --chain gemini-3g ...`
Switching to a new snapshot from older/different versions of Subspace
Unless specifically mentioned by the Development team you should NOT have to wipe & purge your configuration on new releases.
In general you should be able to download the latest release, and re-start the Node & Farmer with the same commands as you started to prior version with no errors.
There are some cases where version updates will cause issue with your Node & Farmer and you may have to wipe & purge your node, typically when errors occur. If you have any issues you can always check our Forums and hop in our Discord Server to ask for help.
Help
There are extra commands and parameters you can use on farmer or node, use the --help
after any other command to display additional options.
# Replace `FARMER_FILE_NAME` with the name of the node file you downloaded from releases
./FARMER_FILE_NAME farm --help
Timekeepers
Gemini-3g introduces Proof-of-Time and a new, optional role has been added to the node. Timekeepers help run PoT to ensure the security of the network. Timekeeping requires a high-performance core CPU but can be undertaken by any node runner. You can enable timekeeping with the following commands.
--timekeeper
: To enable timekeeping on the node--timekeeper-cpu-cores
: To specify which cores the Timekeeper will run on.
Read more about Timekeepers
Node & Farmer Commands Guide
Both the node and the farmer have a variety of flags and parameters. To see a full list, append the --help
flag to either the node or the farmer command.
Common Command Examples
Please note that as of Gemini-3g
farming no longer occurs while plotting. This is to ensure the plotting process occurs in the most efficient manner. You can change this by adding the --farm-during-initial-plotting
flag to the farmer.
For both the node and the farmer, here are some frequently used commands:
- Display farm information:
./FARMER_FILE_NAME info PATH_TO_FARM
- Scrub the farm for errors:
./FARMER_FILE_NAME scrub PATH_TO_FARM
- Erase all farmer-related data:
./FARMER_FILE_NAME wipe PATH_TO_FARM
- Start the node with a custom data path:
./NODE_FILE_NAME --base-path NODE_DATA_PATH --chain gemini-3g
- Erase all node-related data:
./NODE_FILE_NAME purge-chain --base-path NODE_DATA_PATH --chain gemini-3g
Utilizing Multiple Disks
To maximize storage capabilities, you can engage multiple disks directly. This is often more efficient than relying on RAID configurations:
Example:
./FARMER_FILE_NAME farm --reward-address WALLET_ADDRESS \
path=/media/ssd1,size=100GiB \
path=/media/ssd2,size=10T \
path=/media/ssd3,size=10T
Optimizing DSN Syncing
While it might be tempting to adjust certain parameters that seem related to DSN Syncing, it's advised to be cautious. Some options will not enhance syncing and are best left at their default values:
--out-peers
--in-peers
--in-peers-light
--dsn-target-connections
--dsn-pending-in-connections
--dsn-in-connections
Recommended Parameters
The default parameters are set with the capabilities of common consumer modem/routers in mind. Adjusting certain parameters could enhance DSN sync performance by increasing parallelism. However, if you decide to increase them significantly, ensure that your modem/router is performant enough to handle the increased traffic.
Node:
--dsn-out-connections
--dsn-pending-out-connections
Farmer: Increasing the values of the farmer parameters could increase the plotting speed.
--out-connections
--pending-out-connections