Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Auto-update validators #63

Open
wants to merge 6 commits into
base: main
Choose a base branch
from
Open

Auto-update validators #63

wants to merge 6 commits into from

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.

2 participants