diff --git a/docs/miner_guide.md b/docs/miner_guide.md index 4e663b9d..098059f2 100644 --- a/docs/miner_guide.md +++ b/docs/miner_guide.md @@ -236,7 +236,7 @@ pm2 start miner.config.js -- --blacklist.validator_min_stake 1000 #### `--blacklist.validator_exceptions INTEGER INTEGER INTEGER ...` -List of validator exceptions (e.g., --blacklist.validator_exceptions 0 1 8 17 34 49 53 38). +Optional list of validator exceptions (e.g., --blacklist.validator_exceptions 0 1 8 17 34 49 53 38). Default: `[]` diff --git a/miner.config.js b/miner.config.js index 1092b50e..afef477d 100644 --- a/miner.config.js +++ b/miner.config.js @@ -1,12 +1,12 @@ module.exports = { apps: [ { - name: 'miner', - interpreter: 'python3', - script: './neurons/miner.py', - args: '--netuid 50 --logging.debug --logging.trace --wallet.name miner --wallet.hotkey default --axon.port 8091 --blacklist.force_validator_permit true --blacklist.validator_min_stake 1000 --blacklist.validator_exceptions 0 1 8 17 34 49 53 38', + name: "miner", + interpreter: "python3", + script: "./neurons/miner.py", + args: "--netuid 50 --logging.debug --logging.trace --wallet.name miner --wallet.hotkey default --axon.port 8091 --blacklist.force_validator_permit true --blacklist.validator_min_stake 1000", env: { - PYTHONPATH: '.' + PYTHONPATH: ".", }, }, ], diff --git a/miner.dev.config.js b/miner.dev.config.js index 7568e33a..3e81a459 100644 --- a/miner.dev.config.js +++ b/miner.dev.config.js @@ -1,12 +1,12 @@ module.exports = { apps: [ { - name: 'miner-dev', - interpreter: 'python3', - script: './neurons/miner.py', - args: '--netuid 1 --logging.debug --logging.trace --subtensor.chain_endpoint ws://127.0.0.1:9946 --wallet.name miner --wallet.hotkey default --axon.port 8091', + name: "miner-dev", + interpreter: "python3", + script: "./neurons/miner.py", + args: "--netuid 1 --logging.debug --logging.trace --subtensor.chain_endpoint ws://127.0.0.1:9946 --wallet.name miner --wallet.hotkey default --axon.port 8091", env: { - PYTHONPATH: '.' + PYTHONPATH: ".", }, }, ], diff --git a/miner.test.config.js b/miner.test.config.js index 33d242ec..9f44ebbe 100644 --- a/miner.test.config.js +++ b/miner.test.config.js @@ -1,12 +1,12 @@ module.exports = { apps: [ { - name: 'miner', - interpreter: 'python3', - script: './neurons/miner.py', - args: '--netuid 247 --logging.debug --logging.trace --subtensor.network test --wallet.name miner --wallet.hotkey default --axon.port 8091 --blacklist.validator.min_stake 0', + name: "miner", + interpreter: "python3", + script: "./neurons/miner.py", + args: "--netuid 247 --logging.debug --logging.trace --subtensor.network test --wallet.name miner --wallet.hotkey default --axon.port 8091 --blacklist.validator.min_stake 0", env: { - PYTHONPATH: '.' + PYTHONPATH: ".", }, }, ], diff --git a/neurons/miner.py b/neurons/miner.py index 71b0b403..9ffc9d19 100644 --- a/neurons/miner.py +++ b/neurons/miner.py @@ -121,7 +121,7 @@ async def blacklist(self, synapse: Simulation) -> typing.Tuple[bool, str]: uid = self.metagraph.hotkeys.index(synapse.dendrite.hotkey) stake = self.metagraph.S[uid] bt.logging.info(f"Requesting UID: {uid} | Stake at UID: {stake}") - bt.logging.info( + bt.logging.debug( f"Whitelisted validators: {self.config.blacklist.validator_exceptions}" ) diff --git a/validator.dev.config.js b/validator.dev.config.js index 392bb1e9..2f0ca3b9 100644 --- a/validator.dev.config.js +++ b/validator.dev.config.js @@ -1,12 +1,12 @@ module.exports = { apps: [ { - name: 'validator-dev', - interpreter: 'python3', - script: './neurons/validator.py', - args: '--netuid 1 --logging.debug --logging.trace --subtensor.chain_endpoint ws://127.0.0.1:9946 --wallet.name validator --wallet.hotkey default --neuron.axon_off true', + name: "validator-dev", + interpreter: "python3", + script: "./neurons/validator.py", + args: "--netuid 1 --logging.debug --logging.trace --subtensor.chain_endpoint ws://127.0.0.1:9946 --wallet.name validator --wallet.hotkey default --neuron.axon_off true", env: { - PYTHONPATH: '.', + PYTHONPATH: ".", }, }, ], diff --git a/validator.test.config.js b/validator.test.config.js index 2f06be47..3669484e 100644 --- a/validator.test.config.js +++ b/validator.test.config.js @@ -1,12 +1,12 @@ module.exports = { apps: [ { - name: 'validator', - interpreter: 'python3', - script: './neurons/validator.py', - args: '--netuid 247 --logging.debug --logging.trace --subtensor.network test --wallet.name validator --wallet.hotkey default --neuron.axon_off true --ewma.half_life_days 1.0 --ewma.cutoff_days 2', + name: "validator", + interpreter: "python3", + script: "./neurons/validator.py", + args: "--netuid 247 --logging.debug --logging.trace --subtensor.network test --wallet.name validator --wallet.hotkey default --neuron.axon_off true --ewma.half_life_days 5 --ewma.cutoff_days 10 --softmax.beta -0.1", env: { - PYTHONPATH: '.', + PYTHONPATH: ".", }, }, ],