Skip to content

Commit

Permalink
Merge pull request #42 from coinmetrics/hotfix-external-port
Browse files Browse the repository at this point in the history
Hotfix external port
  • Loading branch information
hscott-yuma authored Jan 9, 2025
2 parents 55b4125 + f51e092 commit 4923a05
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 18 deletions.
7 changes: 4 additions & 3 deletions .env.miner.example
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# Network Configuration
NETWORK=localnet # Options: localnet, testnet, finney
# Options: localnet, testnet, finney
NETWORK=testnet

# Wallet Configuration
COLDKEY=miner
Expand All @@ -9,11 +10,11 @@ MINER_HOTKEY=default
MINER_NAME=miner
MINER_PORT=8092


# Miner Settings
TIMEOUT=16
VPERMIT_TAO_LIMIT=2
FORWARD_FUNCTION=base_miner

# Logging
LOGGING_LEVEL=info # Options: info, debug, trace
# Options: info, debug, trace
LOGGING_LEVEL=debug
7 changes: 4 additions & 3 deletions .env.validator.example
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# Network Configuration
NETWORK=testnet # Options: localnet, testnet, finney
# Options: localnet, testnet, finney
NETWORK=testnet

# Wallet Configuration
COLDKEY=validator
Expand All @@ -9,6 +10,6 @@ VALIDATOR_HOTKEY=default
VALIDATOR_NAME=validator
VALIDATOR_PORT=8091


# Logging
LOGGING_LEVEL=info # Options: info, debug, trace
# Options: info, debug, trace
LOGGING_LEVEL=debug
11 changes: 0 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,17 +71,6 @@ poetry install
## Configuration

### Makefile
Start by editing the Makefile with your wallet and network information:
```
################################################################################
# User Parameters #
################################################################################
coldkey = default
validator_hotkey = validator
miner_hotkey = miner
netuid = $(testnet_netuid)
network = $(testnet)
```

### .env Files
Copy the example `.env` files and edit all desired values:
Expand Down
2 changes: 1 addition & 1 deletion precog/utils/bittensor.py
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ def print_info(self) -> None:
f"VTrust:{self.metagraph.Tv[self.my_uid]:.3f} | "
f"Dividend:{self.metagraph.D[self.my_uid]:.3f} | "
f"Emission:{self.metagraph.E[self.my_uid]:.3f} | "
f"Seting weights in {weight_timing} blocks"
f"Setting weights in {weight_timing} blocks"
)
elif self.config.neuron.type == "Miner":
log = (
Expand Down

0 comments on commit 4923a05

Please sign in to comment.