changed the way antminers and whatsminers are handled in the factory to allow for more precision on chip counts

This commit is contained in:
UpstreamData
2022-05-12 16:42:02 -06:00
parent 9d0d1a24d9
commit 06540efc98
81 changed files with 699 additions and 156 deletions

View File

@@ -0,0 +1,12 @@
from miners.bmminer import BMMiner
class BMMinerT17e(BMMiner):
def __init__(self, ip: str) -> None:
super().__init__(ip)
self.api_type = "BMMiner"
self.model = "T17e"
self.nominal_chips = 65
def __repr__(self) -> str:
return f"BMMinerT17e: {str(self.ip)}"