Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/miner_guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -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: `[]`

Expand Down
10 changes: 5 additions & 5 deletions miner.config.js
Original file line number Diff line number Diff line change
@@ -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: ".",
},
},
],
Expand Down
10 changes: 5 additions & 5 deletions miner.dev.config.js
Original file line number Diff line number Diff line change
@@ -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: ".",
},
},
],
Expand Down
10 changes: 5 additions & 5 deletions miner.test.config.js
Original file line number Diff line number Diff line change
@@ -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: ".",
},
},
],
Expand Down
2 changes: 1 addition & 1 deletion neurons/miner.py
Original file line number Diff line number Diff line change
Expand Up @@ -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}"
)

Expand Down
10 changes: 5 additions & 5 deletions validator.dev.config.js
Original file line number Diff line number Diff line change
@@ -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: ".",
},
},
],
Expand Down
10 changes: 5 additions & 5 deletions validator.test.config.js
Original file line number Diff line number Diff line change
@@ -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: ".",
},
},
],
Expand Down