Skip to content

Commit a8faae2

Browse files
authored
Merge pull request #4 from RedTeamSubnet/dev
Updating the reveal interval
2 parents 0c1d524 + 4d9a5a1 commit a8faae2

2 files changed

Lines changed: 5 additions & 1 deletion

File tree

requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
requests>=2.32.0,<3.0.0
2-
redteam_core @ git+https://github.com/RedTeamSubnet/RedTeam.git@v4.2.0
2+
redteam_core @ git+https://github.com/RedTeamSubnet/RedTeam.git@v4.3.0

src/miner/_core.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,11 @@ def blacklist(self, synapse: Commit) -> Tuple[bool, str]:
3333
hotkey = synapse.dendrite.hotkey
3434
uid = self.metagraph.hotkeys.index(hotkey)
3535
stake = self.metagraph.S[uid]
36+
bt.logging.info(f"Validator with the hotkey {hotkey} is querying your node")
3637
if stake < self.config.MIN_VALIDATOR_STAKE:
38+
bt.logging.warning(
39+
f"Validator with the hotkey {hotkey} has been blacklisted"
40+
)
3741
return True, "Not enough stake"
3842
return False, "Passed"
3943

0 commit comments

Comments
 (0)