Skip to content

Conversation

@crazydevlegend
Copy link
Member

@crazydevlegend crazydevlegend commented Feb 20, 2024

Automatically update and restart the validator process when a new version is released.

Usage:
start_validator.py [-h] --pm2_name PM2_NAME --wallet_name WALLET_NAME --wallet_hotkey WALLET_HOTKEY [--subtensor_chain_endpoint SUBTENSOR_CHAIN_ENDPOINT] [--subtensor_network SUBTENSOR_NETWORK] [--netuid NETUID] [--axon_port AXON_PORT]

Options:

  • --pm2_name PM2_NAME Name of the PM2 process.
  • --wallet_name WALLET_NAME
    Name of the wallet.
  • --wallet_hotkey WALLET_HOTKEY
    Hotkey for the wallet.
  • --subtensor_chain_endpoint SUBTENSOR_CHAIN_ENDPOINT
    Subtensor chain_endpoint, defaults to 'wss://bittensor-finney.api.onfinality.io/public-ws' if not provided.
  • --subtensor_network SUBTENSOR_NETWORK
    Network type, defaults to 'local' if not provided.
  • --netuid NETUID Subnet uid, defaults to 24 if not provided.
  • --axon_port AXON_PORT
    Axon port, defaults to 8091 if not provided.

@crazydevlegend crazydevlegend changed the title implemented auto-update feature for validators Auto-update validators Feb 20, 2024
Copy link
Contributor

@devderatta devderatta left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, nicely done.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants