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.bosminer import BOSMiner
class BOSMinerS19j(BOSMiner):
def __init__(self, ip: str) -> None:
super().__init__(ip)
self.api_type = "BOSMiner"
self.model = "S19j"
self.nominal_chips = 114
def __repr__(self) -> str:
return f"BOSMinerS19j: {str(self.ip)}"