Overview
Your validator receives trade signals from miners and maintains a portfolio per miner with all their positions on disk in the validation/miners
directory.
Your validator will track portfolio returns using live price information. If a portfolio’s value declines beyond the drawdown limits, the validator will eliminate that miner. Based on portfolio metrics such as omega score and return, weights get set to reward the best miners. Your validator will look to set weights every 5 minutes.
Validators detect & eliminate any sort of miner copying from the network. It does this by performing an analysis on every order received. If a miner is detected to be plagiarising off another miner, they will be eliminated from the network. The information on plagiarising miners is held in validation/miner_copying.json
.
When a miner is eliminated due to exceeding drawdown limits, or being caught plagiarising they will end up in the validation/eliminations.json
file. Only registered non-eliminated miners can be given weights. Once eliminated, a miner can no longer send requests to validators until they are deregistered by the network and then re-register.
This tutorial shows how to run a PTN Validator.
IMPORTANT
Before attempting to register on mainnet, we strongly recommend that you run a validator on the testnet. To do ensure you add the appropriate testnet flags.
Environment | Netuid |
---|---|
Mainnet | 8 |
Testnet | 116 |
Your incentive mechanisms running on the mainnet are open to anyone. They emit real TAO. Creating these mechanisms incur a lock_cost in TAO.
DANGER
- Do not expose your private keys.
- Only use your testnet wallet.
- Do not reuse the password of your mainnet wallet.
- Make sure your incentive mechanism is resistant to abuse.